Requirement


(1) SOAP to SOAP synchronous call .

(2) Simultaneously, Sender SOAP request call needs to be written to an FTP server (flat file). There will be no response in this case.



Solution

  • (1) FLOW DIAGRAM

flow diagram.GIF

  • (1) DESCRIPTION of FLOW1

          SOAP to SOAP synchronous call will be made . In the request message mapping, a SOAP lookup will be made to call pass the Request message           to the 2nd FLOW

  • (2) DESCRIPTION of FLOW2

          Once the request message is received from FLOW1 , corresponding mapping will be executed and a flat file will be created.

Overview

As part of POC, I have used CurrencyConverter WSDL that is available online.

Following are the ESR objects we will create

  • – Import the WSDL
  • – Request Message Mapping for Flow 1 as shown below

MM.GIF

UDF for SOAP lookup will be as shown below

udf.GIF

error.GIF

     For SOAP Lookup add the parameters as show below


param map.GIF


     For SOAP lookup, configure a separate receiver SOAP channel that will call the SOAP sender channel of the 2nd Flow. Following are the details for the           same.

  

     Target URL format: http://hostaddress:port/XISOAPAdapter/MessageServlet?channel=:BusinessComponent:Senderchannelname

soap channel.GIF

  • – For Flow 1 , define following interfaces

Inf1.GIF

Inf2.GIF

  • – For Flow 2, define the following interfaces

Inf3.GIF

Inf4.GIF

  • – Flow 1: operation mapping will contain the Request mapping defined above . Response mapping is not done as the same response will be sent back .
  • – Flow 2:operation mapping will contain mapping between  SOAPreq and File messagetypes (direct one to one mapping)

Go ahead and configure the iflows/ICO objects

                Note: Please do not check No-SOAP envelope in Sender SOAP channel of the 2nd Flow




To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Arkesh Sharma

    Thank You Vinay for sharing a great blog !

    You have simplified a complex scenario by making it work without BPM.

    Please keep posting such blogs in the future.

    (0) 

Leave a Reply