axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "keith chapman" <keithgchap...@gmail.com>
Subject Re: [Axis2] A way to make WSDL2Java for client send requests through HTTP GET instead of POST?
Date Wed, 09 Jan 2008 11:04:05 GMT
The only way you can get a SOAP response for a GET is if the operation uses
the soap-response MEP. Axis2 supports this via WSDL 2.0 deployment.

Thanks,
Keith.

On Jan 9, 2008 4:09 PM, Mauro Molinari <mauro.molinari@cardinis.com> wrote:

> keith chapman ha scritto:
> > If you generate code for a HTTPBinding (not a SOAPBinding) and it the
> > httpBinding specifies that the HTTP method for that operation is GET
> > then it will genarate code to do it.  Axis2 also supports PUT and
> > DELETE.  PLease note that the HTTPBinding description of WSDL 1.1 is not
> > that rich. I would recommend you to use WSDL 2.0.
> >
> > Thanks,
> > Keith.
>
> Hi Keith,
> thank you for your answer!
> This is interesting for HTTP Binding... but what about the case of a web
> service that only exposes a SOAP Binding?
>
> Thinking about it, I may wonder if it makes sense to think about a SOAP
> request sent using HTTP GET method... the problem is that we currently
> have some problems invoking a web service, because we receive the
> following response:
>
> 9-Gen-2008 9.20.38 org.apache.axis2.transport.http.HTTPSender sendViaPost
> INFORMAZIONI: Unable to sendViaPost to url[...cut...]
> org.apache.axis2.AxisFault: Transport error: 405 Error: Method Not Allowed
>
> Cheers.
>
> --
> Mauro Molinari
> Software Developer
> mauro.molinari@cardinis.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Keith Chapman
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

Mime
View raw message