WSDL SOAP webservice client not working
Posted: Sat Jun 06, 2009 6:40 am
Hi;
How can i send a soap client request http://test.iodeme.com/iodeme.asmx ?
I have tried nusoap and natural php-soap.
Quote
But Reponse is not a XML or any string. username and agentID is true and can be used for test. When i do this request whit a java application response is XML valid. response is
I want to use this function http://test.iodeme.com/iodeme.asmx?op=GetBankList
How can i send a soap client request http://test.iodeme.com/iodeme.asmx ?
I have tried nusoap and natural php-soap.
Quote
Code: Select all
<?php
$client = new SoapClient('http://test.iodeme.com/iodeme.asmx?wsdl');
$go = $client-> getBankList(array('username'=>'ARENA', 'agentID'=>'CONNACT', 'authentication'=>'false', 'getAll'=>'true'));
var_dump($go);
?>
Code: Select all
object(stdClass)#4 (0) { }Code: Select all
POST /iodeme.asmx HTTP/1.1
Host: test.iodeme.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://iodeme.arenaopen.com/GetBankList"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<AuthenticationInfo xmlns="http://iodeme.arenaopen.com/">
<agentID>string</agentID>
<username>string</username>
<authenticated>boolean</authenticated>
</AuthenticationInfo>
</soap:Header>
<soap:Body>
<GetBankList xmlns="http://iodeme.arenaopen.com/">
<getAll>boolean</getAll>
</GetBankList>
</soap:Body>
</soap:Envelope>