]
Thomas Diesler updated JBWS-859:
--------------------------------
Fix Version/s: jbossws-1.0.6
(was: jbossws-1.0.5)
If this issue has been rescheduled to 1.0.6 it is because we currently focus 80% of our
effort on JAXWS. If need a particular feature or bugfix to be included in 1.0.5 you are
welcome to get involved and contribute.
SOAPMessageUnMarshaller doesn't support HTTP server response
[204] - No Content
-------------------------------------------------------------------------------
Key: JBWS-859
URL:
http://jira.jboss.com/jira/browse/JBWS-859
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jaxrpc
Affects Versions: jbossws-1.0.0, jbossws-1.0.0.CR4
Environment: JBoss-4.0.4.CR2
JBossWS-1.0.0.CR4
Java Version 1.5.0_06
Java VM Version 1.5.0_06-b05
OS Name Windows 2003
jaxm1.1.2 using the jaxm-remote sample which is an example that uses a remote provider
to send and receive messages using the ebXML profile.
OS Version 5.2
OS Arch x86
Reporter: Aaron Walker
Assigned To: Thomas Diesler
Fix For: jbossws-1.0.6
Attachments: JBWS-859.patch
Parital log info from server.log - debug level. Let me know if you want a trace level
log.
2006-04-24 21:30:04,593 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Get locator for:
http://127.0.0.1:8080/jaxm-provider/sender
2006-04-24 21:30:04,593 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Remoting meta data:
{HEADER={SOAPAction="", Content-Type=text/xml}}
2006-04-24 21:30:04,593 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Outgoing
SOAPMessage
<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header>
<jaxm:ClientInfo
env:actor='http://java.sun.com/xml/jaxm/provider'
env:mustUnderstand='1'
xmlns:jaxm='http://java.sun.com/xml/jaxm'>
<Method>InitConnection</Method>
<
Endpoint>http://www.wombats.com/remote/sender</Endpoint>
<CallbackURL>http://localhost:8080/jaxm-remote/receiver</CallbackURL>
</jaxm:ClientInfo>
</env:Header>
<env:Body/>
</env:Envelope>
2006-04-24 21:30:04,593 DEBUG [org.jboss.remoting.Client] invoke called, but our invoker
is disconnected, discarding and fetching another fresh invoker for: InvokerLocator
[
http://127.0.0.1:8080/jaxm-provider/sender]
2006-04-24 21:30:04,593 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker]
connect called for: org.jboss.remoting.transport.http.HTTPClientInvoker@6d23ea
2006-04-24 21:30:04,593 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker]
Setting request header with SOAPAction : ""
2006-04-24 21:30:04,593 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker]
Setting request header with Content-Type : text/xml
2006-04-24 21:30:04,593 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage:
[contentType=text/xml]
2006-04-24 21:30:04,593 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment:
<jaxm:ClientInfo
env:actor='http://java.sun.com/xml/jaxm/provider'
env:mustUnderstand='1'
xmlns:jaxm='http://java.sun.com/xml/jaxm'><Method>InitCo...
2006-04-24 21:30:04,609 INFO [com.sun.xml.messaging.jaxm.provider] Processing
InitConnection
2006-04-24 21:30:04,609 DEBUG [org.jboss.ws.binding.soap.SOAPMessageUnMarshaller]
getMimeHeaders from: {X-Powered-By=[Servlet 2.4; JBoss-4.0.4.CR2 (build:
CVSTag=JBoss_4_0_4_CR2 date=200603311500)/Tomcat-5.5], ResponseCodeMessage=OK, Date=[Mon,
24 Apr 2006 11:30:04 GMT], Content-Type=[text/xml], Server=[Apache-Coyote/1.1],
HEADER={SOAPAction="", Content-Type=text/xml}, Transfer-Encoding=[chunked],
null=[HTTP/1.1 200 OK], ResponseCode=200}
2006-04-24 21:30:04,609 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage:
[contentType=text/xml]
2006-04-24 21:30:04,609 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment:
<jaxm:Message
env:actor='http://java.sun.com/xml/jaxm/provider'
env:mustUnderstand='1'
xmlns:jaxm='http://java.sun.com/xml/jaxm'><Method>MetaDa...
Microsystems JAXM RI Remote
provider</Name><MajorVersion>1</MajorVersion><MinorVersion>1</MinorVersion><SupportedProfiles><ProfileName>ebxml</ProfileName><ProfileName>soaprp</ProfileName></SupportedProfiles></jaxm:Message>
2006-04-24 21:30:04,609 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Incomming Response
SOAPMessage
<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header>
<jaxm:Message
env:actor='http://java.sun.com/xml/jaxm/provider'
env:mustUnderstand='1'
xmlns:jaxm='http://java.sun.com/xml/jaxm'>
<Method>MetaData</Method>
<Name>Sun Microsystems JAXM RI Remote provider</Name>
<MajorVersion>1</MajorVersion>
<MinorVersion>1</MinorVersion>
<SupportedProfiles>
<ProfileName>ebxml</ProfileName>
<ProfileName>soaprp</ProfileName>
</SupportedProfiles>
</jaxm:Message>
</env:Header>
<env:Body/>
</env:Envelope>
2006-04-24 21:30:04,640 ERROR [STDERR] Sending message to :
http://www.wombats.com/remote/sender
2006-04-24 21:30:04,640 ERROR [STDERR] Sent message is logged in "sent.msg"
2006-04-24 21:30:04,640 DEBUG [org.jboss.ws.soap.attachment.CIDGenerator]
generateFromCount: cid:0-1145878204640-744320@ws.jboss.org
2006-04-24 21:30:04,640 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Get locator for:
http://127.0.0.1:8080/jaxm-provider/sender
2006-04-24 21:30:04,640 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Remoting meta data:
{HEADER={SOAPAction="", Content-Type=multipart/related;
type="text/xml"; start="<rootpart(a)ws.jboss.org>";
boundary="----=_Part_1_11886941.1145878204640"}}
2006-04-24 21:30:04,640 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Outgoing
SOAPMessage
<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Header>
<jaxm:Message
env:actor='http://java.sun.com/xml/jaxm/provider'
env:mustUnderstand='1'
xmlns:jaxm='http://java.sun.com/xml/jaxm'>
<Method>SendMessage</Method>
<Profile>ebxml</Profile>
</jaxm:Message>
<eb:MessageHeader SOAP-ENV:mustUnderstand='1' eb:version='1.0'
xmlns:eb='http://www.oasis-open.org/committees/ebxml-msg/schema/msg-h...
<eb:From>
<eb:PartyId
eb:type='URI'>http://www.wombats.com/remote/sender</eb:Part...
</eb:From>
<eb:To>
<eb:PartyId
eb:type='URI'>http://www.wombats.com/remote/sender</eb:Part...
</eb:To>
<
eb:CPAId>http://example.com/cpas/ourcpawithyou.xml</eb:CPAId>
<eb:ConversationId>20001209-133003-28572</eb:ConversationId>
<eb:Service eb:type=''>SupplierOrderProcessing</eb:Service>
<eb:Action>NewOrder</eb:Action>
<eb:MessageData>
<eb:MessageId>d5b9e018-580d-4bb6-88f8-e92f132de17a</eb:MessageId>
<eb:RefToMessageId>20001209-133003-28572@example.com</eb:RefToMessageId>
<eb:Timestamp>1145878204609</eb:Timestamp>
</eb:MessageData>
</eb:MessageHeader>
</env:Header>
<env:Body>
<eb:Manifest eb:id='manifest' eb:version='1.0'
xmlns:eb='http://www.oasis-open.org/committees/ebxml-msg/schema/msg-h...
<eb:Reference eb:id='pay01' xlink:href='cid:pay01'
xlink:role='http://regrep.org/gci/purchaseorder'
xmlns:xlink='http://www.w3.org/1999/xlink'>
<eb:Schema
eb:location='http://regrep.org/gci/purchaseorder.xsd'
eb:version='1.0'/>
<eb:Description xml:lang='en-us'>PurchaseOrder for
widgets</eb:Description>
</eb:Reference>
</eb:Manifest>
</env:Body>
</env:Envelope>
2006-04-24 21:30:04,640 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker]
Setting request header with SOAPAction : ""
2006-04-24 21:30:04,640 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker]
Setting request header with Content-Type : multipart/related; type="text/xml";
start="<rootpart(a)ws.jboss.org>";
boundary="----=_Part_1_11886941.1145878204640"
2006-04-24 21:30:04,671 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage:
[contentType=multipart/related; type="text/xml";
boundary="----=_Part_1_11886941.1145878204640";
start="<rootpart(a)ws.jboss.org>"]
2006-04-24 21:30:04,671 DEBUG [org.jboss.ws.soap.attachment.SwapableMemoryDataSource]
Using memory buffer, size = 112
2006-04-24 21:30:04,671 DEBUG [org.jboss.ws.soap.attachment.SwapableMemoryDataSource]
Using memory buffer, size = 168
2006-04-24 21:30:04,671 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Error
invoking http client invoker.
org.jboss.ws.WSException: Invalid HTTP server response [204] - No Content
at
org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:73)
at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
at
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
at org.jboss.remoting.Client.invoke(Client.java:525)
at org.jboss.remoting.Client.invoke(Client.java:488)
at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:158)
at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:76)
at
com.sun.xml.messaging.jaxm.client.remote.ProviderConnectionImpl.send(ProviderConnectionImpl.java:179)
at remote.sender.SendingServlet.doGet(SendingServlet.java:150)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
2006-04-24 21:30:04,671 ERROR [STDERR] javax.xml.soap.SOAPException: Could not transmit
message
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:173)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:76)
2006-04-24 21:30:04,671 ERROR [STDERR] at
com.sun.xml.messaging.jaxm.client.remote.ProviderConnectionImpl.send(ProviderConnectionImpl.java:179)
2006-04-24 21:30:04,671 ERROR [STDERR] at
remote.sender.SendingServlet.doGet(SendingServlet.java:150)
2006-04-24 21:30:04,671 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
2006-04-24 21:30:04,671 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
2006-04-24 21:30:04,671 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
2006-04-24 21:30:04,671 ERROR [STDERR] Caused by:
org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.remoting.Client.invoke(Client.java:525)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.remoting.Client.invoke(Client.java:488)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:158)
2006-04-24 21:30:04,671 ERROR [STDERR] ... 24 more
2006-04-24 21:30:04,671 ERROR [STDERR] Caused by: org.jboss.ws.WSException: Invalid HTTP
server response [204] - No Content
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:73)
2006-04-24 21:30:04,671 ERROR [STDERR] at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
2006-04-24 21:30:04,671 ERROR [STDERR] ... 29 more
2006-04-24 21:30:04,671 ERROR [com.sun.xml.messaging.jaxm.client.remote] Message send
failed
javax.xml.soap.SOAPException: Could not transmit message
at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:173)
at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:76)
at
com.sun.xml.messaging.jaxm.client.remote.ProviderConnectionImpl.send(ProviderConnectionImpl.java:179)
at remote.sender.SendingServlet.doGet(SendingServlet.java:150)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client
invoker.
at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201)
at
org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81)
at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
at org.jboss.remoting.Client.invoke(Client.java:525)
at org.jboss.remoting.Client.invoke(Client.java:488)
at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:158)
... 24 more
Caused by: org.jboss.ws.WSException: Invalid HTTP server response [204] - No Content
at
org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:73)
at
org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: