RPCInInterceptor chokes on incomming RM CreateSequence
------------------------------------------------------

                 Key: CXF-1321
                 URL: https://issues.apache.org/jira/browse/CXF-1321
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.0.3
            Reporter: Thomas Diesler


/home/tdiesler/svn/jbossws/stack/cxf/trunk
[EMAIL PROTECTED] trunk]$ ant 
-Dtest=org.jboss.test.ws.jaxws.cxf.reliable.BasicRMTestCase one-test

one-test:
    [junit] Running org.jboss.test.ws.jaxws.cxf.reliable.BasicRMTestCase
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 18.941 sec
    [junit] Test org.jboss.test.ws.jaxws.cxf.reliable.BasicRMTestCase FAILED

16:56:29,232 INFO  [LoggingInInterceptor] Inbound Message
--------------------------------------
Encoding: UTF-8
Headers: {connection=[keep-alive], cache-control=[no-cache], 
host=[localhost:8080], user-agent=[Java/1.5.0_12], transfer-encoding=[chunked], 
pragma=[no-cache], content-type=[text/xml; charset=UTF-8], accept=[*], 
soapaction=["http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence"]}
Message:
<soap:Envelope 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><ns1:CreateSequence
 xmlns:ns1="http://schemas.xmlsoap.org/ws/2005/02/rm";><CreateSequence 
xmlns="http://schemas.xmlsoap.org/ws/2005/02/rm"; 
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing";><AcksTo><ns2:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</ns2:Address></AcksTo><Expires>PT0S</Expires><Offer><Identifier>urn:uuid:cf97be9d-abda-4aab-954f-e16061e01f09</Identifier><Expires>PT0S</Expires></Offer></CreateSequence></ns1:CreateSequence></soap:Body></soap:Envelope>
--------------------------------------

2007-12-20 17:03:32,652 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Chain [EMAIL PROTECTED] was modified. Current flow:
  receive [LoggingInInterceptor, ClientPolicyInInterceptor, 
ServerPolicyInInterceptor, AttachmentInInterceptor]
  post-stream [StaxInInterceptor]
  read [ReadHeadersInterceptor, SoapActionInInterceptor]
  pre-protocol [MustUnderstandInterceptor, MAPCodec, SOAPHandlerInterceptor, 
LogicalHandlerInInterceptor, RMSoapInterceptor]
  unmarshal [URIMappingInterceptor, RPCInInterceptor, SoapHeaderInterceptor]
  pre-logical [RMInInterceptor, MAPAggregator]
  post-logical [WrapperClassInInterceptor]
  pre-invoke [PolicyVerificationInInterceptor, SwAInInterceptor, 
HolderInInterceptor]
  invoke [ServiceInvokerInterceptor]
  post-invoke [OutgoingChainInterceptor]

2007-12-20 17:03:32,652 INFO  
[org.apache.cxf.ws.policy.ServerPolicyInInterceptor] Added interceptor of type 
MAPCodec
2007-12-20 17:03:32,653 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,653 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,653 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,654 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,655 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,655 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,656 INFO  [org.apache.cxf.ws.addressing.ContextUtils] 
retrieving MAPs from context property javax.xml.ws.addressing.context.inbound
2007-12-20 17:03:32,657 INFO  [org.apache.cxf.ws.addressing.ContextUtils] 
WS-Addressing - failed to retrieve Message Addressing Properties from context
2007-12-20 17:03:32,657 INFO  [org.apache.cxf.ws.addressing.soap.MAPCodec] 
Inbound WS-Addressing headers
2007-12-20 17:03:32,658 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,658 DEBUG 
[org.apache.cxf.jaxws.handler.HandlerChainInvoker] invoker for chain size: 0
2007-12-20 17:03:32,658 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,658 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,659 INFO  [org.apache.cxf.ws.addressing.ContextUtils] 
retrieving MAPs from context property javax.xml.ws.addressing.context.inbound
2007-12-20 17:03:32,660 WARN  [org.apache.cxf.ws.addressing.ContextUtils] 
WS-Addressing - failed to retrieve Message Addressing Properties from context
2007-12-20 17:03:32,661 DEBUG [org.apache.cxf.ws.rm.soap.RMSoapInterceptor] 
action: null
2007-12-20 17:03:32,661 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,661 DEBUG 
[org.apache.cxf.interceptor.URIMappingInterceptor] Invoking HTTP method POST
2007-12-20 17:03:32,662 DEBUG 
[org.apache.cxf.interceptor.URIMappingInterceptor] URIMappingInterceptor can 
only handle HTTP GET, not HTTP POST
2007-12-20 17:03:32,662 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] 
Invoking handleMessage on interceptor [EMAIL PROTECTED]
2007-12-20 17:03:32,663 INFO  [org.apache.cxf.phase.PhaseInterceptorChain] 
Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Message part 
{http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence was not recognized.
        at 
org.apache.cxf.interceptor.BareInInterceptor.handleMessage(BareInInterceptor.java:133)
        at 
org.apache.cxf.binding.soap.interceptor.RPCInInterceptor.handleMessage(RPCInInterceptor.java:85)
        at 
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
        at 
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
        at 
org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:79)
        at 
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:256)
        at 
org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:133)
        at 
org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:63)
        at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:136)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

It seems to be a problem that the RPCInInterceptor comes before the 
RMInInterceptor.

I am going to see if this is a RPC specific problem

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to