Web Service Samples for Java (Talk)

cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Samples for Java (Talk)

Member II
0 0 521

A word about an error like

WSDoAllReceiver: security processing failed (actions number mismatch)

that happens with sample1 would be useful

a note on installation (which jars, where, ...)

and a link to  http://wiki.alfresco.com/wiki/Web_Services_Interoperability   too


security processing failed (actions number mismatch)



Exception in thread 'main' AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultSubcode:
faultString: WSDoAllReceiver: security processing failed (actions number mismatch)
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:WSDoAllReceiver:
                  security processing failed (actions number mismatch)

This error indicates that the SOAP call security header doesn't include a timestamp.

If you're using Java, change the deployment definition from

<parameter name='action' value='UsernameToken'/>

to

<parameter name='action' value='UsernameToken Timestamp'/>