[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2561) XOP request not properly inlined
Richard Opalka (JIRA)
jira-events at lists.jboss.org
Tue Apr 7 05:16:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBWS-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12460917#action_12460917 ]
Richard Opalka commented on JBWS-2561:
--------------------------------------
Test expects inlined MTOM response like this:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Fri, 20 Mar 2009 13:06:16 GMT
<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:echoDataHandlerResponse xmlns:ns2="http://org.jboss.ws/xop/doclit">
<dataHandler>U2VydmVyIGRhdGE=</dataHandler>
</ns2:echoDataHandlerResponse>
</S:Body>
</S:Envelope>
But CXF returns MIME multipart message:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Content-Type: multipart/related; type="application/xop+xml"; boundary="----=_Part_0_1803590099.1237553674625"; start="<root.message at cxf.apache.org>"; start-info="text/xml"
Content-Length: 811
Date: Fri, 20 Mar 2009 12:54:34 GMT
------=_Part_0_1803590099.1237553674625
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml";
Content-Transfer-Encoding: binary
Content-ID: <root.message at cxf.apache.org>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><ns2:echoDataHandlerResponse xmlns:ns2="http://org.jboss.ws/xop/doclit"><dataHandler><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:ca461d40-25f5-4a67-b3db-6b2b258563ee-4 at http%3A%2F%2Fcxf.apache.org%2F"/></dataHandler></ns2:echoDataHandlerResponse></soap:Body></soap:Envelope>
------=_Part_0_1803590099.1237553674625
Content-Type: text/plain
Content-Transfer-Encoding: binary
Content-ID: <ca461d40-25f5-4a67-b3db-6b2b258563ee-4 at http://cxf.apache.org/>
Server data
------=_Part_0_1803590099.1237553674625--
> XOP request not properly inlined
> --------------------------------
>
> Key: JBWS-2561
> URL: https://jira.jboss.org/jira/browse/JBWS-2561
> Project: JBoss Web Services
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: jbossws-cxf
> Affects Versions: jbossws-cxf-3.1.0
> Reporter: Richard Opalka
> Assignee: Richard Opalka
> Fix For: jbossws-cxf-3.2.0
>
>
> javax.xml.ws.soap.SOAPFaultException: XOP request not properly inlined
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
> at $Proxy38.echoDataHandler(Unknown Source)
> at org.jboss.test.ws.jaxws.samples.xop.doclit.XOPHandlerTestCase.testDataHandlerRoundtrip(XOPHandlerTestCase.java:86)
> Caused by: java.lang.IllegalStateException: XOP request not properly inlined
> at org.jboss.test.ws.jaxws.samples.xop.doclit.MTOMProtocolHandler.verifyXOPPackage(MTOMProtocolHandler.java:66)
> at org.jboss.test.ws.jaxws.samples.xop.doclit.MTOMProtocolHandler.handleOutbound(MTOMProtocolHandler.java:48)
> at org.jboss.wsf.test.GenericHandler.handleMessage(GenericHandler.java:53)
> at org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandleMessage(HandlerChainInvoker.java:335)
> at org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeHandlerChain(HandlerChainInvoker.java:253)
> at org.apache.cxf.jaxws.handler.HandlerChainInvoker.invokeProtocolHandlers(HandlerChainInvoker.java:131)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.handleMessageInternal(SOAPHandlerInterceptor.java:152)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor.access$000(SOAPHandlerInterceptor.java:69)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor$1.handleMessage(SOAPHandlerInterceptor.java:79)
> at org.apache.cxf.jaxws.handler.soap.SOAPHandlerInterceptor$1.handleMessage(SOAPHandlerInterceptor.java:78)
> at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:226)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:469)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:299)
> at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:251)
> at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
> at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
> ... 32 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list