I have building a script using nusoap but now I am stuck
I got an error
Array
( [FaultCode] => 400 [FaultString] => The receiving application
faulted when processing the request. The 'detail' element contains the
application-specific fault. [RunCode] => 2 [Detail] => Array (
[Messages] => Array ( [Message] => Internal Server Error - unable
to process your request at this time, please try again later ) )
)
1
$text2 = "<SOAP:Body>";
$text2 .= "<PostAdvert>";
$text2 .= "<Adverts>";
$text2 .= "<Advert>";
$text2 .= "<AccountNumber>999111</AccountNumber>";
$text2 .= "<Contact>ALAN</Contact>";
$text2 .= "<Telephone>01268 781 982</Telephone>";
$text2 .= "<Fax></Fax> ";
$text2 .= "<Email>
[email protected]</Email>";
$text2 .= "<EmailComments></EmailComments>";
$text2 .= "<Position>Short Technical Analyst</Position>";
$text2 .= "<Skills>Anything</Skills>";
$text2 .= "<Location>Tiptree</Location>";
$text2 .= "<Reference>Alan</Reference>";
$text2 .= "<StartDate>ASAP</StartDate>";
$text2 .= "<Duration></Duration>";
$text2 .= "<Rate>1 per hour</Rate>";
$text2 .= "<Type>P</Type>";
$text2 .= "<URL/>";
$text2 .= "</Advert>";
$text2 .= "</Adverts>";
$text2 .= "</PostAdvert>";
$text2 .= "</SOAP:Body>";
set
magicquotes
runtime(0);
//WebService Client.
requireonce("nusoap.php");
// Set the parameters to send to the WebService
$parameters = array('Post
Advert'=>$text2);
// Set the WebService URL
$soapclient = new soapclient("http://193.119.59.225/jsSoapRequest.asp");
// Call the WebService and store its result in $result.
$result = $soapclient->call('PostAdvert
01',$parameters);
echo "<b>".printr($result)."</b>";
?>
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).