cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice to File Scenario

former_member393841
Participant
0 Kudos

Hi Guys,

Could any one tell me in how many ways we can do Webservice to file scenario in SAP PI.

Our requirement is to develop a scenario WEBSERVICE to FILE with out using WSDL FILE.

thanks

Harsha

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

If you know the strcture of Sender system req then create data type manually and develop your interface,you dont required any XSD or WSDL from sender system.

refer below blog.

former_member393841
Participant
0 Kudos

Hi Raj,

Thank you very much fore your quick updates.

Could you please elaborate it so it would be more helpful t to us.

Thanks,

Harsha

Former Member
0 Kudos

step by step :

Create 2 data types one is Webservise(SENDER) and second one is file(RECEIVER)

Create 2 message types one is Webservise and second one is file

Create 2 Servise interfases one is Webservise and second one is file

create 1 operation mapping and 1 message mapping

configuration objects:

create 1 soap sender communication channel for Sender and cretae Agreement

Cretae 1 file receiver adapter for Receiver and cretae Agreement

create Receiver and interface determinations .

create WSDL File in sender Agreement / from TOOLS -> Display WSDl then this wsdl file it ll give to client.

Note: dont need WSDL file from Sender Side .

former_member393841
Participant
0 Kudos

Hi Bhavani Shankar,

Thank you very much for your suggestions,

Create 2 data types one is Webservise(SENDER) and second one is file(RECEIVER)

Create 2 message types one is Webservise and second one is file

Create 2 Servise interfases one is Webservise and second one is file

create 1 operation mapping and 1 message mapping

configuration objects:

create 1 soap sender communication channel for Sender and cretae Agreement

Cretae 1 file receiver adapter for Receiver and cretae Agreement

create Receiver and interface determinations .

i have created the above all steps successfully.

create WSDL File in sender Agreement / from TOOLS -> Display WSDl then this wsdl file it ll give to client.

Why i need to create wsdl file here in sender agreement and how to test the above scenario.

Whether i need to to run my webservice through SOAP.

Is there any way to complete the above mentined scenario without creating WSDL file in ESRas well as in ISR also.

Thanks,

Harsha

Answers (2)

Answers (2)

Former Member
0 Kudos

>>Our requirement is to develop a scenario WEBSERVICE to FILE with out using WSDL FILE

In case of sender soap scenario u will invoke the web service (and in case of receiver soap u consume the web service)...so u have to create a structure (dt, mt and all, normal config) and based upon this structure u will create a WSDL.... Provide this wsdl file along wth the PI URL to ur third party system. They will consume this wsdl in there apllication and send the data to PI.....

Former Member
0 Kudos

Could any one tell me in how many ways we can do Webservice to file scenario in SAP PI.

simple you have to use Soap as sender adapter and file adapter as Receiver.

Our requirement is to develop a scenario WEBSERVICE to FILE with out using WSDL FILE.

dont need any wsdl file for sender side .

so you have to create Data type and create message type for SOAP(WEBSERVICE).

create Si and Om and Message mapping.

then create Configuration objects .

finally u will generate WSDl file in Sender Agreement / tools -> display wsdl.

Edited by: bhavanisankar.solasu on Mar 6, 2012 12:17 PM