Hi,

Could you post the response as well. I guess u forgot to post it. I fixed an
issue similar to this on the trunk, could confirm if u post the response.

Thanks,
Keith.

On Thu, Dec 4, 2008 at 8:26 PM, Vikrama Sanjeeva <[EMAIL PROTECTED]>wrote:

>
>  Hi list,
>
>     I have created consumer stuff using axis2 WSDL2java and while trying to
> consume web service (running at .NET server), I get following exception:
>
> ***************************
>
> 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*)
> ****************************
>
>
> here is the SOAP request/response:
>
>
> ***************************
> POST /service/SUBS.asmx HTTP/1.1
> Host: xx.1xx.1xx.xx
> Content-Type: text/xml; charset=utf-8
> Content-Length: length
> SOAPAction: 
> "http://IPCC/SUBS.wsdl/GetSubscribersList<http://ipcc/SUBS.wsdl/GetSubscribersList>
> "
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/";>
>   <soap:Body>
>     <GetSubscribersList xmlns="http://IPCC/SUBS.wsdl<http://ipcc/SUBS.wsdl>
> ">
>       <stringMobileNumber>string</stringMobileNumber>
>     </GetSubscribersList>
>   </soap:Body>
> </soap:Envelope>
> ******************************
>
>  I also tried settings options property to both GET/POST:
>
> options.setProperty(Constants.Configuration.
> *HTTP_METHOD*,HTTPConstants.*HTTP_METHOD_POST*);
>
> Bye,
>
> Viki,
>
>


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

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

Reply via email to