Consuming a .NET webservice using WSE 3.0 security
Hey all,
Have any of you been able to connect to a .NET web service requiring the client to use MS-Security or (WSE 3.0).
The web service I need to connect to requires that I post the XML and that it comply with the WSE 3.0 security standards they have set.
I am able to successfully connect using CFHTTP however, I keep getting the following response:
-------------------------------------------
|||||||||||||||||||||||||||||||||||||||||||
-------------------------------------------
System.Web.Services.Protocols.SoapHeaderException: WSE012: The input was not a valid SOAP message because the following information is missing: action. at Microsoft.Web.Services3.Utilities.AspNetHelper.SetDefaultAddressingProperties(SoapContext context, HttpContext httpContext) at Microsoft.Web.Services3.WseProtocol.CreateRequestSoapContext(SoapEnvelope requestEnvelope) at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope requestEnvelope) at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message) at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
-------------------------------------------
|||||||||||||||||||||||||||||||||||||||||||
-------------------------------------------
Everywhere I've searched the same answers come back:
You must use WS-Security or WS-Addressing (I think this has to do with something called Rampart)
So my question is...
1. Does Coldfusion automatically make provisions for this security protocol? Does it create the propery user/pass tokens needed for this type of connection?
2. Has anyone been able to connect to a .NET webservice requiring WSE 3.0 security and ... how did you do it?
Thank you much any help.
