Login   Register  
PHP Classes
elePHPant
Icontem

File: example/example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Protung Dragos  >  PHP WSDL Generator  >  example/example.php  >  Download  
File: example/example.php
Role: Example script
Content type: text/plain
Description: Example
Class: PHP WSDL Generator
Generate WSDL from PHP classes code
Author: By
Last change: Include the a includeMethodsDocumentation example
Date: 2009-04-28 01:59
Size: 729 bytes
 

Contents

Class file image Download
<?php

require_once("../WSDLCreator.php");
//header("Content-Type: application/xml");


$test = new WSDLCreator("WSDLExample1""http://www.yousite.com/wsdl");
//$test->includeMethodsDocumentation(false);

$test->addFile("example_class.php");
$test->addFile("example_class2.php");

$test->setClassesGeneralURL("http://protung.ro");

$test->addURLToClass("example1""http://protung.ro/examplewsdl");
$test->addURLToTypens("XMLCreator""http://localhost/php2swdl");

$test->ignoreMethod(array("example1_1"=>"getEx"));

$test->createWSDL();

$test->printWSDL(true); // print with headers
//print $test->getWSDL();
//$test->downloadWSDL();
//$test->saveWSDL(dirname(__FILE__)."/test.wsdl", false);



?>