2010年7月5日星期一

Re: [fw-mvc] problem in zend_soap

wow ... nice catch ...  THANK U VERY MUCH !

On Mon, Jul 5, 2010 at 11:35 PM, Jan Pieper <j-pieper@gmx.net> wrote:
Found the problem :-) The server is unable to handle SOAP 1.2 requests, so you
need to change your client's SOAP version to 1.1.

$soapZarinPal->setSoapVersion(SOAP_1_1);

-- Jan


> hi guys
>
> my code is  :
>
> $soapZarinPal = new
> Zend_Soap_Client("http://www.zarinpal.com/WebserviceGateway/wsdl",
> array('encoding'=>'UTF-8'));
>             $configOBJ = new Config();
>             $configData = $configOBJ->getConfigs();
>             $siteURLcallBack =
> $configData[0]['siteurl']."/account/verifypayment";
>
>             $res =
> $soapZarinPal->PaymentRequest('mypinnumberin  zarinpal.com
> <http://zarinpal.com/>', '1000', $siteURLcallBack, "a");
>
> $this->_redirect("https://www.zarinpal.com/users/pay_invoice/" .$res);
>
> and it throws this exception :
>
>
>         SoapFault: Operation '' is not defined in the WSDL for this service
>
> thrown in C:\Users\Sina
> Miandashti\Desktop\xampplite\xampplite\htdocs\vando\library\Zend\Soap\Client.php
> on line 1118
>
>
>         Call Stack
>
>    1. SoapClient->__soapCall()
>       in C:\Users\Sina
>       Miandashti\Desktop\xampplite\xampplite\htdocs\vando\library\Zend\Soap\Client.php
>       on line 1118
> 2.
>
>
> --
> ________________
> Sincerely
> Sina Miandashti
> MuSicBasE.ir & InvisionPower.ir Admin




--
________________
Sincerely
Sina Miandashti
MuSicBasE.ir & InvisionPower.ir Admin

没有评论: