cancel
Showing results for 
Search instead for 
Did you mean: 

soap to file

Former Member
0 Kudos

Hi All,

I would like to work on Soap to File scenario(model).

Soap message is availbale in XML file.that i need to send as file to target system.

I'm unable to find any file picking option in soap adapter.

If i'm doing wrong approach could any one suggests me to do this scenario.

Thanks and regards,

venu.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Venu,

I think i will give you some more information about SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.

<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm">Defining Web Services</a>

Sending a Simple SOAP envelope to XI via HTTP using ASP

https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken]

More links for SOAP Adapter:

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm

You can create SOAP Request from WSDL using the following tool.

http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916e...

You've to expose your outbound message interface as a WSDL which can be used by say EP.

Also go thru the following threads

Regards,

abhy

Former Member
0 Kudos

Hi Abhy/Michla,

Thank u very much.

I'm trying to work the following scenario.

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

My doubts:

How to create User_Detail wsdl file ?

Where to deploy the wsdl file?

How to use this file in soap sender adapter.

Thanks and regards,

venu.

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you need a WSDL generated from the xi - directory (menu - generate web service)

and you need to comsume this wsld somewhere

(in client application or in test application like xmlspy)

the wsld describes the XML body too

then you need to map the xml to file

so steps:

1. create your xml datatype, message etc in IR

2. do all mappings if you need any

3. do configuration in directory

4. generate a wsdl file in directory

on the basis of your scenario

5. take this wsdl file and use it somewhere

(xmlspy) to test the scenario

Regards,

michal

Former Member
0 Kudos

Hi Michal,

Thank you very much.

My xml file is.

<?xml version="1.0" encoding="UTF-8" ?>

- <ns0:Soap_MT xmlns:ns0="urn://Soap2File">

<Name>venu</Name>

<Id>1234</Id>

</ns0:Soap_MT>

which needs to be sent as file to target throw soap sender adapter and file receiver adapter.

I followd your suggestion, in ID

Tools->Define webservice->

Here what I should give in Integration server SOAP inbound channel(URL)..

Is it the link url to my xml file..

Thanks and regards,

venu.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

have a look at this weblog:

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]

use:

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

Regards,

michal