I am struck in a big problem. I am creating a JAVA ME application which requires to consume web services created at my server using SOAPpy. I am using netbeens for creating JAVA mobile application. Netbeans has a web services import feature from where you can simply paste WSDL address and start consuming web services.
The problem is I have no idea about the URL from where I can ask SOAPpy server to give me wsdl. like in .net we user http://domain/abc/Service.asmx?WSDL , what the equal ant for this in SOAPpy?

8 Years
Discussion Span
Last Post by pyTony


Yeah I'm having the same issue.
I'm porting some php code to java, where I know:
1. the ws url (http://host:9200/)
2. the method: some_method
3. the arguments: some_arguments

labtop# curl --head http://host:9200
HTTP/1.0 501 Unsupported method ('HEAD')
Server: <a href="http://pywebsvcs.sf.net">SOAPpy 0.12.0</a> (Python 2.4.4c0)
Date: Sat, 18 Jul 2009 14:26:20 GMT
Content-Type: text/html
Connection: close

so I know its a pywebservices daemon, but how do I get the WSDL?
I've tried getting ?wsdl but with no luck:
labtop# curl 'http://host:9200/?wsdl'
<title>Error response</title>
<h1>Error response</h1>
<p>Error code 501.
<p>Message: Unsupported method ('GET').
<p>Error code explanation: 501 = Server does not support this operation.

Anyone who knows where (if at all) wsdl is available through py ws?

This article has been dead for over six months. Start a new discussion instead.
Be sure to adhere to our posting rules.