Hi Pushpalanka, Thank you for your reply, it is working now. The problem was that when I wrote 'TemperatureConvertorServiceClient.java I misspelled the service which I have deployed in Tomcat.
Now, I can see the console output as expected. Thanks again, S On Thu, Nov 10, 2011 at 5:59 AM, Pushpalanka Jayawardhana < pushpalankaj...@gmail.com> wrote: > > > On Thu, Nov 10, 2011 at 10:21 AM, Pushpalanka Jayawardhana < > pushpalankaj...@gmail.com> wrote: > >> Hi SP, >> If there are no errors just run 'TemperatureConvertorServiceClient.java' >> while the service is available. You should see the printed lines at >> console something like >> >> C Value : 32 Result : xx >> >> F Value : xx Result : 32 > > The client is communicating with the service and these lines are doing > that stuff "stub = new > TemperatureConverterTemperatureConverterSOAP11PortStub(" > http://localhost:8080/axis2/services/TemperatureConverter");" and later > calling the relevant operation. (Sorry for the previous reply which was > sent before I finished typing.) > >> >> On Thu, Nov 10, 2011 at 3:38 AM, S P <sp5432...@googlemail.com> wrote: >> >>> Hello, >>> >>> I am using Axis2-1.6.1. >>> >>> I am following the following online example to develop a web service: >>> http://wso2.org/library/1719 >>> >>> I have attached a screetshot.pdf file to show my progress stating >>> 5 stages [Please look at it]. >>> >>> Stage 1: Successfully TemperatureConvertor sevive running on Tomcat. >>> >>> Stage 2: WSDL created successfully. >>> >>> Stage 3: Axis2 codegen custom option selection. >>> >>> Stage 4: TemperatureConvertorStub.java generated successfully. >>> >>> Stage 5: I wrote TemperatureConvertorServiceClient.java - which has no >>> errors! >>> >>> Now, I do not know how to access the web service. >>> Please guide me what can I do next? >>> >>> Thanks, S >>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org >>> For additional commands, e-mail: java-user-h...@axis.apache.org >>> >> >> >> >> -- >> *Regards,* >> Pushpalanka Jayawardhana, >> Undergraduate, >> Computer Science and Engineering Department, >> University of Moratuwa, >> Sri Lanka. >> Blog : http://pushpalankajaya.blogspot.com/ >> >> > > > -- > *Regards,* > Pushpalanka Jayawardhana, > Undergraduate, > Computer Science and Engineering Department, > University of Moratuwa, > Sri Lanka. > Blog : http://pushpalankajaya.blogspot.com/ > >