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] Updated: (CXF-1321) RMInInterceptor too late in the chain
Date Wed, 09 Apr 2008 21:46:05 GMT

     [ https://issues.apache.org/jira/browse/CXF-1321?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Diesler updated CXF-1321:
--------------------------------


To reproduce, please have a look at

http://jbws.dyndns.org/mediawiki/index.php?title=Building_From_Source

> RMInInterceptor too late in the chain
> -------------------------------------
>
>                 Key: CXF-1321
>                 URL: https://issues.apache.org/jira/browse/CXF-1321
>             Project: CXF
>          Issue Type: Sub-task
>          Components: WS-* Components
>    Affects Versions: 2.0.3
>            Reporter: Thomas Diesler
>
> /home/tdiesler/svn/jbossws/stack/cxf/trunk
> [tdiesler@tdvaio trunk]$ ant -Dtest=org.jboss.test.ws.jaxws.cxf.wsrm.BasicRPCTestCase
one-test
> one-test:
>     [junit] Running org.jboss.test.ws.jaxws.cxf.wsrm.BasicRPCTestCase
>     [junit] FIXME: [CXF-1310] Generated WSDL for an WS-RM endpoint does not contain RM
policies
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 16.714 sec
>     [junit] Test org.jboss.test.ws.jaxws.cxf.wsrm.BasicRPCTestCase 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,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