note 109240 added to soapclient.soapcall
| From: | SannerCorp | Date: | Fri, 29 Jun 2012 02:53:43 +0000 |
| Subject: | note 109240 added to soapclient.soapcall | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-188960@lists.php.net to get a copy of this message | ||
if you are getting this:
Fatal error: Uncaught SoapFault exception: [Client] SOAP-ERROR: Encoding: object hasn't
'comHistorico' property in....
make sure you are calling the right object. I wasted hour on this problem and it wasnt my fault, the
provider told me to use this object.
ex. I was calling,
$client = new SoapClient('https://secure.fcontrol.com.br/WSFControl2/WSFControl2.asmx?wsdl',
array('trace' => 1));
$res = $client->analisarTransacao2(array('Name'=>'John',
'Surname' => 'Smith'));
print_r($res);
but instead instead of calling analisarTransacao2 I was suppose to call
enfileirarTransacao4.
Than I got the result I wanted,
stdClass Object ( [enfileirarTransacao4Result] => stdClass Object ( [Sucesso] => [Mensagem]
=> 154|Usuário ou senha inválido(s). ) )
----
Server IP: 69.147.83.197
Probable Submitter: 187.85.174.195
----
Manual Page -- http://www.php.net/manual/en/soapclient.soapcall.php
Edit -- https://master.php.net/note/edit/109240
Del: integrated -- https://master.php.net/note/delete/109240/integrated
Del: useless -- https://master.php.net/note/delete/109240/useless
Del: bad code -- https://master.php.net/note/delete/109240/bad+code
Del: spam -- https://master.php.net/note/delete/109240/spam
Del: non-english -- https://master.php.net/note/delete/109240/non-english
Del: in docs -- https://master.php.net/note/delete/109240/in+docs
Del: other reasons-- https://master.php.net/note/delete/109240
Reject -- https://master.php.net/note/reject/109240
Search -- https://master.php.net/manage/user-notes.php