Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sam Gehouse
Ranch Hand
Posts: 281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic