|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SOAP_WSDL GetProxy missing parameters
hi, I have a problem with my soapclient that I get from soap_wsdl if some one could help please.
the GetProxy (or generateProxyCode) creates methods that default parameters to null, where as other wsdl processors (like wsdl.exe with studio) makes proper class definitions with the right set of parameters. Here is sample code: <?php require_once("SOAP/Client.php"); $wsdl = new SOAP_WSDL("http://s3.amazonaws.com/doc/2006-03-01/AmazonS3.wsdl"); var_export($wsdl->generateProxyCode()); ?> none of the generated methods take any parameters (but they should acording to wsdl) and parameters passed to ->call is $v = null as a result. --> generated snippit: 'class WebService_AmazonS3_AmazonS3 extends SOAP_Client { function WebService_AmazonS3_AmazonS3($path = 'https://s3.amazonaws.com/soap') { $this->SOAP_Client($path, 0); } function &CreateBucket() { $result = $this->call('CreateBucket', $v = null, array('namespace' => 'http://s3.amazonaws.com/doc/2006-03-01/', 'soapaction' => '', 'style' => 'document', 'use' => 'literal')); return $result; } ..................................... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PEAR Packages > SOAP_WSDL GetProxy missing parameters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|