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 ----- 
  Wrom: OWCONEUQZAAFXI
  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


   
   
   

Reply via email to