I'm just starting out using Nusoap, I've managed to work out how to create new elements and sub elements, but now I need to add attributes to an element.
I've searched all over the internet and I cant find any reference on how to do it.
Can someone give me an idea?
The code I have so far is....
$target = "test";
$version = "2002A";
$syndicateid = "fabguest";
$syndicatepassword = "blah";
$createnewsession = "true";
$parameters = array(
"FAB_PkgAvailRQ" => array('Target' => 'test'),
"Version" => $version,
"SyndicateID" => $syndicateid,
"SyndicatePassword" => $syndicatepassword,
"CreateNewSession" => $createnewsession
);
$soapclient = new soapclient("http://????"); // [1]
$result = $soapclient->call("FABSearchRequest", $parameters, "urn:FABSearchRequest");
$searchtime = $result["searchTime"];
$begin = $start + 1;
$end = $start + $parameters["maxResults"];
$total = $result["estimatedTotalResultsCount"];
echo $soapclient->request;
echo "<br><br><br><br>";
echo $soapcliant->response;
I've searched all over the internet and I cant find any reference on how to do it.
Can someone give me an idea?
The code I have so far is....
$target = "test";
$version = "2002A";
$syndicateid = "fabguest";
$syndicatepassword = "blah";
$createnewsession = "true";
$parameters = array(
"FAB_PkgAvailRQ" => array('Target' => 'test'),
"Version" => $version,
"SyndicateID" => $syndicateid,
"SyndicatePassword" => $syndicatepassword,
"CreateNewSession" => $createnewsession
);
$soapclient = new soapclient("http://????"); // [1]
$result = $soapclient->call("FABSearchRequest", $parameters, "urn:FABSearchRequest");
$searchtime = $result["searchTime"];
$begin = $start + 1;
$end = $start + $parameters["maxResults"];
$total = $result["estimatedTotalResultsCount"];
echo $soapclient->request;
echo "<br><br><br><br>";
echo $soapcliant->response;