I suggest modifying the generated WS_OPER module as shown here below statement “// SOAP header”: OutputStream_appendBuffer( hOutStream: %addr(g_requestBuffer)+2: %len(g_requestBuffer)); // SOAP header g_requestHeader = createWsseHeader(...); OutputStream_appendBuffer( hOutStream: %addr(g_requestBuffer)+2: %len(g_requestBuffer)); // Message body g_requestBuffer = '<soapenv:Body>' +
''; Thomas.
Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx]
Im Auftrag von Rob van Bezouwen - DSV Hi Scott, https://wsbexpress.dhl.com/sndpt/DocumentRendering?wsdl Where and how can I implement the soapenv:Header part for wsse: and wsu: ? <soapenv:Envelope
xmlns:dhl="http://www.dhl.com"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:trac="http://scxgxtt.phx-dc.dhl.com/glDHLExpressTrack/providers/services/trackShipment">
<soapenv:Header>
<wsse:Security
soapenv:mustUnderstand="1"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:UsernameToken
wsu:Id="UsernameToken-404040404040404040404040">
<wsse:Username>MyUserName</wsse:Username>
<wsse:Password
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">MyPassword</wsse:Password>
<wsse:Nonce
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">MyNonce</wsse:Nonce>
<wsu:Created>2016-02-09T07:31:11.078Z</wsu:Created></wsse:UsernameToken></wsse:Security>
</soapenv:Header> Thank you,
Rob Bezouwen
IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. |
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi