Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10498

Re: Consuming web service in PI 7.3 and creating file

$
0
0

I need to consume web service in PI 7.3 and create file from response. I have WSDL for the web service. Now confused about datatype/message type. Is there any document/note to follow?

 

==>

 

Hi,

 

There are 2 ways you can do this :-

 

If your sender is a file and receiver is a webservice and you want to map the response back to the file then :-

 

Sol 1 :- Async-Sync Bridge using RequesResponse Oneway bean

 

Sender File channel ---> Soap Receiver Channel

Soap Receiver Channel brings the response back to the File Receiver Channel.

Now this File Receiver Channel should be called inside the Sender File Channel using the above bean.

Data Type :

Src - File struc to SOAP request (mapping 1)

SOAP response to Tgt File Struc (mapping 2)

 

 

Sol 2 :- Async Scenario

 

Make a Sender File Channel --> use SOAP lookup channel (pass the request payload through the SOAP receiver channel) --> Map the response back to the File using File Receiver Channel.

 

Data Type:

Src - File struc to Tgt File Struc (mapping 1). Since you are passing the request payload through SOAP lookup in the UDF itself.

======================================================================


Viewing all articles
Browse latest Browse all 10498


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>