RE: Generate PHP Code from WSDL Document

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mike,

Where can I get the "SOAP/WSDL.php" file from?  Or what is it?

Nunners

-----Original Message-----
From: Mike Carter [mailto:mikeatwork@ukonline.co.uk] 
Sent: 20 November 2003 16:53
To: 'Arne Kösling'; soap@lists.php.net
Subject: RE:  Generate PHP Code from WSDL Document



> -----Original Message-----
> From: Arne Kösling [mailto:phphelp@koesling.net] 
> 
> ok, first of all, thanx for the help on my other questions. I 
> am thankful to
> every person,
> who spends some of his time and cares about the questions of 
> the newbies and
> rookies :)
> 
> My question is :
> 
> Is there a working tool / code that converts a WSDL Document 
> into php Code,
> so that I can use that to implement my Code ?

Try this:

	require_once('SOAP/WSDL.php');
	$wsdl = new SOAP_WSDL($wsdlurl);
	$origcode = $wsdl->generateProxyCode();
	
	print "<pre>".$origcode."</pre>";

Regards,


Mike C.


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux