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.
 faultActor:
 faultNode: http://XXXXXXXXXXXXXXXXXXX.asmx
 faultDetail:
    {http://xml.apache.org/axis/}stackTrace:Security requirements are not
satisfied because the security header is not present in the incoming
message.
    at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
    at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
    at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
    at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
    at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch...
''

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. Thanks,

Phil


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:333232
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to