cancel
Showing results for 
Search instead for 
Did you mean: 

web service attachment query

former_member229310
Active Participant
0 Kudos

Hello,

I have SAP ABAP PROXY to SOAP synchronous scenario.

I have been provided a Web service in which the WSDL looks like below after importing into PI. There are no fields defined in the service instead they have shared XML files.

Along with the WSDL,  XML files are shared to me asking to post using MTOM. I think MTOM is available in AXIS.

Now i need to know how i can send the xml file using the below service to the target WSDL url.

How can i attach my XML file from the abap proxy to the below service ?

Thanks in advance for any inputs.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Hari,

I understand that you want to send the xml payload received through ABAP proxy as an attachment in the SOAP call. Please correct me if i am wrong.

You can achieve this using Java Mapping and enable the attachment option in soap receiver channel.

Attached is the java mapping code. It worked perfectly for me. Please try from your end.

Regards,

Veerendra.

former_member229310
Active Participant
0 Kudos

Thanks for the response.

But the client is asking to send the XML file in the SOAP BODY.

How can I achieve this ?

former_member184720
Active Contributor
0 Kudos