On Jan 9, 2008 4:09 PM, Mauro Molinari <[EMAIL PROTECTED]> 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?


for SOAP Binding you must use  POST method.

>
>
> 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


Are you invoking a service out side your network? Check what the exact HTTP
response message comes
from the server. May be a problem with the remote server.

Thanks,
Amila.

>
>
> Cheers.
>
> --
> Mauro Molinari
> Software Developer
> [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to