We\'re being really stuck here so I decided to ask your help.
Yesterday I\'ve been asked to help to consume a web service, got the URL to the WSDL, and the user cred
I had the same problem. Instead of the custom token serializer I used a MessageInspector
to add the correct UsernameToken
in the BeforeSendRequest
method. I then used a custom behavior to apply the fix.
The entire process is documented (with a demo project) in my blog post Supporting the WS-I Basic Profile Password Digest in a WCF client proxy. Alternatively, you can just read the PDF.
If you want to follow my progress through to the solution, you'll find it on StackOverflow titled, "Error in WCF client consuming Axis 2 web service with WS-Security UsernameToken PasswordDigest authentication scheme":