cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Ganesh" <bharathgan...@gmail.com>
Subject WS-RM Message part CreateSequence was not recognized.
Date Thu, 01 Nov 2007 06:01:47 GMT
Hi

I have been running across a strange error for quite some time. I have
enabled RM, using RM-Assertions in the WSDL.
The client sends a createSequence message to the server endpoint.
The Server responds back with a soap fault:
 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.DocLiteralInInterceptor.handleMessage(
DocLiteralInInterceptor.java:178)
    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:319)
    at org.apache.cxf.transport.servlet.ServletController.invoke(
ServletController.java:224)
    at org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java
:284)
    at org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java
:262)


The outgoing message at the client side is:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><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:cb64b637-afa8-4395-be29-004d2ff90401</Identifier><Expires>PT0S</Expires></Offer></CreateSequence></soap:Body></soap:Envelope>

Earlier the same test used to work fine. At that time the createsequence
soap message was:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><MessageID
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:f8e71725-c8e9-49e3-860c-e214f434f610</MessageID><To
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">
http://localhost:8181/cart/cart</To><ReplyTo xmlns="
http://schemas.xmlsoap.org/ws/2004/08/addressing"><Address>
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</Address></ReplyTo><FaultTo
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing"><Address>
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</Address></FaultTo><Action
xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">
http://schemas.xmlsoap.org/ws/2005/02/rm/CreateSequence
</Action></soap:Header>
<soap:Body><ns2:CreateSequence xmlns="
http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2="
http://schemas.xmlsoap.org/ws/2005/02/rm"><ns2:AcksTo><Address>
http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
</Address></ns2:AcksTo><ns2:Expires>PT0S</ns2:Expires><ns2:Offer><ns2:Identifier>urn:uuid:f7c604f6-7822-4499-8bbe-edb4b4ed5127</ns2:Identifier><ns2:Expires>PT0S</ns2:Expires></ns2:Offer></ns2:CreateSequence></soap:Body></soap:Envelope>


If you looks the the two soap messages, the soap message where the
createSequence was not recognized by the server, did not contain a SOAP
header. Is this the problem? If so, what could be the reason for this?

Any help would be appreciated.
-Bharath

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message