Welcome, Guest. Please login or register.
Did you miss your activation email?
05/21/12, 03:05
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  Web Services: XML, Soap, WSDL, UDDI, and Flash Integration (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Jorge Solis)
| | |-+  soap dictionary service problem w/php (works with flash webservice component)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: soap dictionary service problem w/php (works with flash webservice component)  (Read 1349 times)
adam
Server what's that
*
Posts: 1



View Profile Email
« on: 10/09/04, 10:25 »

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=DefineInDict

its 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 Shocked
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 Smiley
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!