File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis2 (1.5) - Unable to see POJO deployed as service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 (1.5) - Unable to see POJO deployed as service" Watch "Axis2 (1.5) - Unable to see POJO deployed as service" New topic
Author

Axis2 (1.5) - Unable to see POJO deployed as service

Sam Gehouse
Ranch Hand

Joined: Jul 21, 2003
Posts: 281
New to Axis2. Using the POJO guide for exposing service found in link:

http://ws.apache.org/axis2/1_5/pojoguide.html

I can see the wsdl in the browser, but cannot see the service. The service apparaently was not found. Any suggestion will be appreciated.

Following are the steps that I have taken.



services.xml:



web.xml:









The context root of the application is: Axis2Weather

Axis2Weather successfully gets deployed in the application server (WebSphere in this case) as an EAR file and the Axis2Weather application successfully gets started in the application server.

But when I enter the URL: http://localhost:9081/Axis2Weather/services , I get error as:



When I enter URL: http://localhost:9081/Axis2Weather/services/WeatherService , I get error as:




But when I enter URL: http://localhost:9081/Axis2Weather/services/WeatherService?wsdl , I get wsdl shown as:




Any advice on why I cannot see the WeatherService (when the application is successfully deployed as EAR and app started successfully) will be appreciated.

I am familiar with Axis1 and have successfully deployed Axis1 service using "similar" approaches.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis2 (1.5) - Unable to see POJO deployed as service