[
https://jira.jboss.org/jira/browse/JBWS-2561?page=com.atlassian.jira.plug...
]
Richard Opalka commented on JBWS-2561:
--------------------------------------
The CXF request looks like:
POST /jaxws-samples-xop-doclit/bare HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Accept: *
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_17
Host: 127.0.0.1:8080
Connection: keep-alive
Content-Length: 238
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:echoDataHandler xmlns:ns2="http://org.jboss.ws/xop/doclit">
<dataHandler>Q2xpZW50IGRhdGE=</dataHandler>
</ns2:echoDataHandler>
</soap:Body>
</soap:Envelope>
The Metro request looks like:
POST /jaxws-samples-xop-doclit/bare HTTP/1.1
SOAPAction: ""
Content-Type:
multipart/related;start="<rootpart*b8f3549e-37cc-4537-b8cf-3b8cff07b919@example.jaxws.sun.com>";type="application/xop+xml";boundary="uuid:b8f3549e-37cc-4537-b8cf-3b8cff07b919";start-info="text/xml"
Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
User-Agent: JAX-WS RI 2.1.4-b01-
Host: localhost:8080
Connection: keep-alive
Content-Length: 538
--uuid:b8f3549e-37cc-4537-b8cf-3b8cff07b919
Content-Id: <rootpart*b8f3549e-37cc-4537-b8cf-3b8cff07b919(a)example.jaxws.sun.com>
Content-Type: application/xop+xml;charset=utf-8;type="text/xml"
Content-Transfer-Encoding: binary
<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope
xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:echoDataHandler xmlns:ns2="http://org.jboss.ws/xop/doclit">
<dataHandler>Q2xpZW50IERhdGE=</dataHandler>
</ns2:echoDataHandler>
</S:Body>
</S:Envelope>
--uuid:b8f3549e-37cc-4537-b8cf-3b8cff07b919--
They differ, we need to investigate why this happens?
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
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