Is this something that I can give code for to fix? I think it is a problem because the url I used was not the REST url, and it is trying to extract parameters out of the url, which doesn't seem right. Shouldn't it only be doing that if it is a REST request?
Either way, is there a way to specify a certain service that has REST support, while the others do not? I don't want people to get this error just because they do ../axis2/services/MyService in the URL. (Honestly, I would rather want to handle that on my own) Roshan -----Original Message----- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Tue 3/13/2007 4:07 PM To: [email protected] Subject: RE: [Axis2] Enable REST for just one service The reason I ask is, that I don't want this exception returned for certain services if there are no parameters in the url: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1480) at org.apache.axis2.builder.XFormURLEncodedBuilder.extractParametersFromRequest(XFormURLEncodedBuilder.java:116) at org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(XFormURLEncodedBuilder.java:77) Roshan Punnoose Phone: 301-497-6039 -----Original Message----- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 4:02 PM To: [email protected]; Martin Gainty Subject: RE: [Axis2] Enable REST for just one service I want to implement a service for GET (REST) and POST(SOAP), but have all my other services in my group be non-RESTful. Roshan Punnoose Phone: 301-497-6039 -----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 3:58 PM To: [email protected] Subject: Re: [Axis2] Enable REST for just one service are you implementing GET or POST? M-- --------------------------------------------------------------------------- This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. --------------------------------------------------------------------------- Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. ----- Original Message ----- From: "Punnoose, Roshan" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, March 13, 2007 3:52 PM Subject: [Axis2] Enable REST for just one service How do I enable REST for only one service? Roshan Punnoose Phone: 301-497-6039 -------------------------------------------------------------------------------- > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED]
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
