• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Not able to hit the webservice when deployed in tomcat.

Posts: 15
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

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?
She'll be back. I'm just gonna wait here. With this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic