Issue

ZF-8165: Uncaught SoapFault exception: [SOAP-ENV:Client] Operation '' is not defined in the WSDL for this service

Issue Type: Bug Created: 2009-10-28T04:35:00.000+0000 Last Updated: 2009-11-25T00:32:39.000+0000 Status: Resolved Fix version(s): Reporter: Simon Pottier (ifmy) Assignee: Marco Kaiser (bate) Tags: - Zend_Soap_Client

Related issues: Attachments:

Description

This works :

{quote} $client = new soapClient(self::WSDL_LINK); $this->return = $client->__call( 'getScores', array(self::CLIENT_KEY, Zend_Json::encode($this->chars)) ); {quote}

This not :

{quote} $client = new Zend_Soap_Client(self::WSDL_LINK); $this->return = $client->getScores( self::CLIENT_KEY, Zend_Json::encode($this->chars) ); {quote}

Uncaught SoapFault exception: [SOAP-ENV:Client] Operation '' is not defined in the WSDL for this service in ...

Comments

Posted by Simon Pottier (ifmy) on 2009-11-20T05:27:52.000+0000

I ever try it :) It's the same issue. The matter is upstream. (sorry for my english)

Also, are you really sure that we must wrap params ?

thx a lot.

Posted by Marco Kaiser (bate) on 2009-11-20T05:30:19.000+0000

can you give me the wsdl file and a possible soap backend to test?

Posted by Simon Pottier (ifmy) on 2009-11-20T05:31:56.000+0000

Please don't close it too fastly ;)

Posted by Marco Kaiser (bate) on 2009-11-20T06:33:44.000+0000

Need more details. For example provide a sample wsdl and smallest possible parameters to reproduce this bug

Posted by Simon Pottier (ifmy) on 2009-11-20T08:16:58.000+0000

Hello,

look here for WSDL and interface : http://be.imba.hu/api/soap/0.1/

chars is an array

$this->chars = array();

$this->char['EU']['Culte de la Rive noire'] = 'Socute'; or $this->char['EU']['Culte de la Rive noire'] = array('Socute', 'Raftel');

Thanks

Posted by Marco Kaiser (bate) on 2009-11-23T02:43:01.000+0000

I get for both version the SOAP Env error message. If is switch back to SOAP_1_1 version it works perfect for me.

<pre class="highlight">
$client = new Zend_Soap_Client('<a href="http://be.imba.hu/api/soap/0.1/index.php?wsdl">http://be.imba.hu/api/soap/0.1/index.php?wsdl</a>', array('soap_version' => SOAP_1_1));

$result = $client->__call('getScores', array('ClientKey', 'JsonString'));
$result = $client->getScores('ClientKey', 'JsonString');

I looked into the code and the PHP internal SoapClient was just extendend and the calls are 100% identical.

Posted by Simon Pottier (ifmy) on 2009-11-23T03:34:37.000+0000

Great ! thanks a lot. There isn't information in the WSDL about soap version requirement. With soapClient, this is automatically detected. Maybe could you do the same with Zend_Soap_Client ?

another time, thanks for your help and sorry for my english.

Simon

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2019 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts