cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Diesler (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1321) RPCInInterceptor chokes on incomming RM CreateSequence
Date Thu, 20 Dec 2007 16:42:43 GMT
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
[tdiesler@tddell 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 org.apache.cxf.phase.PhaseInterceptorChain@653c7e
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 org.apache.cxf.interceptor.AttachmentInInterceptor@1b4f7c5
2007-12-20 17:03:32,653 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] Invoking handleMessage
on interceptor org.apache.cxf.interceptor.StaxInInterceptor@1f6e3e9
2007-12-20 17:03:32,653 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] Invoking handleMessage
on interceptor org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor@17f4790
2007-12-20 17:03:32,654 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] Invoking handleMessage
on interceptor org.apache.cxf.binding.soap.interceptor.SoapActionInInterceptor@1ecdb1b
2007-12-20 17:03:32,655 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] Invoking handleMessage
on interceptor org.apache.cxf.binding.soap.interceptor.MustUnderstandInterceptor@1335332
2007-12-20 17:03:32,655 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] Invoking handleMessage
on interceptor org.apache.cxf.ws.addressing.soap.MAPCodec@183c44d
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 org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor@191ce2a
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 org.apache.cxf.jaxws.handler.logical.LogicalHandlerInInterceptor@1365e01
2007-12-20 17:03:32,658 DEBUG [org.apache.cxf.phase.PhaseInterceptorChain] Invoking handleMessage
on interceptor org.apache.cxf.ws.rm.soap.RMSoapInterceptor@6d41c0
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 org.apache.cxf.interceptor.URIMappingInterceptor@9b027d
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 org.apache.cxf.binding.soap.interceptor.RPCInInterceptor@124e231
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.


Mime
View raw message