I have created an ABAP consumer proxy from the wsdl of an external webservice (i.e. Transsmart). After the instantiation of the proxy class some extra header fields are added for authentication. Next to the authentication data the request soap header contains xml segments that cause the webservice call to fail. How can I remove the header segments that cause the webservice to fail? Any help is welcome.
example soap header:
<soap-env:Header>
<authentication xmlns="http://connect1.transwise.eu/TboxService/">
<userId>xxxxx</userId>
<password>yyyyy</password>
<customerId>zzzzz</customerId>
</authentication>
<n0:Trace xmlns:n0="http://www.sap.com/webas/630/soap/features/runtime/tracing/">
<n0:TraceLevel>Payload</n0:TraceLevel>
<n0:TraceContext>
<TRC_PATTERN>WSTEST</TRC_PATTERN>
<TRC_KEY>E389BB8F628AAEF1B947005056901112</TRC_KEY>
<TRC_SSID>WMQ_01</TRC_SSID>
<TRC_USER>DERKSEMAM</TRC_USER>
<TRC_TS>20140130143401</TRC_TS>
<TRC_COUNTER>98</TRC_COUNTER>
<TRC_EXTERN/>
</n0:TraceContext>
</n0:Trace>
<n1:MessageID xmlns:n1="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:e389bb8f-628a-b0f1-b947-005056901112</n1:MessageID>
<n2:Action soap-env:mustUnderstand="1" xmlns:n2="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope">http://connect1.transwise.eu/TboxService//doBooking</n2:Action>
<n3:To soap-env:mustUnderstand="1" xmlns:n3="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope">https://connect.test.transwise.eu:443/TboxService/2_0</n3:To>
<wsa:From xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:From>
<wsa:ReplyTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:FaultTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
</wsa:FaultTo>
</soap-env:Header>
kind regards,
Roelof Jan