Call external SOAP service with digest authentication in the header

From my ESB Proxy service, I have to call an external SOAP webservice needing a Digest authentication , basically it would be in the Header :

<wsse:Security>
         <wsse:UsernameToken>
            <wsse:Username></wsse:Username>
            <wsse:Password</wsse:Password>
            <wsse:Nonce></wsse:Nonce>
            <wsu:Created></wsu:Created>
         </wsse:UsernameToken>
</wsse:Security>

Password must be SHA1 encoded and nonce base64encoded. How to construct this header inside my Proxy ?

Tks Nick

Answers


As i understood, what you are looking for is to invoke secured service fronted by unsecured proxy.

This blog by Sagara nicely explains how to do it(in section 2) and further explains practical problems and answers.

HTH,

DarRay


Need Your Help

403 nginx error - permissions denied

php nginx

I am getting 403 forbidden error when I try to access a domain using nginx. The nginx logs I get are:

How to refresh mysql posts every 1 second

javascript php jquery mysql ajax

I use ajax to save user posts/comments into a mysql table without page refresh.