Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 77877 invoked from network); 12 Feb 2010 03:09:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 03:09:30 -0000 Received: (qmail 6394 invoked by uid 500); 12 Feb 2010 03:09:28 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 6296 invoked by uid 500); 12 Feb 2010 03:09:27 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 6287 invoked by uid 99); 12 Feb 2010 03:09:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 03:09:27 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.116.83 as permitted sender) Received: from [65.55.116.83] (HELO blu0-omc3-s8.blu0.hotmail.com) (65.55.116.83) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 03:09:18 +0000 Received: from BLU142-W17 ([65.55.116.74]) by blu0-omc3-s8.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 11 Feb 2010 19:08:57 -0800 Message-ID: Content-Type: multipart/alternative; boundary="_f12a58c1-b3cc-4b4f-9ae4-2d8de011894b_" X-Originating-IP: [71.232.81.102] From: Martin Gainty To: Subject: RE: com.ctc.wstx.exc.WstxEOFException Date: Thu, 11 Feb 2010 22:08:57 -0500 Importance: Normal In-Reply-To: <0BDC5727ECCF4D40837F38B881C2871208D74185@dnzwgex1.datacom.co.nz> References: <0BDC5727ECCF4D40837F38B881C2871208D28B39@dnzwgex1.datacom.co.nz> <60708f4b1002102110y64ad4ceet3f79c339c6aa53ec@mail.gmail.com>,<0BDC5727ECCF4D40837F38B881C2871208D74185@dnzwgex1.datacom.co.nz> MIME-Version: 1.0 X-OriginalArrivalTime: 12 Feb 2010 03:08:57.0424 (UTC) FILETIME=[B7691D00:01CAAB90] --_f12a58c1-b3cc-4b4f-9ae4-2d8de011894b_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable can you publish the wsdl and the accompanying xsds? Martin Gainty=20 ______________________________________________=20 Verzicht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit= =E9 =20 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . Subject: RE: com.ctc.wstx.exc.WstxEOFException Date: Fri=2C 12 Feb 2010 15:47:49 +1300 From: Colin.Sharples@datacom.co.nz To: axis-user@ws.apache.org No=2C I=92m pretty sure this is a problem in the generated client. When I used tcpmon=2C I couldn=92t get the error at all. I don=92t get the error when calling the web service from SoapUI=2C nor from the Ecli= pse Web Services Test explorer. =20 I wrote a standalone Java program using the generated client stub to call the web service 10 times. It fails every second call=2C i.e. 5= out of the 10 calls fail=2C every time I run the program. =20 I=92m pretty sure I didn=92t specify broken=3D=94true=94 when I generated the client: =20 =20 =20 =20 =20 =20 =20 =20 I=92m just using the client stub generated by wsdl2java unchanged. =20 From: Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]=20 Sent: Thursday=2C 11 February 2010 6:11 p.m. To: axis-user@ws.apache.org Subject: Re: com.ctc.wstx.exc.WstxEOFException =20 =20 On Thu=2C Feb 11=2C 2010 at 2:26 AM=2C Colin Sharples [DATACOM] wrote: I have an Axis2 web service that was working fine=2C but in the last couple o= f days has started misbehaving. Every now and then=2C the client gets a com.ctc.ws= tx.exc.WstxEOFException when calling OperationClient.execute(). The exception detail says: =93Unexpected EOF in prolog at [row=2Ccol {unknown-source}]: [1=2C0]= =94 =20 The stack trace showed the fault occurred in org.apache.axis2.description.OutIn= AxisOperationClient.handleResponse()=2C just after AxisEngine.receive(). =20 I put some debugging into my service class=2C and it is clear that the incomi= ng request never gets into the service=2C which suggests that it is the reques= t from the client that is faulty.=20 I think it gets this exception when it try to parse the response. see the response message. You can use tcpmon[1] for that. thanks=2C Amila. [1] http://ws.apache.org/commons/tcpmon/download.cgi =20 Does anyone have any idea what might be causing this? =20 Colin Sharples =20 Solutions Architect | Datacom Systems & Integration Email: Colin.Sharples@datacom.co.nz | Mob: +64-27-457-6628 =20 --=20 Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/ =20 _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. http://clk.atdmt.com/GBL/go/201469230/direct/01/= --_f12a58c1-b3cc-4b4f-9ae4-2d8de011894b_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable can you publish the wsdl and the accompanying xsds?

Martin Gainty ______________________________________________
Verzicht und Vertrauli= chkeitanmerkung/Note de d=E9ni et de confidentialit=E9
 =3B
= Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen.
Ce message est =
confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes pas le destina=
taire pr=E9vu=2C nous te demandons avec bont=E9 que pour satisfaire informe=
z l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e ou la copie de=
 ceci est interdite. Ce message sert =E0 l'information seulement et n'aura =
pas n'importe quel effet l=E9galement obligatoire. =C9tant donn=E9 que les =
email peuvent facilement =EAtre sujets =E0 la manipulation=2C nous ne pouvo=
ns accepter aucune responsabilit=E9 pour le contenu fourni.





Subject: RE: com.ctc.wstx.exc.WstxEOFExce= ption
Date: Fri=2C 12 Feb 2010 15:47:49 +1300
From: Colin.Sharples@da= tacom.co.nz
To: axis-user@ws.apache.org

No=2C I=92m prett= y sure this is a problem in the generated client. When I used tcpmon=2C I couldn=92t get the error at all. I don=92t get the error when calling the web service from SoapUI=2C nor from the Ecli= pse Web Services Test explorer.

 =3B

I wrote a standal= one Java program using the generated client stub to call the web service 10 times. It fails every second call=2C i.e. 5= out of the 10 calls fail=2C every time I run the program.

 =3B

I=92m pretty sure= I didn=92t specify broken=3D=94true=94 when I generated the client:

 =3B

 =3B =3B =3B = <=3Btaskdef name=3D"wsdl2java"= classname=3D"org.apache.axis2.tool.a= nt.AntCodegenTask">=3B

 =3B =3B =3B =3B=  =3B =3B =3B <=3Bclasspath>=3B

 =3B =3B =3B =3B=  =3B =3B =3B =3B =3B =3B =3B <=3Bfileset dir=3D"${ax= is2-lib}"includes=3D"*.jar"/>=3B

 =3B =3B =3B =3B=  =3B =3B =3B <=3B/classpath>=3B

 =3B =3B =3B = <=3B/taskdef>=3B

 =3B =3B =3B = <=3Btarget name=3D"gen-wsdl-cl= ient-sch"

 =3B =3B =3B =3B=  =3B =3B =3B <=3Bwsdl2java wsdlfilename=3D= "ScheduleService.wsdl" packagename=3D= "nz.co.datacom.foo" databindingname=3D"jibx" synconly=3D"true" serverside=3D"false" <= span style=3D"font-size: 10pt=3B font-family: 'Courier New'=3B color: navy= =3B">generateservicexml=3D"false" unw= rap=3D"false" targetsourcefolderloc= ation=3D"../Client/src" overwrite= =3D"true">=3B

 =3B =3B =3B =3B=  =3B =3B =3B =3B =3B =3B =3B <=3Bparameter name=3D"b= indingfile" value=3D"binding.xml"/>=3B

 =3B =3B =3B =3B=  =3B =3B =3B <=3B/wsdl2java>=3B

 =3B =3B =3B = <=3B/target>=3B

 =3B

I=92m just using = the client stub generated by wsdl2java unchanged.

 =3B

From:= Amila Suriarachchi [mailto:amilasuriarachchi@gmail.com]
Sent: Thursday=2C 11 February 2010 6:11 p.m.
To: axis-user@ws.apache.org
Subject: Re: com.ctc.wstx.exc.WstxEOFException

 =3B

 =3B

On Thu=2C Feb 11=2C 2010 at 2:26 AM=2C Colin Shar= ples [DATACOM] <=3BColin.Sharples@datacom.co.nz>=3B wrote:

I have an Axis2 web service that was working fine=2C but in the last couple o= f days has started misbehaving. Every now and then=2C the client gets a c= om.ctc.wstx.exc.WstxEOFException when calling OperationClient.execute().  =3BThe exception de= tail says: =93Unexpected EOF in prolog at [row=2Ccol {unknown-source}]:= [1=2C0]=94

 =3B

The stack trace showed the fault occurred in org.apache.axis2.descrip= tion.OutInAxisOperationClient.handleResponse()=2C just after AxisEngine.receive().

 =3B

I put some debugging into my service class=2C and it is clear that the incomi= ng request never gets into the service=2C which suggests that it is the reques= t from the client that is faulty.


I think it gets this exception when it try to parse the response. see the response message. You can use tcpmon[1] for that.

thanks=2C
Amila.

[1] http://ws.apache.org/commons/tcpmon/download.cgi

 =3B

Does anyone have any idea what might be causing this?

 =3B

Colin Sharples

 =3B

Solutions Architect | Datacom Systems &=3B Integration

Email: Colin.Sharples@datacom.co.nz | Mob: +64-27-457-6628

 =3B




--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/



Hotmail: Powerful Free email with security by= Microsoft. Get it now. = --_f12a58c1-b3cc-4b4f-9ae4-2d8de011894b_--