cancel
Showing results for 
Search instead for 
Did you mean: 

File to SOAP Scenario.

Former Member
0 Kudos

I Have a scenario where I need to pick up an xml file from legacy system (File Adapetr-Sender) and Send it to the WebService (SOAP-Receiver) Adapter get the Response back and write it again to File System. Any idea on Design, Structure of BPM, Configuration will be appreciated.

Thank you.

-Adrean.

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Adrean,

As Satish pointed out, its the good blog that ur scenario deals with , If you have any queries designing the scenario , reply back to us.

Also, Keep the blog for troubleshooting SOAP receiver scenario

/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi

You have to concentrate on the <b>text/xml</b> module conversion.

Best regards,

raj.

Message was edited by:

Raj

Former Member
0 Kudos

Hi Stish and Raj,

Scenario looks very helpful. Is there any other suggestion as in what other things I can do with Response back from webservice like can I I send the response to email? Also My sender file adapter picks up xml file and converts it in to another xml file and sends to Web service so at target do I i need any specific format as I will be using SOAP Receiver adapter? What abt namespace entry and all as I have impotrted external defination in to Repository for receiver side of message.

justin_santhanam
Active Contributor
0 Kudos

Adrean,

Yes its possible , instead of sending to receiver file system you can send to Mail.

You have to know whats the response format , so that you can create the response message type.

Adrean, If you don't know the response messasge type, u can create dummy intefaces and find out the actual response and create accordingly. The below blog will help u /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response

He got the response back frm JDBC , u can get it from web service. All the documents linked over here are more than sufficient. If u have any further doubts, do reply back.

Best regards,

raj.

Message was edited by:

Raj

Former Member
0 Kudos

Hart,

Yes you can even send as an email also. For sending emails just map the response from your webservice to the mail message type. Then it will send mail to the mail address specified.

For configuraiton of mail adapter check this weblogs:

/people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

/people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

---Satish

Former Member
0 Kudos

Thank you guys. I am closing the thread right now but as along I go I may need more help and I will open the thread again.

Thank you again.

-Adrean.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hart,

File adapter doesnot support synchronous calls. But with the help of BPM you can achieve it. Check this weblog:

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

Here in the weblog he has given example with RFC. But in your scenario instead of RFC you will be using your webservice.

---Satish