HI,

I am trying to use SAML Auth(Timestamp SAMLTokenUnsigned). On the server side , I get the following exception -
   [junit]     {http://xml.apache.org/axis/}hostname:AMS-57757

   [junit] WSDoAllReceiver: security processing failed (actions mismatch)
[junit] at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) [junit] at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) [junit] at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext
.java:1087)
[junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractS
AXParser.java:633)
[junit] at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(X
MLNSDocumentScannerImpl.java:719)
[junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentCo
ntentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
[junit] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocume
nt(XMLDocumentFragmentScannerImpl.java:368)
[junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configur
ation.java:834)
[junit] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configur
ation.java:764)
[junit] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) [junit] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXPar
ser.java:1242)
   [junit]     at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
[junit] at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java
:227)
[junit] at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
   [junit]     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
[junit] at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:796) [junit] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) [junit] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) [junit] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
   [junit]     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

The exception is because the value returned from checkReceiverResults() in WSDoAllReceiver is false.

client side wsdd
<handler type="java:org.apache.ws.axis.security.WSDoAllSender">
<parameter name="action" value="Timestamp SAMLTokenUnsigned"/>
<parameter name="samlPropFile" value="saml.properties"/>
</handler>

server side wsdd
<handler type="java:org.apache.ws.axis.security.WSDoAllReceiver"> <parameter name="action" value="Timestamp Signature SAMLTokenUnsigned"/> <parameter name="signaturePropFile" value="crypto.properties" />
           </handler>

Any ideas?

ALso,another question that i had is do we need to secify the signaturePropFile on the server side is the action is Timestamp Signature SAMLTokenUnsigned?

_________________________________________________________________
Search from any web page with powerful protection. Get the FREE Windows Live Toolbar Today! http://get.live.com/toolbar/overview


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to