This is a scenario to use SOAPUI tool to trigger web service via sender SOAP adapter, then convert to output file via receiver file adapter.
Create graphical iFlow view:
soap2file-iflow-graphical
iFlow = IF_SOAP2FILE_MAPPING
Sender system = BC_SOAP_A
Receiver system = BC_B
Sender service interface = SI_4COL_OUT
Receiver service interface = SI_4COL_IN
Sender channel = IF_SOAP2FILE_MAPPING_SND_SOAP_A
soap2file-sender-soap-general
soap2file-sender-soap-adapter-specific
Operation Mapping = OM_4COL_TO_4COL
soap2file-om
Message Mapping = MM_4COL_TO_4COL
soap2file-mm
Receiver channel = IF_SOAP2FILE_MAPPING_RCV_FILE_B
soap2file-receiver-file-general
soap2file-receiver-file-adapter-specific-target
soap2file-receiver-file-adapter-specific-processing
soap2file-receiver-file-adapter-specific-content-conversion
Activate and deploy iFlow, ICO will automatically generated.
soap2file-cc-rcv-01
soap2file-cc-rcv-02
soap2file-cc-rcv-03
soap2file-cc-rcv-04
soap2file-cc-rcv-05
Create WDSL web service file from integration directory.
soap2file-id-generate-wsdl-menu
Do not use Propose URL, use below url template.
Template = http://<hostname>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel>
Actual = http://w08r2x64po:50000/XISOAPAdapter/MessageServlet?channel=:BC_SOAP_A:IF_SOAP2FILE_MAPPING_SND_SOAP_A
soap2file-id-generate-wsdl-url
select sender interface
soap2file-id-generate-wsdl-interface
select sender system
soap2file-id-generate-wsdl-sender-system
Overview before generate wsdl file. Click finish.
soap2file-id-generate-wsdl-overview
wsdl file generated. Save to local workstation. File name = “SI_4COL_OUT.wsdl”
soap2file-id-generate-wsdl-save
WDSL file:
soap2file-id-wsdl-01
soap2file-id-wsdl-02
Download and install SOAPUI tool. Create new SOAP project..
soap2file-soapui-new-project
Enter project name SOAP2FILE and browse to wsdl file
soap2file-soapui-input-wsdl
Click “Request 1”. Enter Username and password. Enter value W, X, Y, Z at source message MT_4COL. Finally click “Play” button. right-side windows will return an empty soap envelop.
soap2file-soapui-new-request
Congrat! Now successful triggered web service call using SOAPUI, and output file were created.
soap2file-soapui-output-file
Message monitoring
soap2file-message-monitoring-01
Message Log and Message payload
soap2file-message-monitoring-02
加油!!!

SOAP Adapter – SOAP2FILE using SOAPUI, NWDS, iFlow and ICO
Tagged on:                         

3 thoughts on “SOAP Adapter – SOAP2FILE using SOAPUI, NWDS, iFlow and ICO

  • Pingback:Enterprise Integration Patterns – Stateless – Content-Based Router | SAP Rainbow

  • March 14, 2019 at 6:36 am
    Permalink

    Hi Buddy,

    Great document, followed the steps, but I’m getting the following error in the logs and the message cancells automatically, but it creates the file, which is weird :s

    Logs as follows:

    3/13/2019 10:27:10.294 PM Information File Adapter Receiver Channel IF_SOAP2FILE_SOAPUI_TESTONLY_CC_RCV_FILE_B: Start processing; party ” ” / service “BC_FILE_RCV”
    3/13/2019 10:27:10.295 PM Information Write to file “E:\usr\sap\DP5\EAI\SOAPInbound\SOAP_20190313-222710-294.txt” as binary, size 191 bytes
    3/13/2019 10:27:10.298 PM Information Start converting XML document content to plain text
    3/13/2019 10:27:10.299 PM Information File processing finished
    3/13/2019 10:27:10.313 PM Error Transmitting the message using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message dbe6bda0-930e-4dbc-3a61-d30b63bc465

    Reply
  • March 14, 2019 at 7:32 am
    Permalink

    Fixed man, it was the operation!. thanks for this extremely useful!

    Reply

Leave a Reply

Your email address will not be published.