axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <>
Subject RE: com.ctc.wstx.exc.WstxEOFException
Date Fri, 12 Feb 2010 03:08:57 GMT

can you publish the wsdl and the accompanying xsds?

Martin Gainty 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist
unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet
keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire
prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe
quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information
seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les
email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune
responsabilité pour le contenu fourni.

Subject: RE: com.ctc.wstx.exc.WstxEOFException
Date: Fri, 12 Feb 2010 15:47:49 +1300

No, I’m pretty sure this is a problem in the generated
client. When I used tcpmon, I couldn’t get the error at all. I don’t
get the error when calling the web service from SoapUI, nor from the Eclipse
Web Services Test explorer.


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


I’m pretty sure I didn’t specify broken=”true”
when I generated the client:


    <taskdef name="wsdl2java" classname="org.apache.axis2.tool.ant.AntCodegenTask">


<fileset dir="${axis2-lib}" includes="*.jar"/>



    <target name="gen-wsdl-client-sch">

<wsdl2java wsdlfilename="ScheduleService.wsdl" packagename="" databindingname="jibx"
synconly="true" serverside="false" generateservicexml="false" unwrap="false" targetsourcefolderlocation="../Client/src"

<parameter name="bindingfile" value="binding.xml"/>




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


From: Amila Suriarachchi

Sent: Thursday, 11 February 2010 6:11 p.m.


Subject: Re: com.ctc.wstx.exc.WstxEOFException



On Thu, Feb 11, 2010 at 2:26 AM, Colin Sharples [DATACOM]

have an Axis2 web service that was working fine, but in the last couple of days
has started misbehaving. Every now and then, the client gets a com.ctc.wstx.exc.WstxEOFException
when calling OperationClient.execute().  The exception detail
says: “Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]”


stack trace showed the fault occurred in org.apache.axis2.description.OutInAxisOperationClient.handleResponse(),
just after AxisEngine.receive().


put some debugging into my service class, and it is clear that the incoming
request never gets into the service, which suggests that it is the request 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.





anyone have any idea what might be causing this?




Architect | Datacom Systems & Integration

| Mob: +64-27-457-6628



Amila Suriarachchi

WSO2 Inc.


Hotmail: Powerful Free email with security by Microsoft.
View raw message