Soap Client Help!!
| From: | (PHPDiscuss - PHP Newsgroups and mailing lists) | Date: | Sun, 30 Jan 2005 17:54:17 +0000 |
| Subject: | Soap Client Help!! | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-1725@lists.php.net to get a copy of this message | ||
The following wsdl file was provided to me.
http://64.122.63.81:5454/IfxService.wsdl
I first attempted to genrate the PHP classes using the following code...
<?php
require_once('SOAP/Client.php');
$wsdl=new SOAP_WSDL('http://64.122.63.81:5454/IfxService.wsdl);
// Look at the generated code...
echo ( $wsdl->generateProxyCode() );
?>
----------------------------------
I was expecting this code to generate a code makes use of the underlying
SOAP_Client class - that is I was expecting to see each functions.
But what I found is this:
class WebService_IfxService_IfxService extends SOAP_Client
{
function WebService_IfxService_IfxService()
{
$this->SOAP_Client("http://64.122.63.81:5454/IfxService.asmx",
0);
}
function &IfxRequest($IFX) {
$IFX =& new SOAP_Value('{}IFX','',$IFX);
return $this->call("IfxRequest",
$v = array("IFX"=>$IFX),
array('namespace'=>'https://www.cashsystemsinc.com/ifx/150/bindings',
'soapaction'=>'https://www.cashsystemsinc.com/ifx/150/WebService/IfxRequest',
'style'=>'document',
'use'=>'literal' ));
}
}
Any Idea what is going on here?