axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strutsAwhile <>
Subject String index out of range faultstring when invoking REST service
Date Sat, 08 Nov 2008 19:02:28 GMT

I'm trying to invoke the service (WSDL attached) using the url
and it gives the following fault
<faultstring>String index out of range: -41</faultstring>
The other operation :
http://localhost:8080/axis2/services/ProductService/getAllProducts works

The service method signature is : 
public String getProducts(ProductServiceParameter criteria); 
I'm suspecting it's something to do with the input argument being a
complextype rather than a simple String, but not able to figure anything
further since i don't see any other message on the axis2server console. 
Is there any way i can see the exception trace whenever a faultstring is
returned? . 
Also, is it REST conceptwise correct to encapsulate the search parameters in
a complextype and pass them separately as part of a GET request? ProductService.wsdl 
Any inputs on this error will be really helpful.

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message