Hi Using Windows XP, Tomcat 5.5, Java 5.0, Ant 1.7, I can not get the Axis2 sample pojoguide client program, WeatherRPCClient, to send a correct SOAP request to the the uploaded WeatherService.
The service was correctly built using the ant task and uploaded using the AdminServlet. With a browser: http://127.0.0.1:8080/axis2/services/WeatherService?wsdl The service is OK Here is a part of the client: public class WeatherRPCClient { public static void main(String[] args1) throws AxisFault { RPCServiceClient serviceClient = new RPCServiceClient(); Options options = serviceClient.getOptions (); EndpointReference targetEPR = new EndpointReference("http://localhost:80/axis2/services/WeatherService <http://localhost/axis2/services/WeatherService>"); options.setTo (targetEPR); // Setting the weather QName opSetWeather = new QName("http://service.pojo.sample/xsd ", "setWeather"); When I start the client > ant rpc.client I receive the error: org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog And the tcpmon shows the Http request: ----- SOAPAction: "urn:anonRobustOp" User-Agent: Axis2 Host: localhost Transfer-Encoding: chunked 0 0 ----- The classpath. AXISCLASSPATH, path are set to Axis2, java and ant Directory structure: Tomcat 5.5/axis2/axis2-web/WEB-INF/samples/pojoguide Rick Isaacs