Forums Register Login

Unknown problem with Tomcat and Axis2

+Pie Number of slices to send: Send
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!!!
+Pie Number of slices to send: Send
Do you see the service properly deployed? The Axis web app provides a page listing all available services.
+Pie Number of slices to send: Send
Yes, the service is properly deployed.
+Pie Number of slices to send: Send
The problem is still present... does anyone knows how can fix it?
Can it be a problem related to ServletContext method getRealPath?
roses are red, violets are blue. Some poems rhyme and some are a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 3503 times.
Similar Threads
AXIS2 mustUnderstand fault
Axis 2 : Creating Dynamic Client PayLoad
AXIS2 Axis fault SOAPEnvelope must contain a body element
Axis2 username/password Authentication
Endpoint {http://www.}ContentManagementService_v1_0 does not contain operation metadata for {...}
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 18, 2024 20:06:09.