• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unknown problem with Tomcat and Axis2  RSS feed

 
Vito Czz
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everybody, I'm a student and I need to work on web services for one of my courses.
I've tried some examples from my teacher and some code of mine, but everytime i run the client code i receive in output exceptions like these:



I really don't undestand what's the matter.
In the specific case the WS implements an inventory service. the client asks for availability of one product by passing its code and number of items requested. The server check if the product is available (controlling a products.xml file that contains all the information) and returns the result. This in theory, while in practice I receive this messages of error.

This is the client code:


And this is the server:


This is an example of how the products.xml file is:


The project provides also two auxiliary class for creating and accessing the product elements, a service.xml file and a build file for creating the .aar file for deployment.

I really hope that someone can help me to understand where's the fault.
And off course, if you need any other information just ask me

Thank you all!!!
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you see the service properly deployed? The Axis web app provides a page listing all available services.
 
Vito Czz
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, the service is properly deployed.
 
Vito Czz
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is still present... does anyone knows how can fix it?
Can it be a problem related to ServletContext method getRealPath?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!