Hi Keith, can u pls help in this regard.
Thanks Bye Viki. On Sat, Dec 6, 2008 at 8:19 PM, Vikrama Sanjeeva <[email protected]>wrote: > Here is the WSDL: > > ************* > <?xml version="1.0" encoding="utf8" ?> > <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" > xmlns:tns="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl> > " > xmlns:s="http://www.w3.org/2001/XMLSchema" > xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" > xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" > targetNamespace="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl> > " > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> > <wsdl:types> > <s:schema elementFormDefault="qualified" > targetNamespace="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl> > "> > <s:element name="HelloWorld"> > <s:complexType /> > </s:element> > <s:element name="HelloWorldResponse"> > <s:complexType> > <s:sequence> > <s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" > type="s:string" /> > </s:sequence> > </s:complexType> > </s:element> > <s:element name="GetSubscribersList"> > <s:complexType> > <s:sequence> > <s:element minOccurs="0" maxOccurs="1" name="stringMobileNumber" > type="s:string" /> > </s:sequence> > </s:complexType> > </s:element> > <s:element name="GetSubscribersListResponse"> > <s:complexType> > <s:sequence> > <s:element minOccurs="0" maxOccurs="1" > name="GetSubscribersListResult" type="tns:ArrayOfString" /> > </s:sequence> > </s:complexType> > </s:element> > <s:complexType name="ArrayOfString"> > <s:sequence> > <s:element minOccurs="0" maxOccurs="unbounded" name="string" > nillable="true" type="s:string" /> > </s:sequence> > </s:complexType> > </s:schema> > </wsdl:types> > <wsdl:message name="HelloWorldSoapIn"> > <wsdl:part name="parameters" element="tns:HelloWorld" /> > </wsdl:message> > <wsdl:message name="HelloWorldSoapOut"> > <wsdl:part name="parameters" element="tns:HelloWorldResponse" /> > </wsdl:message> > <wsdl:message name="GetSubscribersListSoapIn"> > <wsdl:part name="parameters" element="tns:GetSubscribersList" /> > </wsdl:message> > <wsdl:message name="GetSubscribersListSoapOut"> > <wsdl:part name="parameters" element="tns:GetSubscribersListResponse" /> > </wsdl:message> > <wsdl:portType name="SERVICE_MAIN_STUPIDabcdSoap"> > <wsdl:operation name="HelloWorld"> > <wsdl:input message="tns:HelloWorldSoapIn" /> > <wsdl:output message="tns:HelloWorldSoapOut" /> > </wsdl:operation> > <wsdl:operation name="GetSubscribersList"> > <wsdl:input message="tns:GetSubscribersListSoapIn" /> > <wsdl:output message="tns:GetSubscribersListSoapOut" /> > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="SERVICE_MAIN_STUPIDabcdSoap" > type="tns:SERVICE_MAIN_STUPIDabcdSoap"> > <soap:binding transport="http://schemas.xmlsoap.org/soap/http" /> > <wsdl:operation name="HelloWorld"> > <soap:operation > soapAction="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl/HelloWorld<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl/HelloWorld> > " > style="document" /> > <wsdl:input> > <soap:body use="literal" /> > </wsdl:input> > <wsdl:output> > <soap:body use="literal" /> > </wsdl:output> > </wsdl:operation> > <wsdl:operation name="GetSubscribersList"> > <soap:operation > soapAction="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl/GetSubscribersList<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl/GetSubscribersList> > " > style="document" /> > <wsdl:input> > <soap:body use="literal" /> > </wsdl:input> > <wsdl:output> > <soap:body use="literal" /> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:binding name="SERVICE_MAIN_STUPIDabcdSoap12" > type="tns:SERVICE_MAIN_STUPIDabcdSoap"> > <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" /> > <wsdl:operation name="HelloWorld"> > <soap12:operation > soapAction="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl/HelloWorld<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl/HelloWorld> > " > style="document" /> > <wsdl:input> > <soap12:body use="literal" /> > </wsdl:input> > <wsdl:output> > <soap12:body use="literal" /> > </wsdl:output> > </wsdl:operation> > <wsdl:operation name="GetSubscribersList"> > <soap12:operation > soapAction="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl/GetSubscribersList<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl/GetSubscribersList> > " > style="document" /> > <wsdl:input> > <soap12:body use="literal" /> > </wsdl:input> > <wsdl:output> > <soap12:body use="literal" /> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="SERVICE_MAIN_STUPIDabcd"> > <wsdl:port name="SERVICE_MAIN_STUPIDabcdSoap" > binding="tns:SERVICE_MAIN_STUPIDabcdSoap"> > <soap:address > location="http://192.168.1.33/service/SUBSCRIBER_DETAIL_PKGws.asmx" /> > </wsdl:port> > <wsdl:port name="SERVICE_MAIN_STUPIDabcdSoap12" > binding="tns:SERVICE_MAIN_STUPIDabcdSoap12"> > <soap12:address > location="http://192.168.1.33/service/SUBSCRIBER_DETAIL_PKGws.asmx" /> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > > ************** > > > On 12/6/08, Martin Gainty <[email protected]> wrote: > > > > cannot access the site from here..could you post the WSDL? > > > > Thanks/ > > Martin > > ______________________________________________ > > Disclaimer and confidentiality note > > Everything in this e-mail and any attachments relates to the official > > business of Sender. This transmission is of a confidential nature and > Sender > > does not endorse distribution to any party other than intended recipient. > > Sender does not necessarily endorse content contained within this > > transmission. > > > > > > > > > >> Date: Sat, 6 Dec 2008 15:04:13 +0300 > >> From: [email protected] > >> To: [email protected] > >> Subject: Re: Transport error: 405 Error: Method not allowed > >> > >> Yes I forget, its here: > >> > >> > >> ************* > >> HTTP/1.1 200 OK > >> Content-Type: text/xml; charset=utf-8 > >> Content-Length: length > >> > >> <?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> > >> <GetSubscribersListResponse > >> xmlns="http://IPCC/SUBSCRIBER_DETAIL_PKGws.wsdl<http://ipcc/SUBSCRIBER_DETAIL_PKGws.wsdl> > "> > >> <GetSubscribersListResult> > >> <string>string</string> > >> <string>string</string> > >> </GetSubscribersListResult> > >> </GetSubscribersListResponse> > >> </soap:Body> > >> </soap:Envelope> > >> ************* > >> > >> On 12/5/08, keith chapman <[email protected]> wrote: > >> > 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> > <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>< > 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 > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > > > > _________________________________________________________________ > > Send e-mail faster without improving your typing skills. > > > http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008 >
