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?

Recommended Answers

All 3 Replies


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?

how to get web service methods from wsdl file. plz help

SOAPpy documentation guide.html seems to have description in second chapter (ZSI-2.1-a1/doc/guide.html#SECTION003000000000000000000)

Also http://www.xml.com/pub/a/ws/2002/06/12/soap.html refered in main documentation seems interesting for your intentions.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.