Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Consuming a .NET webservice using WSE 3.0 security

Explorer ,
Oct 19, 2009 Oct 19, 2009

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.

2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 19, 2009 Oct 19, 2009

So in all my reading I have learned that CF8 uses Axis1. The webservice I need to connect to requires Axis2.

Any word on whether CF9 comes with Axis2 or a way to implement Axis2 on CF8?

Thanks,

Steve

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Oct 20, 2009 Oct 20, 2009
LATEST
Any word on whether CF9 comes with Axis2 or a way to implement Axis2 on CF8?

I have not done much work with Axis.

AFAIK, the CF9 beta used the same version of Axis as CF8. I do not know about the final version, but I would guess it is the same.

As far as implementing a different version, I have seen this old reference on upgrading in M7.  Though I get the impression it takes a courageous soul ie there is no telling what it might break.

http://tjordahl.blogspot.com/2005/09/upgrading-coldfusion-mx-7-to-axis-13.html

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources