| Author |
Not able to hit the webservice when deployed in tomcat.
|
Arpan Raj
Greenhorn
Joined: Apr 22, 2010
Posts: 15
|
|
Hi,
we were previously using the webservice AXIS-1.
And it was deployed in tomcat server at location (http://ServerURL/webapps/BPQB-SOPostService-MYApp/services/SOPostWebService).
Now I am tryin to upgrade it to AXIS-2.
I have written the WSDL , Generated the skeleton, Stubs. Added business logic in the skeleton.
I created the aar file put it in the AXIS2_Home/services/repository... and it works fine.
I tested the above scenario on my local machine and with AXIS-2 server.
Now the same I am trying to do on the remote machine.
I have changed the stub files to point it to http://ServerURL/webapps/BPQB-SOPostService-MYApp/services/SOPostWebService.In the constructor of the stub.
After uploading the webservice to the tomcat if i hit the http://ServerURL/webapps/BPQB-SOPostService-MYApp/services/SOPostWebService I see the page which tells
SOPostWebService
Hi there, this is an AXIS service!
Perhaps there will be a form for invoking the service here...
Now i trying to invoke the webservice from my code using stub but it fails on the _operationClient.execute(true); call in the stub.
Stack trace is here :
Skeleton Code :
WSDL file code:
Client Code:
Can any one suggest what might be the issue?
|
 |
 |
|
|
subject: Not able to hit the webservice when deployed in tomcat.
|
|
|