Ws-Security headers using Metro

Posted by Bhushan on Stack Overflow See other posts from Stack Overflow or by Bhushan
Published on 2010-03-29T06:51:37Z Indexed on 2010/03/29 6:53 UTC
Read the original article Hit count: 801

Filed under:
|
|
|

I have a web service which implements WS-Security but does not define a policy in the WSDL. I am able to consume this web service successfully using Axis 2 as client.

I am trying to consume the same web service using Metro 2 but the wsse:security headers are not going. It works only if the service defines the security policy which is not under my control. I tested this by creating a sample web service and unless I define the policy my metro client never sends the wsse:security headers.

Is there anything I am missing using Metro?

© Stack Overflow or respective owner

Related posts about web-services

Related posts about ws-security