cancel
Showing results for 
Search instead for 
Did you mean: 

Sender SOAP Adapter

Former Member
0 Kudos

Hi guys,

I have to use a SOAP adapter for my next scenario and I have never used it. It's a sender SOAP adapter. I browsed few topics but couldn't understand the terms, invoke a webservice, consume a webservice, expose webservice etc, Since this is sender, I think I expose the webservice to XI.

I don't need ACTION here. Now how do I fill these parameters ? Header, attachments, encoded headers and querry string under Conversion paramaters. ?

And also what about envelope should I enable it or not ? Again should it be HTTP or HTTPS the Transport protocol ?

Regards

Radhika

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In case if your using SOAP Sender then it means you are providing the webservice to other applications..

i.e you are Webservice Provider and the applications which uses this are consumers as they consume the provided WSDL file..

You need to provide or worry about Query string..encoded headers...blah blah in case of sender...

Better search SDN for sender soap scenarios or How to generate WSDL for more details..

HTH

Rajesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

To send and receive information using a WebService i used two different ways:

1º First of all you need to define the structure that you will use to communicate by Webservice, normally if it is to exchange information with a WebService provider, they can bring you that structure in a .xsd format. This is just a .xlm schema that you need to fill with your information and send it by the Communication Channel.

You can add this structure by a external definition or create by your self, using Message type.

To introduce the information you can do a Message Mapping using the structure that I explained before as target in the MM.

About creating a Communication channel is not too much difficult, just create a communication channel as SOAP type, and filling the Target URL should be enough.

After that you just need to create the Receiver Agreement with the corresponding Receiver Determination.

2º The other option that i know is using JAVA class to implement the whole process. But i think the best Idea is do it with the Netweaver tools.

To receive information using a Web Services is just the opposite process, the source information is the structures that you previously defined.

I hope that you understand morales.

Regards

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Hi Radhika,

You are going to do soap sender. That means you are hosting webservice. You create as usual ESR objects and ID objects.

After finishing ID objects, you have to create WSDL. WSDL can be created in two ways. option one is in ID, tool -> display WSDL and the second way is go to sender agreeement and do display wsdl. the second option is simple. After creating WSDL provide it to your client or third party.

>>Again should it be HTTP or HTTPS the Transport protocol ?

Regarding HTTP and HTTPS, you design based on the requirement. If you do HTTPS, Pick https as transport protocol in the sender adapter. Talk to BASIS team about ssl certificates exporting to your client. If you dont want https, then no further change just pick http in soap sender channel.

>>I don't need ACTION here. Now how do I fill these parameters ?

NO need to fill ink

>>And also what about envelope should I enable it or not ?

Default is dont enable anything. If you need to customize soap header for some specfic requirement then enable it. otherwise leave as is.

Follow this link

http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm

http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/technology/sap/113/