
camillo ferraris - 2008-07-29 08:04:50 -
In reply to message 2 from Protung Dragos
I had to add
header("Content-Type: text/xml");
to the createwsdl code:
<?php
require_once("./php2wsdl/WSDLCreator.php");
header("Content-Type: text/xml");
$test = new WSDLCreator("ResourceSpaceAPI", "http://10.101.40.102/mam/plugins/api_soap/pages/soapapi.php");
$test->addFile("soapapi.php");
$test->setClassesGeneralURL("http://10.101.40.102/mam/plugins/api_soap/pages/soapapi.php");
$test->addURLToClass("rs", "http://10.101.40.102/mam/plugins/api_soap/pages/soapapi.php");
$test->addURLToTypens("rsapi", "http://10.101.40.102/mam/plugins/api_soap/pages/soapapi.php");
$test->createWSDL();
$test->printWSDL();
?>