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
> <http://zarinpal.com/>', '1000', $siteURLcallBack, "a");
> 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
>> 1. SoapClient->__soapCall()
> $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
>
> in C:\Users\Sina> 2.
> Miandashti\Desktop\xampplite\xampplite\htdocs\vando\library\Zend\Soap\Client.php
> on line 1118
>
>
> --
> ________________
> Sincerely
> Sina Miandashti
> MuSicBasE.ir & InvisionPower.ir Admin
--
________________
Sincerely
Sina Miandashti
MuSicBasE.ir & InvisionPower.ir Admin
没有评论:
发表评论