Hi Martin, The problem is that I can not get the Axis2 client samples to send a soapenv in the http request,
thus the service tries to parse a http request that is missing. I think the problem lies with how I am using the Axis2 sample Ant tasks and not understanding the manual well enough. I have reread and retried the examples. They build and the services deploy OK, but no clients works, but builds OK. I downloaded and unzipped axis2-1.3-bin.zip from 26 Oct 07 axis2-1.3-docs.zip I moved the axis2.war to Tomcat and restarted Tomcat to create the axis2 directory. I moved the Axis2 \samples directory to C:\apache- tomcat-5.5.25\webapps\axis2\WEB-INF For \pojoguide, \quickstart and \quickstartadb, I used the README.txt to build the services. I used the AdminServlet to deploy the services and used the Ant client run. Ant rpc.client or the Ant run.client to build and run the clients, with the Prolog error. If I could these samples to work, then I would be able to understand the manual better. Maybe the manual is not up to date or the samples are missing something or I overlooked something. Try to get the \quickstartadb to work. Thank you for your patience and effort. Rick --------------------------------------------------------------------------------------------------------------------- Hi Rick- if you display the wsdl I'll try WSDL2Java to produce the service which I will then upload the aar/activate the service then write a client to extract at least 1 parameter.. Thanks/ Martin- ----- Original Message ----- *From:* Rick Isaacs <[EMAIL PROTECTED]> *To:* [email protected] *Sent:* Tuesday, November 06, 2007 8:18 AM *Subject:* Re: Axis2 sample - pojoguide Unexpected EOF in prolog Hi Martin, Thank you for your suggestions. I still the get the same prolog error for the pojoguide sample I checked and tried various ideas along with your suggestions without a sample client working. >I dont believe CHUNKED_ENCODING is enabled as a default?.. to verify > >please display contents of >%CATALINA_HOME%/webapps/axis2/WEB-INF/conf/axis2.xml > >Also prolog error codes are caused by the parser so verifying the version of xerces is critical > >My xerces is located at >%CATALINA_HOME%/webapps/axis2/WEB-INF/lib/xercesImpl-2.8.1.jar >(i.e. Xerces version 2.8.1) > >Martin 1.) I un-installed the windows Tomcat installation and downloaded the tomcat5.5.25 zip and moved it on c/tomcat 2.) using notepad %CATALINA_HOME%/webapps/axis2/WEB-INF/conf/axis2.xml my axis2.xml shows that encoding check is enabled. part of the standard axis2.xml ...... <transportSender name="tcp" class=" org.apache.axis2.transport.tcp.TCPTransportSender"/> <transportSender name="local" class=" org.apache.axis2.transport.local.LocalTransportSender"/> <transportSender name="http" class=" org.apache.axis2.transport.http.CommonsHTTPTransportSender "> <parameter name="PROTOCOL">HTTP/1.1</parameter> <parameter name="Transfer-Encoding">chunked</parameter> ...... 3.) I used filemon.exe and traced the startup of Tomcat 12:26:13 java.exe:3000 READ C:\apache- tomcat-5.5.25\webapps\axis2\WEB-INF\conf\axis2.xml SUCCESS Offset: 0 Length: 24161 to check that the correct file was read. 4.) I used filemon to trace the run of sample pojoguide ant rpc.client.run 12:30:41 java.exe:3760 READ C:\apache- tomcat-5.5.25\webapps\axis2\WEB-INF\lib\xercesImpl-2.8.1.jar SUCCESS Offset: 1123181 Length: 89762 to check that the correct file was read. The xeces*.jar and the axis2.xml seem to be correct and in the right place Maybe there is something else incorrectly configured? Is there any way to get more tracing information after the call to serviceClient.invokeRobust(opSetWeather, opSetWeatherArgs); ? Is there a site where I could compare my installation against a working one? Rick
