Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

data in the header of a SOAP Request

hello

I have a WSDL that include data in the header. (see below). when I try to map it, I recieve only what is in the body under VendorPayment_MT.

is there a way to include also the header so I will be able to map it all?

do I need to change the WSDL or how it is created?

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<SOAP-ENV:Header>

<m:AuthHeader xmlns:m="http://projectName/VendorPaymentsService">

<TargetService>String</TargetService>

<OriginatorName>String</OriginatorName>

<OriginatorIdentity>String</OriginatorIdentity>

<OriginatorEntity>String</OriginatorEntity>

<AuthMechanism>String</AuthMechanism>

<Token>String</Token>

</m:AuthHeader>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

<m:VendorPayment_MT xmlns:m="http://projectName/VendorPaymentsService">

<Safe>

<SafeName>String</SafeName>

<UserName>String</UserName>

<Password>String</Password>

<SafePath>String</SafePath>

<FileName>String</FileName>

</Safe>

<Data>

<Item>

<ComponyNum>String</ComponyNum>

<LawSuiteNum>String</LawSuiteNum>

<PaymentNum>String</PaymentNum>

<SystemType>String</SystemType>

</Item>

</Data>

</m:VendorPayment_MT>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Not what you were looking for? View more on this topic or Ask a question