After doing some Googling, I've decided to disable Rampart to verify my 
service, and it turns out that my service is not working properly.

Therefore, please ignore this thread.

I will begin a new thread to discuss my new, more specific problem.

- Nate Roe

-----Original Message-----
From: Nate Roe [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2008 4:14 PM
To: axis-user@ws.apache.org
Subject: [Axis2] What might cause "The server did npot recognise the action..."

I am using Axis2 v1.3 and Rampart v1.3 on JBossAS v4.0.5 running on Java 
1.6.0_03.

I have built a web service and a client of that web service.  The client and 
service are both web apps, so I deploy two WARs.  I've activated Rampart and 
I'm using a policy.xml.

Earlier, I created a very simple service to learn how to use Rampart and 
WS-Security.  That project is functioning.

I'm now trying to apply that knowledge to secure a "real" web service.  
However, Axis2 is throwing an exception that I don't understand.  I hope for 
assistance in determining its cause.

Here is the stack trace:

15:57:07,360 ERROR [STDERR] org.apache.axis2.AxisFault: The server did not 
recognise the action which it received:
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.engine.Phase.invoke(Phase.java:292)
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:212)
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:132)
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:336)
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
15:57:07,360 ERROR [STDERR]     at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
15:57:07,360 ERROR [STDERR]     at 
com.vegas.service.XenoServiceStub.getProductTypes(XenoServiceStub.java:546)
15:57:07,360 ERROR [STDERR]     at 
com.vegas.client.XenoClientSession.getProductTypes(XenoClientSession.java:122)
15:57:07,360 ERROR [STDERR]     at 
com.vegas.client.XenoClientSession.getProductTypeList(XenoClientSession.java:583)
15:57:07,360 ERROR [STDERR]     at 
org.apache.jsp.XenoClient_jsp._jspService(XenoClient_jsp.java:82)
15:57:07,360 ERROR [STDERR]     at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
15:57:07,360 ERROR [STDERR]     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
15:57:07,360 ERROR [STDERR]     at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
15:57:07,360 ERROR [STDERR]     at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
15:57:07,360 ERROR [STDERR]     at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
15:57:07,360 ERROR [STDERR]     at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
15:57:07,360 ERROR [STDERR]     at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
15:57:07,360 ERROR [STDERR]     at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
15:57:07,360 ERROR [STDERR]     at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
15:57:07,360 ERROR [STDERR]     at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
15:57:07,360 ERROR [STDERR]     at 
org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn.invoke(ClusteredSingleSignOn.java:637)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
15:57:07,360 ERROR [STDERR]     at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
15:57:07,360 ERROR [STDERR]     at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
15:57:07,360 ERROR [STDERR]     at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
15:57:07,360 ERROR [STDERR]     at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
15:57:07,360 ERROR [STDERR]     at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
15:57:07,360 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)


Here is the SOAP request:

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"; 
xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header>
<wsse:Security 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
 soapenv:mustUnderstand="true"><wsu:Timestamp 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 
wsu:Id="Timestamp-22168602"><wsu:Created>2008-03-20T23:12:00.959Z</wsu:Created><wsu:Expires>2008-03-20T23:17:00.959Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 
wsu:Id="UsernameToken-12744054"><wsse:Username>Client</wsse:Username><wsse:Password
 
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest";>X+oUbfoN1odhuxbJf8+SUiGvfi8=</wsse:Password><wsse:Nonce>dvjsunjVUiiWdoJ+nEXXHA==</wsse:Nonce><wsu:Created>2008-03-20T23:12:00.959Z</wsu:Created></wsse:UsernameToken><wsse:BinarySecurityToken
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 
EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary";
 
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";
 
wsu:Id="CertId-4368976">MIIDGDCCAoGgAwIBAgIBAjANBgkqhkiG9w0BAQQFADBcMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMRIwEAYDVQQHEwlMYXMgVmVnYXMxEjAQBgNVBAoTCVZlZ2FzLmNvbTEUMBIGA1UECxMLRGV2ZWxvcG1lbnQwHhcNMDgwMzExMTc0NzA2WhcNMDkwMzExMTc0NzA2WjBZMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMRIwEAYDVQQKEwlWZWdhcy5jb20xFDASBgNVBAsTC0RldmVsb3BtZW50MQ8wDQYDVQQDEwZDbGllbnQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAIFxyDm+a9I3utTgGLJ5oodv4uTTBupNvqxRPafeKWKM0lz9h9OGMdkJFRQjKFEjfatW+cBhRlbRz4d1xYHpwUtQahM6nteozvv1/AusupZbnaxrkhLbpstg4LG7Va2knbOlo2rFHtbzay7FfqmrcHgKQKgT94MNgVeP0QT+Dhl5AgMBAAGjgewwgekwCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYdT3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFGTKRSi/
800
QK/V5qF1zIEmxKAlR2JSMIGOBgNVHSMEgYYwgYOAFO7Y5md7nbUmmKy0No4F549mNNpKoWCkXjBcMQswCQYDVQQGEwJVUzEPMA0GA1UECBMGTmV2YWRhMRIwEAYDVQQHEwlMYXMgVmVnYXMxEjAQBgNVBAoTCVZlZ2FzLmNvbTEUMBIGA1UECxMLRGV2ZWxvcG1lbnSCCQDUpXLGQ8RvRjANBgkqhkiG9w0BAQQFAAOBgQCH7held83wV0U9zE5ygFB43pxEZS4nVJu2U1EAAEdoxkfZwzKx9FADEOfMsGJVIJsvQDxY3WAK+fiWtfDcG5+a7xqh6MXX9EvaLOORghqCxS7qgmtQrAISMoLTyAOdzBgnArrX8WZALpiV+PBugh7l1a3hMBf1xVV3/Y9fO6O3Jw==</wsse:BinarySecurityToken><ds:Signature
 xmlns:ds="http://www.w3.org/2000/09/xmldsig#"; Id="Signature-13390892">
<ds:SignedInfo>

<ds:CanonicalizationMethod 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";></ds:CanonicalizationMethod>
<ds:SignatureMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1";></ds:SignatureMethod>
<ds:Reference URI="#Id-32845995">
<ds:Transforms>
<ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";></ds:Transform>
</ds:Transforms>
<ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1";></ds:DigestMethod>
<ds:DigestValue>VRWsB1TxuMDhJW3if2UBCN7lMMg=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#Timestamp-22168602">
<ds:Transforms>
<ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";></ds:Transform>
</ds:Transforms>
<ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1";></ds:DigestMethod>
<ds:DigestValue>oEQp5czOeDFHkychnBbhAv5X4+A=</ds:DigestValue>
</ds:Reference>
<ds:Reference URI="#UsernameToken-12744054">
<ds:Transforms>
<ds:Transform 
Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#";></ds:Transform>
</ds:Transforms>
<ds:DigestMethod 
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1";></ds:DigestMethod>
<ds:DigestValue>cGcbfnqPFQ+1RIXVug6q38KvFx8=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
VcqfgPXeEjRE2YU+yeDuauCmQ8hCtYU8HHp8Cjn9Rgv6986fXJ/SObQ0vV9rZA8zEoSjk8HKVgtr
nuPU39rukcH69/OAMarzSoziE1OViHKH4QpnaXcaWpBBshqkVjOWqsJTDRyMMlhvTCKQx7vH4wrq
z57iILqZV3dYOC7Mlak=
</ds:SignatureValue>
<ds:KeyInfo Id="KeyId-18489519">
<wsse:SecurityTokenReference xmlns:wsu="http://docs.oasis-open.org/wss/2004/
2d0
01/oasis-200401-wss-wssecurity-utility-1.0.xsd" 
wsu:Id="STRId-5761467"><wsse:Reference URI="#CertId-4368976" 
ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3";></wsse:Reference></wsse:SecurityTokenReference>
</ds:KeyInfo>
</ds:Signature></wsse:Security><wsa:To>http://localhost:9099/xeno/services/XenoService</wsa:To><wsa:MessageID>urn:uuid:FADE644BA1D8F878FA1206054721011</wsa:MessageID><wsa:Action>""</wsa:Action></soapenv:Header><soapenv:Body
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 wsu:Id="Id-32845995"><ns1:getProductTypes 
xmlns:ns1="http://xeno.vegas.com";></ns1:getProductTypes></soapenv:Body></soapenv:Envelope>


Here is the SOAP response:

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope 
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"; 
xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header><wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action><wsa:RelatesTo>urn:uuid:FADE644BA1D8F878FA1206054721011</wsa:RelatesTo></soapenv:Header><soapenv:Body><soapenv:Fault><soapenv:Code><soapenv:Value>soapenv:Sender</soapenv:Value><soapenv:Subcode><soapenv:Value>wsa:ActionNotSupported</soapenv:Value></soapenv:Subcode></soapenv:Code><soapenv:Reason><soapenv:Text
 xml:lang="en-US">The [action] cannot be processed at the 
receiver.</soapenv:Text></soapenv:Reason><soapenv:Detail><wsa:ProblemAction><wsa:Action>""</wsa:Action></wsa:ProblemAction></soapenv:Detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

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


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

Reply via email to