XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0.3
    • Invalid
    • WS-* Components
    • None

    Description

      /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

      Attachments

        Issue Links

          Activity

            People

              asoldano Alessio Soldano
              tdiesler Thomas Diesler
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: