File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes org.apache.axis2.AxisFault: 0 >= 0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "org.apache.axis2.AxisFault: 0 >= 0" Watch "org.apache.axis2.AxisFault: 0 >= 0" New topic

org.apache.axis2.AxisFault: 0 >= 0

Evandro Rezende

Joined: Jun 24, 2010
Posts: 3
Hi all!

I wrote a web service using tomcat 6 + apache axis2.

So, i wrote a client using axis2 API to.

The WS has a lot of parameters, some of the type Int.

When a call the WS, passing a zero to a parameter (int), i get an AxisFault Exception with the message "0 >= 0".

Any ideas?

I'm using java 1.6.20.

Evandro Rezende

Joined: Jun 24, 2010
Posts: 3
Fixed.. i hope :-)

it was a problem with the postgres connection...

i deleted <TOMCAT_HOME>/conf/Catalina/localhost/<ws_name>.xml before deploy my WS again....

The file <TOMCAT_HOME>/conf/Catalina/localhost/<ws_name>.xml and WS context.xml was diferent.
I agree. Here's the link:
subject: org.apache.axis2.AxisFault: 0 >= 0
It's not a secret anymore!