Hi Adam, Have a look at this blog post<http://www.keith-chapman.org/2008/10/axis2-setting-http-method-when-sending.html>[1]. It shows how the HTTP method can be changed when sending a request.
Thanks, Keith. [1] http://www.keith-chapman.org/2008/10/axis2-setting-http-method-when-sending.html On Wed, Oct 8, 2008 at 2:40 AM, Perry-Pelletier, Adam <[EMAIL PROTECTED]>wrote: > My WS appears to connect via POST yet the service only responds to GET. > The following exceptions fragment shows the result: > > > > Oct 7, 2008 1:59:56 PM org.apache.axis2.transport.http.HTTPSender > sendViaPost > > INFO: Unable to sendViaPost to url[ > http://teamtrack.qualcomm.com/gsoap/ttwebservices.wsdl?wsdl] > > org.apache.axis2.AxisFault: Transport error: 405 Error: Method Not Allowed > > at org.apache.axis2.transport.http.HTTPSender.handleResponse(* > HTTPSender.java:296*) > > at org.apache.axis2.transport.http.HTTPSender.sendViaPost(* > HTTPSender.java:190*) > > at org.apache.axis2.transport.http.HTTPSender.send(* > HTTPSender.java:75*) > > at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons( > *CommonsHTTPTransportSender.java:364*) > > at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke( > *CommonsHTTPTransportSender.java:208*) > > at org.apache.axis2.engine.AxisEngine.send(*AxisEngine.java:448*) > > > > How can I programmatically change axis2 to send via GET? > > > > Thanks, > > Adam > -- Keith Chapman Senior Software Engineer WSO2 Inc. Oxygenating the Web Service Platform. http://wso2.org/ blog: http://www.keith-chapman.org