Return-Path: Delivered-To: apmail-openejb-users-archive@www.apache.org Received: (qmail 31157 invoked from network); 6 Aug 2008 14:21:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2008 14:21:30 -0000 Received: (qmail 20776 invoked by uid 500); 6 Aug 2008 14:21:29 -0000 Delivered-To: apmail-openejb-users-archive@openejb.apache.org Received: (qmail 20757 invoked by uid 500); 6 Aug 2008 14:21:28 -0000 Mailing-List: contact users-help@openejb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openejb.apache.org Delivered-To: mailing list users@openejb.apache.org Received: (qmail 20746 invoked by uid 99); 6 Aug 2008 14:21:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 07:21:28 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karan.malhi@gmail.com designates 64.233.184.229 as permitted sender) Received: from [64.233.184.229] (HELO wr-out-0506.google.com) (64.233.184.229) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2008 14:20:32 +0000 Received: by wr-out-0506.google.com with SMTP id 68so2790528wra.7 for ; Wed, 06 Aug 2008 07:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=9EYLYmeQOsCW9HW4qkA5psyQ33LUTDeIg4VoKDqQ/nM=; b=A+QLq/0JG33PXpZRJr1t6hTcgGL+GOaezztxiVtbVtEQg4ldwsBflDmgNruPyqMZWv xmIX6mmZFKRvhhSHkSZsFdDLQ5IJaP5Fs8IPkhnLvTsampxtCpf/oiSItLXn1TO0yG8R ld5A8PjzRtx/AgjjetCOXUUgKVJhQsB8pPgy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=BEjizmjrsbmAiYc7EFKGPFPdwQyNMVHkSYsvCJfEaWMxjeCh3ZK9LPM6CzLcw9G5ig i+/gcpOMpXfGixhaaOgsdjm3Lui3kw0nrTBF0970cZwtKlYfOlX1owQHtGySCFO0f9TG 7CNxo9LsDtnNcISJI0CIaWz57HlUbFpvEQQRY= Received: by 10.90.94.2 with SMTP id r2mr1093351agb.15.1218032458610; Wed, 06 Aug 2008 07:20:58 -0700 (PDT) Received: by 10.90.116.15 with HTTP; Wed, 6 Aug 2008 07:20:58 -0700 (PDT) Message-ID: Date: Wed, 6 Aug 2008 10:20:58 -0400 From: "Karan Malhi" To: users@openejb.apache.org Subject: Re: WebServices too long result In-Reply-To: <18840355.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20512_31465753.1218032458605" References: <18840342.post@talk.nabble.com> <18840355.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_20512_31465753.1218032458605 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Not sure, but looks like the connection on the client is closing earlier than required. It would be nice if we could somehow see the actual traffic on the wire. Have you used TcpMon before? Could you setup TcpMon and send us the back and forth traffic between the client and server. On Tue, Aug 5, 2008 at 5:31 PM, hofmanndavid wrote: > > Sorry I forgot to tell that the exception is indeed in the client, no the > in > the server > > > hofmanndavid wrote: > > > > I have a webservice exposed in a embedded openejb, from another computer > I > > am calling that webservice > > > > the scenario is this: > > I am calling a method signature like this > > String myMethod(String arg) > > > > if the answer of myMethod is too long it shows the next exception, if it > > is not too long, it just works, the exception does not come from the > > implementation of the method of the webservice, it raised in the cilent I > > think. > > > > I am not sure if I am doing something wrong, the code I use is based in > > the simple-webservice pattern, no new things where added > > > > I will greatly appreciate an answer :) > > > > 05/08/2008 04:53:28 PM > > org.apache.cxf.service.factory.ReflectionServiceFactoryBean > > buildServiceFromWSDL > > INFO: Creating Service {http://10.129.6.137/wsdl}GemConnectWSServicefrom > > WSDL: http://10.129.6.137:4204/GemConnectWSImpl?wsdl > > 05/08/2008 04:53:29 PM org.apache.cxf.phase.PhaseInterceptorChain > > doIntercept > > INFO: Interceptor has thrown exception, unwinding now > > org.apache.cxf.interceptor.Fault: Could not create > > XMLStreamReader(encoding UTF-8). > > at > > > org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67) > > at > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) > > at > org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:429) > > at > > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1955) > > at > > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1791) > > at > > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) > > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:575) > > at > > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > > at > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) > > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276) > > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222) > > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > > at > > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) > > at $Proxy16.listAvailableServices(Unknown Source) > > at > > py.com.personal.webvas.gcsmclient.ws.test.MainTest.main(MainTest.java:25) > > Caused by: com.ctc.wstx.exc.WstxIOException: Connection reset > > at > > com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548) > > at > com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604) > > at > com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629) > > at > > > com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324) > > at > > > org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:65) > > ... 14 more > > Caused by: java.net.SocketException: Connection reset > > at java.net.SocketInputStream.read(Unknown Source) > > at java.io.BufferedInputStream.fill(Unknown Source) > > at java.io.BufferedInputStream.read1(Unknown Source) > > at java.io.BufferedInputStream.read(Unknown Source) > > at sun.net.www.MeteredStream.read(Unknown Source) > > at java.io.FilterInputStream.read(Unknown Source) > > at > > sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown > > Source) > > at > > sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown > > Source) > > at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362) > > at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110) > > at > > > com.ctc.wstx.io.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245) > > at > > > com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132) > > at > > com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543) > > ... 18 more > > Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Could > not > > create XMLStreamReader(encoding UTF-8). > > at > > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:175) > > at $Proxy16.listAvailableServices(Unknown Source) > > at > > py.com.personal.webvas.gcsmclient.ws.test.MainTest.main(MainTest.java:25) > > Caused by: org.apache.cxf.interceptor.Fault: Could not create > > XMLStreamReader(encoding UTF-8). > > at > > > org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:67) > > at > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) > > at > org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:429) > > at > > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1955) > > at > > > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1791) > > at > > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66) > > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:575) > > at > > > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) > > at > > > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208) > > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276) > > at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222) > > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > > at > > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) > > ... 2 more > > Caused by: com.ctc.wstx.exc.WstxIOException: Connection reset > > at > > com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:548) > > at > com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604) > > at > com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:629) > > at > > > com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324) > > at > > > org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:65) > > ... 14 more > > Caused by: java.net.SocketException: Connection reset > > at java.net.SocketInputStream.read(Unknown Source) > > at java.io.BufferedInputStream.fill(Unknown Source) > > at java.io.BufferedInputStream.read1(Unknown Source) > > at java.io.BufferedInputStream.read(Unknown Source) > > at sun.net.www.MeteredStream.read(Unknown Source) > > at java.io.FilterInputStream.read(Unknown Source) > > at > > sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown > > Source) > > at > > sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown > > Source) > > at com.ctc.wstx.io.UTF8Reader.loadMore(UTF8Reader.java:362) > > at com.ctc.wstx.io.UTF8Reader.read(UTF8Reader.java:110) > > at > > > com.ctc.wstx.io.ReaderBootstrapper.initialLoad(ReaderBootstrapper.java:245) > > at > > > com.ctc.wstx.io.ReaderBootstrapper.bootstrapInput(ReaderBootstrapper.java:132) > > at > > com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543) > > ... 18 more > > > > > > -- > View this message in context: > http://www.nabble.com/WebServices-too-long-result-tp18840342p18840355.html > Sent from the OpenEJB User mailing list archive at Nabble.com. > > -- Karan Singh Malhi ------=_Part_20512_31465753.1218032458605--