Hello,

we are extracting the data by WSDL and then we will apply extracted data
eContent System by ML7 but i am getting failure to generate SOAP Header,
Below is the sample for username token:

Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) )


<soapenv:Header>
<wsse:Security 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-*95478B9C8765923A0614563215623653*
">
<wsse:Username>*abcd*</wsse:Username>
<wsse:Password Type="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest
">*WKwrplT97Bf+aeLEoVc3ILXJtvQ=*</wsse:Password>
<wsse:Nonce EncodingType="
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary
">*0UXQL0U2e0T0YnGj3tgiOA==*</wsse:Nonce>
<wsu:Created>*2016-02-24T13:46:02.365Z*</wsu:Created>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>

How to generate SOAP Header?

On Thu, Feb 25, 2016 at 2:50 PM, Rahul Singh <[email protected]>
wrote:

> Hello,
>
> we are extracting the data by WSDL and then we will apply extracted data
> eContent System by ML7 but i am getting failure to generate SOAP Header,
> Below is the sample for username token:
>
> Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) )
>
>
> <soapenv:Header>
> <wsse:Security 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-
> *95478B9C8765923A0614563215623653*">
> <wsse:Username>*abcd*</wsse:Username>
> <wsse:Password Type="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest
> ">*WKwrplT97Bf+aeLEoVc3ILXJtvQ=*</wsse:Password>
> <wsse:Nonce EncodingType="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary
> ">*0UXQL0U2e0T0YnGj3tgiOA==*</wsse:Nonce>
> <wsu:Created>*2016-02-24T13:46:02.365Z*</wsu:Created>
> </wsse:UsernameToken>
> </wsse:Security>
> </soapenv:Header>
>
> How to generate SOAP Header?
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to