Is there anyway to change the status code of the return? I have a web service that returns custom SOAP faults, but it always returns it with the status code of 200, I want to change that to 500? Any way?
Roshan Punnoose Phone: 301-497-6039 -----Original Message----- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 11:30 AM To: [email protected] Subject: RE: [axis2]REST requests failing Looks like the RESTUtil is sending the inputStream as null in the processURLRequest, which will break the TransportUtils class either way. What can we do? Roshan Punnoose Phone: 301-497-6039 -----Original Message----- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 14, 2007 11:24 AM To: [email protected] Subject: [axis2]REST requests failing I have a REST GET request, and I keep getting this error: java.lang.NullPointerException. java.lang.NullPointerException at java.io.Reader.<init>(Reader.java:61) at java.io.InputStreamReader.<init>(InputStreamReader.java:80) at org.apache.axis2.builder.XFormURLEncodedBuilder.extractParametersFromReq uest(XFormURLEncodedBuilder.java:123) at org.apache.axis2.builder.XFormURLEncodedBuilder.processDocument(XFormURL EncodedBuilder.java:77) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUti ls.java:120) at org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil .java:98) at org.apache.axis2.transport.http.AxisServlet$ProcessRESTRequest.processUR LRequest(AxisServlet.java:767) at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:236) Any ideas? Roshan Punnoose Phone: 301-497-6039
BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20050413T183207Z END:VCARD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
