How to get WSDL from web services created using SOAPpy

Reply

Join Date: Oct 2008
Posts: 2
Reputation: hasanatkazmi is an unknown quantity at this point 
Solved Threads: 0
hasanatkazmi hasanatkazmi is offline Offline
Newbie Poster

How to get WSDL from web services created using SOAPpy

 
0
  #1
Oct 14th, 2008
Hi,
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?
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 1
Reputation: ssch is an unknown quantity at this point 
Solved Threads: 0
ssch ssch is offline Offline
Newbie Poster

Re: How to get WSDL from web services created using SOAPpy

 
0
  #2
Jul 18th, 2009
Hi!

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'
<head>
<title>Error response</title>
</head>
<body>
<h1>Error response</h1>
<p>Error code 501.
<p>Message: Unsupported method ('GET').
<p>Error code explanation: 501 = Server does not support this operation.
</body>

Anyone who knows where (if at all) wsdl is available through py ws?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC