cancel
Showing results for 
Search instead for 
Did you mean: 

Multipart message in Webservice.

Former Member
0 Kudos

Hello,

I am calling a webservice which is having multipart message as follows:

- <wsdl:message name="PricingAndAvailabilityRequest">

<wsdl:part name="PricingAndAvailabilityRequestBody" element="pa:PricingAndAvailability" />

<wsdl:part name="header" element="ebxml:MessageHeader" />

</wsdl:message>

- <wsdl:message name="PricingAndAvailabilityResponse">

<wsdl:part name="PricingAndAvailabilityResponseBody" element="par:PricingAndAvailabilityResponse" />

<wsdl:part name="header" element="ebxml:MessageHeader" />

</wsdl:message>

- <wsdl:portType name="PricingAndAvailabilityServicePort">

- <wsdl:operation name="PricingAndAvailability">

<wsdl:input message="avl:PricingAndAvailabilityRequest" />

<wsdl:output message="avl:PricingAndAvailabilityResponse" />

</wsdl:operation>

</wsdl:portType>

- <wsdl:binding name="PricingAndAvailabilityServiceBinding" type="avl:PricingAndAvailabilityServicePort">

<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />

- <wsdl:operation name="PricingAndAvailability">

<soap:operation soapAction="" />

- <wsdl:input>

<soap:body parts="PricingAndAvailabilityRequestBody" use="literal" />

- <soap:header message="avl:PricingAndAvailabilityRequest" part="header" use="literal">

<soap:headerfault use="literal" part="header" message="avl:PricingAndAvailabilityRequest" />

</soap:header>

</wsdl:input>

- <wsdl:output>

<soap:body parts="PricingAndAvailabilityResponseBody" use="literal" />

- <soap:header message="avl:PricingAndAvailabilityResponse" part="header" use="literal">

<soap:headerfault use="literal" part="header" message="avl:PricingAndAvailabilityResponse" />

</soap:header>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

When i am sending the message to Webservice, After mapping,Request message is having Header and body together.

I would like to know whether xi soap receiver adapter able to include Header in SOAP-HEADER and Body in SOAP-BODY as shown in wsdl definiton and will it support multipart messages.

Thanks in Advace.

Regards,

Sreenivas.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos
I would like to know whether xi soap receiver adapter able to include Header in SOAP-HEADER 
and Body in SOAP-BODY as shown in wsdl definiton and will it support multipart messages

there is a piece of information given in SAP note for this....check if you can get some lead from it:

https://service.sap.com/sap/support/notes/856597

From the SAP note:
My web service expects a SOAP with multiple elements in the SOAP body. How can I create such SOAP message?

Regards,

Abhishek.