NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Generate automatic WSDL


Joined: 08 Nov 2003
Posts: 1
Reply with quote
How I can generate the WSDL automatic from a php file?
for a file like this:
<?php

require_once('nusoap.php');
$s = new soap_server;
$s->register('hello');
function hello($name){
// optionally catch an error and return a fault
if($name == ''){
return new soap_fault('Client','','Must supply a valid name.');
}
return "hello $name!";
}
$s->service($HTTP_RAW_POST_DATA);

?>

Thanks
View user's profileFind all posts by Roly0022Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
You don't need to generate WSDL. It's done by nusoap. You only have to register your function(s) and their parameters. Then when you invoke your script via WEB and WSDL argument is set, you get WSDL file. If you invoke without WSDL, you get description and link to WSDL file.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Generate automatic WSDL
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic