I found a tiny Axis2 tutorial, "Hello world with Apache Axis2"(http://people.apache.org/~ruchithf/hw-axis2/) and tried it. But I've kept having a compile error as I ran javac as in "Step 5: Accessing the service with a generated client." The java files created (SimpleServiceStub.java and SimpleServiceCallbackHandler.java) don't have either EchoResponse or Echo method. I believe I followed correctly as guided because I was able to see the browser showing exactly same page shown at Step4. I would appreciate if anyone had had similar experience and would help us out?
Screen log is : ---------------------------------------------------------------- P:\cs575\axis2\test>hw-axis2-javac P:\cs575\axis2\test>set cdir=P:\cs575\axis2\test P:\cs575\axis2\test>cd P:\cs575\axis2\test\hw-axis2-code\src P:\cs575\axis2\test\hw-axis2-code\src>javac -extdirs /cs575/axis2/axis2-std-1.0-bin/lib/ org/apache/axis2/*.java -d ../temp/ org/apache/axis2/Client.java:4: cannot find symbol symbol : class EchoResponse location: class org.apache.axis2.SimpleServiceStub import org.apache.axis2.SimpleServiceStub.EchoResponse; ^ org/apache/axis2/Client.java:13: cannot find symbol symbol : class Echo location: class org.apache.axis2.SimpleServiceStub SimpleServiceStub.Echo request = new SimpleServiceStub.Echo(); ^ org/apache/axis2/Client.java:13: cannot find symbol symbol : class Echo location: class org.apache.axis2.SimpleServiceStub SimpleServiceStub.Echo request = new SimpleServiceStub.Echo(); ^ org/apache/axis2/Client.java:17: cannot find symbol symbol : class EchoResponse location: class org.apache.axis2.Client EchoResponse response = stub.echo(request); ^ Note: org/apache/axis2/SimpleServiceStub.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors ---------------------------------------------------------------- By clicking SimpleService link on that page, wsdl was displayed. Copy of the wsdl displayed is: <wsdl:definitions targetNamespace="http://ws.apache.org/axis2"> <wsdl:types/> <wsdl:message name="echoMessage"/> <wsdl:message name="echoResponse"/> - <wsdl:portType name="SimpleServicePortType"> - <wsdl:operation name="echo"> <wsdl:input message="axis2:echoMessage"/> <wsdl:output message="axis2:echoResponse"/> </wsdl:operation> </wsdl:portType> - <wsdl:binding type="axis2:SimpleServicePortType" name="SimpleServiceSOAP11Binding"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="echo"> <soap:operation style="document" soapAction="urn:echo"/> - <wsdl:input> <soap:body namespace="http://ws.apache.org/axis2" use="literal"/> </wsdl:input> - <wsdl:output> <soap:body namespace="http://ws.apache.org/axis2" use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:binding type="axis2:SimpleServicePortType" name="SimpleServiceSOAP12Binding"> <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="echo"> <soap12:operation style="document" soapAction="urn:echo"/> - <wsdl:input> <soap12:body namespace="http://ws.apache.org/axis2" use="literal"/> </wsdl:input> - <wsdl:output> <soap12:body namespace="http://ws.apache.org/axis2" use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:service name="SimpleService"> - <wsdl:port binding="axis2:SimpleServiceSOAP11Binding" name="SimpleServiceSOAP11port0"> <soap:address location="http://143.43.209.19:8080/axis2/services/SimpleService"/> </wsdl:port> - <wsdl:port binding="axis2:SimpleServiceSOAP12Binding" name="SimpleServiceSOAP12port0"> <soap12:address location="http://143.43.209.19:8080/axis2/services/SimpleService"/> </wsdl:port> </wsdl:service> </wsdl:definitions> Dr. Laurence Leff Western Illinois University, Macomb IL 61455 ||(309) 298-1315 Stipes 447 Assoc. Prof. of Computer Sci. Pager: 309-367-0787 FAX: 309-298-2302 Secretary: eContracts Technical Committee OASIS Legal XML Member Section --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]