> Hopefully someone else has run into this issue before and can at least point
> me in the right direction. I am trying to consume a .NET web service that
> has been protected using the .NET WSE 3.0 service. Here's the error I get
> while trying to execute the service:
>
> Cannot perform web service invocation XXXXXXXXXX.
> The fault returned when invoking the web service operation is:
>
> AxisFault
>  faultCode: {
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
>  faultSubcode:
>  faultString: Security requirements are not satisfied because the security
> header is not present in the incoming message.
>
> ...
>
> I've found some things searching for web services security header and it
> looks like I need to use the addSOAPHeader function to my web service call,
> but those posts seem to be incomplete and others have said the solutions
> presented still throw errors.

Well, I haven't worked with WSE 3.0 yet, so I don't know how much help
I can offer. But here goes.

First, you might want to check out the difference between good and bad
requests on the wire, using a tool like Wireshark. You'd need a
working client for this web service, perhaps written in .NET. Your
provider probably has .NET reference code for this. This would allow
you to see the headers in question, and see how they differ.

Second, you might want to search specifically on WSE 3 and Axis, since
Axis is the library that CF uses. You might have to write your web
service client code in Java and manipulate Axis directly, also. I
think that CF comes with Axis 1.2.1, which of course isn't the latest
version.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsi

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333258
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to