Hi,
I'm trying to invoke the service (WSDL attached) using the url
http://localhost:8080/axis2/services/ProductService/products?callingSystem=ABC
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
fine.

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?
http://www.nabble.com/file/p20399284/ProductService.wsdl ProductService.wsdl 
Any inputs on this error will be really helpful.



-- 
View this message in context: 
http://www.nabble.com/String-index-out-of-range-faultstring-when-invoking-REST-service-tp20399284p20399284.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to