I am writng a program in php which is accessing a web services code is :

Code:

error_reporting(0);
require_once('../lib/nusoap.php');

$client = new nusoap_client("https://abc_ws?wsdl", 'WSDL');
$error = $client->getError();

if ($error) { die("client construction error: {$error}\n"); }

$client->setCredentials('login', '123456', 'basic');
$param = array(param1' => '1234567899');

$result = $client->call('MyGetOperation', $param);

if ($client->fault) {

print_r($result);

}

and this is my request and response

Request :
Code:








and i am getting response :

Code:




soap:Server
cvc-complex-type.2.4.b: The content of element 'My-GET-Request' is not complete. One of '{"http://url.com/cdes/services":param1}' is expected.




I am newbe in web services and php, so suggest me the way of how solve it

Thanks,



http://forums.masr.me