detail.php
OW2 Forge: Detail: 305068 http header contain Content-Length=0 will cause exception

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
Celtix ESB
          
 
 
Summary
Forums
Tracker
Lists
Tasks
News
Files
SVN
                
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #305068 ] http header contain Content-Length=0 will cause exception

Date:
2006-04-26 11:56
Priority:
5
Submitted By:
Freeman Fang (ffang)
Assigned To:
Daniel Kulp (dkulp)
Category:
runtime
State:
Open
Summary:
http header contain Content-Length=0 will cause exception

Detailed description:
During ws-addressing interoperability between celtix client and dotnet server, some reponse soap message from dotnet server contain http header like Content-Length=0, this will cause exception like Echo.Client: [java] Invoking echo... [java] Apr 26, 2006 5:48:49 PM org.objectweb.celtix.common.injection.ResourceInjector visitField [java] SEVERE: failed to resolve resource org.objectweb.celtix.bindings.server.binding [java] Apr 26, 2006 5:48:50 PM org.objectweb.celtix.common.injection.ResourceInjector visitField [java] SEVERE: failed to resolve resource org.objectweb.celtix.bindings.server.transport [java] handle message is invoked [java] Outbound WS-Addressing headers [java] MessageID : urn:uuid:b3f7bbd8-bac1-47da-9bea-267edd83aa40 [java] To : http://131.107.72.15/WSAddressingCR_Service_WCF/WSAddressingAugust2004.svc/Soap11 [java] ReplyTo : http://schemas.xmlsoap.org/ws/2004/08/addressing/anonymous [java] FaultTo : http://schemas.xmlsoap.org/ws/2004/08/addressing/anonymous [java] Action : http://example.org/action/echoIn [java] ERROR: 'Premature end of file.' [java] Apr 26, 2006 5:48:50 PM com.sun.xml.messaging.saaj.soap.EnvelopeFactory createEnvelope [java] SEVERE: SAAJ0511: Unable to create envelope from given source [java] Apr 26, 2006 5:48:50 PM org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl read [java] SEVERE: Error while parsing input message [java] com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: [java] at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:95) [java] at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:51) [java] at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:102) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.read(SOAPBindingImpl.java:381) [java] at org.objectweb.celtix.bindings.Response.safeRead(Response.java:124) [java] at org.objectweb.celtix.bindings.Response.processProtocol(Response.java:90) [java] at org.objectweb.celtix.bindings.AbstractClientBinding.invoke(AbstractClientBinding.java:160) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invokeSEIMethod(EndpointInvocationHandler.java:133) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:69) [java] at $Proxy31.echo(Unknown Source) [java] at org.example.echo.EchoClient.explicitPropagation(EchoClient.java:109) [java] at org.example.echo.EchoClient.main(EchoClient.java:59) [java] Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Premature end of file. [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:650) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) [java] at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:371) [java] at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:83) [java] ... 11 more [java] Caused by: org.xml.sax.SAXParseException: Premature end of file. [java] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269) [java] at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:584) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) [java] ... 14 more [java] CAUSE: [java] javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Premature end of file. [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:650) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) [java] at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:371) [java] at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:83) [java] at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:51) [java] at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:102) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.read(SOAPBindingImpl.java:381) [java] at org.objectweb.celtix.bindings.Response.safeRead(Response.java:124) [java] at org.objectweb.celtix.bindings.Response.processProtocol(Response.java:90) [java] at org.objectweb.celtix.bindings.AbstractClientBinding.invoke(AbstractClientBinding.java:160) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invokeSEIMethod(EndpointInvocationHandler.java:133) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:69) [java] at $Proxy31.echo(Unknown Source) [java] at org.example.echo.EchoClient.explicitPropagation(EchoClient.java:109) [java] at org.example.echo.EchoClient.main(EchoClient.java:59) [java] Caused by: org.xml.sax.SAXParseException: Premature end of file. [java] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269) [java] at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:584) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) [java] ... 14 more [java] --------- [java] org.xml.sax.SAXParseException: Premature end of file. [java] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269) [java] at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:584) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) [java] at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:371) [java] at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:83) [java] at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:51) [java] at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:102) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.read(SOAPBindingImpl.java:381) [java] at org.objectweb.celtix.bindings.Response.safeRead(Response.java:124) [java] at org.objectweb.celtix.bindings.Response.processProtocol(Response.java:90) [java] at org.objectweb.celtix.bindings.AbstractClientBinding.invoke(AbstractClientBinding.java:160) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invokeSEIMethod(EndpointInvocationHandler.java:133) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:69) [java] at $Proxy31.echo(Unknown Source) [java] at org.example.echo.EchoClient.explicitPropagation(EchoClient.java:109) [java] at org.example.echo.EchoClient.main(EchoClient.java:59) [java] Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: [java] com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:95) [java] com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:51) [java] com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:102) [java] org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.read(SOAPBindingImpl.java:381) [java] org.objectweb.celtix.bindings.Response.safeRead(Response.java:124) [java] org.objectweb.celtix.bindings.Response.processProtocol(Response.java:90) [java] org.objectweb.celtix.bindings.AbstractClientBinding.invoke(AbstractClientBinding.java:160) [java] org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invokeSEIMethod(EndpointInvocationHandler.java:133) [java] org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:69) [java] $Proxy31.echo(Unknown Source) [java] org.example.echo.EchoClient.explicitPropagation(EchoClient.java:109) [java] org.example.echo.EchoClient.main(EchoClient.java:59) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPFaultExHelper.createSOAPFaultEx(SOAPFaultExHelper.java:41) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPFaultExHelper.createSOAPFaultEx(SOAPFaultExHelper.java:25) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.read(SOAPBindingImpl.java:384) [java] at org.objectweb.celtix.bindings.Response.safeRead(Response.java:124) [java] at org.objectweb.celtix.bindings.Response.processProtocol(Response.java:90) [java] at org.objectweb.celtix.bindings.AbstractClientBinding.invoke(AbstractClientBinding.java:160) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invokeSEIMethod(EndpointInvocationHandler.java:133) [java] at org.objectweb.celtix.bus.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:69) [java] at $Proxy31.echo(Unknown Source) [java] at org.example.echo.EchoClient.explicitPropagation(EchoClient.java:109) [java] at org.example.echo.EchoClient.main(EchoClient.java:59) [java] Caused by: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source: [java] at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:95) [java] at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:51) [java] at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:102) [java] at org.objectweb.celtix.bus.bindings.soap.SOAPBindingImpl.read(SOAPBindingImpl.java:381) [java] ... 8 more [java] Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Premature end of file. [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:650) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279) [java] at com.sun.xml.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:371) [java] at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:83) [java] ... 11 more [java] Caused by: org.xml.sax.SAXParseException: Premature end of file. [java] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269) [java] at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:584) [java] at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638) [java] ... 14 more the attachment is test code, ant Echo.Client can reproduce the problem

Add A Comment:

Please login

Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
ws-addressing200408.jar the attachment is test code, ant Echo.Client can reproduce the problem Download

Changes:

Field Old Value Date By
artifact_group_id1.0Beta2006-04-28 16:36adisakala
artifact_group_idNone2006-04-27 20:31adisakala
assigned_tonone2006-04-27 17:52adisakala
File Added499: ws-addressing200408.jar2006-04-26 11:56ffang

Copyright © 1999-2008, OW2 Consortium | contact | You have a difficulty, a problem ? Please report an issue using your OW2 forge account credentials