axis-java-user mailing list archives

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

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message