cancel
Showing results for 
Search instead for 
Did you mean: 

How to send SOAP message with attachment?

Former Member
0 Kudos

Hi Experts,

How do I simulate to send a SOAP message with an attachment? Can I use XMLSpy?

Please help.

Thanks,

Shobhit

Accepted Solutions (1)

Accepted Solutions (1)

former_member182455
Active Contributor
0 Kudos

hi shobit,

You can use the PayloadSwapBean to swap the Attachement and the SOAP payload and use this in your mapping.

find this link

http://help.sap.com/saphelp_nw04s/helpdata/en/b6/0b733cb7d61952e10000000a11405a/frameset.htm

regards

srinivas

Former Member
0 Kudos

Thanks Srinivas,

But only if I can simulate a SOAP request with attachment, I can use the payloadSwapbean to convert the attachment to a field in the main xml. Which tool shall I use to send a SOAP request with an attachment?

Thanks,

Shobhit

turmoll
Active Contributor
0 Kudos

e.g. SOAPscope by Mindreef (http://www.mindreef.com/)

Regards,

Jakub

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Check this URL:

http://help.sap.com/saphelp_nwpi71/helpdata/en/76/fc9c3d9a864aef8139d70759a499fc/frameset.htm

Thanks.

Boopathi

Edited by: Boopathi Thangavel on Jul 24, 2008 1:38 PM

Former Member
0 Kudos

Boopathi,

This link is pretty good on SOAP-MTOM. But is it applicable in PI7.0??

Thanks,

Shobhit

stefan_grube
Active Contributor
0 Kudos

I usually test like follows:

Create a scenario SOAP to file

Create a second scenario file to SOAP

Then you can send an XI message with attachment provided as files.

Regards

Stefan

Former Member
0 Kudos

Ravi,

With the generic SOAP client, it asks for the http based wsdl file location. But my wsdl has been generated by XI and I have the file stored on my desktop.

Something to do with the path http://zpidd01:8030/XISOAPAdapter/MessageServlet?channel=NetworkPartners:NP_Order_BS:NP_SOAP_Sender_... ??

Stefan,

my scenario is to send a SOAP request with attachment and post the attachment in ECC through the ABAP server proxy.

WebService Client -


SOAP----> XI -


ABAP PROXY CALL ---> ECC

Need further assistance from both of you how to achieve this scenario.

Thanks,

Shobhit

Edited by: Shobhit Swarup Mathur on Jul 24, 2008 4:34 AM

former_member181962
Active Contributor
0 Kudos

Download soap client from sdn and use it after installing on your system.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/downloads/tools/sa...

In case you face issues, see this thtread: