Hi
Is there any tool for generating php proxy classes for webservice for php programming language?
Web services are developed in .net.
Thanks
nRk
views:
305answers:
2
+1
A:
Maybe this is what you need:
The Zend_Soap_Client class simplifies SOAP client development for PHP programmers.
It may be used in WSDL or non-WSDL mode.
Under the WSDL mode, the Zend_Soap_Client component uses a WSDL document to define transport layer options.
Example code:
$client = new Zend_Soap_Client("MyService.wsdl");
$result1 = $client->method1(10);
Karsten
2010-02-27 16:10:20
A:
Use the built-in PHP SoapClient class:
$client = new SoapClient("some.wsdl");
// To call an Add method on the .NET-based service, that takes 2 parameters:
$arguments->a = 1;
$arguments->b = 2;
$result = $client->Add( $arguments );
echo( "1 + 2 = " . $result->AddResult );
Jon Benedicto
2010-02-27 16:29:15