hello there,
i am trying to use a payment gateway.when i run this test code.i get this output.in the supported types section below i get an error.saying this method is not supported,but i have been given this method by the service provider.also in the output of the soap i get some error what is that.please help me to solve this problem
\the output i get is
Available Methods
string verify(int $trmID, string $userID, string $Pass, string $datetime, string $hash, long $amunt)
string executeservice(int $trmID, string $userID, string $Pass, string $datetime, long $SaleCode, long $amunt, string $MTI, string $ProccCode, long $trnsID, string $PURl)
string refund(int $trmID, string $userID, string $Pass, string $datetime, string $returnhash, long $amunt, long $trnsID)
string StlmMrch(int $trmID, string $userID, string $Pass, string $datetime, long $TxnAllCut, long $FinalAmunt, long $Salecunt, long $SaleAmunt, long $RetCunt, long $RetAmunt)
Supported Types
Array ( [trmID] => 233 [userID] => User [Pass] => 1111 [datetime] => [SaleCode] => [amunt] => [MTI] => 0100 [ProccCode] => 000000 [trnsID] => 0 [PURl] => ) SoapFault exception: [Server.userException] No such operation 'executeservice' in /usr/local/www/data-dist/a
j/testsoap
1.php:36 Stack trace: #0 /usr/local/www/data-dist/a
j/testsoap
1.php(36):
SoapClient->__soapCall('ex
ecuteservi
ce', Array) #1 /usr/local/www/data-dist/t
heme.php(1
4): include('/usr/local/www/..
.') #2 {main}
--------------------------
----------
----------
----------
----------
----------
----
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="
http://webservices" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="
http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/"
>
<SOAP-ENV:Body>
<ns1:executeservice>
<trmID xsi:type="xsd:int">102</tr
mID>
<userID xsi:type="xsd:string">User
</userID>
<Pass xsi:type="xsd:string">0000
</Pass>
<datetime xsi:nil="true"/>
<SaleCode xsi:nil="true"/>
<amunt xsi:nil="true"/>
<MTI xsi:type="xsd:string">0100
</MTI>
<ProccCode xsi:type="xsd:string">0000
00</ProccC
ode>
<trnsID xsi:type="xsd:long">0</trn
sID>
<PURl xsi:nil="true"/>
</ns1:executeservice>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--------------------------
----------
----------
----------
----------
----------
----
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="
http://www.w3.org/2001/XMLSchema" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>Server.userExce
ption</fau
ltcode>
<faultstring>No such operation 'executeservice'</faultstr
ing>
<detail>
<ns1:hostname xmlns:ns1="
http://xml.apache.org/axis/">svnpsp
</ns1:host
name>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Start Free Trial