|
Re: WSDL: msg#00102php.nusoap.general
There is nothing in NuSOAP that does exactly what you are looking for. About the best you will get out of it without a bunch of coding is a digested form of the WSDL, as I show below. <?php require_once('f:/nusoap/lib/nusoap.php'); $wsdl = new wsdl('http://www.xmethods.net/sd/2001/BNQuoteService.wsdl'); $operations = $wsdl->getOperations(); foreach ($operations as $op => $opData) { echo "<h4>" . $opData['name'] . "</h4>\n"; $doc = $opData['documentation']; if ($doc == '') { $doc = '(No documentation)'; } echo "<pre>" . $doc . "</pre>\n"; echo "SOAPAction: " . $opData['soapAction'] . "<br>\n"; echo "Style: " . $opData['style'] . "<br>\n"; $input = $opData['input']; echo "Input use: " . $input['use'] . "<br>\n"; $parts = $input['parts']; foreach ($parts as $p => $part) { echo " parameter: " . $p . " type: " . $part . "<br>\n"; } $output = $opData['output']; echo "Output use: " . $input['use'] . "<br>\n"; $parts = $output['parts']; foreach ($parts as $p => $part) { echo " parameter: " . $p . " type: " . $part . "<br>\n"; } } echo "<pre>"; print_r($operations); echo "</pre>"; // This will work starting with NuSOAP 0.6.8 //echo $wsdl->webDescription(); ?> Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Ravi Prakash" <ravi@xxxxxxxxxxxxxxxx> To: "NUSOAP LIST" <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, May 20, 2004 10:18 AM Subject: [Nusoap-general] WSDL Hi, I am new to nusoap - At this moment all I want to be able to do is read any WSDL file and get a list of all the functions it supports, the parameters it takes and the result it returns. How can I do that using nusoap? Thanks Ravi Prakash <<< One Of My Favorite Sayings >>> I have not failed. I've just found 10,000 ways that won't work. - Thomas Edison ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Nusoap-general mailing list Nusoap-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id149&alloc_id?66&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | WSDL: 00102, Ravi Prakash |
|---|---|
| Next by Date: | Re: WSDL: 00102, Scott Nichol |
| Previous by Thread: | WSDLi: 00102, Ravi Prakash |
| Next by Thread: | Re: WSDL: 00102, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |