hello, im so glad this site has a message board. im making a soap service using php (really amf-php) to a site that has multiple dictionary definitions to choose from. the service i am trying to use is called DefineInDict can be viewed here:
http://services.aonaware.com/DictService/DictService.asmx?op=DefineInDictits a nifty soap service that i can get working from flash authering env using webservice component but due to sandbox issues, thats as far as i can get it to work using flash. so i thought to use php remoting. php makes the connection but one of the two params isnt being sent or not being sent correctly. the error message i get is:
-------
return detail: Parameter not specified (null)
Parameter name: dictId
-------
but i am sending dictId as far as i know
for the moment the value is hardcoded to "wn" which is for the dictionary called worldnet.
the code:
class dictionary {
function dictionary() {
$this->methodTable = array(
"dictionaryControl" => array(
"description" => "Dictionary service test",
"access" => "remote"
"roles" => "role, list", // currently inactive
"arguments" => array ("arg1", "arg2")
)
);
}
function dictionaryControl($obj) {
require_once('nusoap.php');
$params = array("dictId"=>"wn", "word"=>"earth");
$client = new soapclient('
http://services.aonaware.com/DictService/DictService.asmx?WSDL', 'wdsl' );
$result = $Proxy->call('DefineInDict', $params );
return $result;
}
}
?>
thanks in advance for any help
