hi all.

i'm able to generate a valid wsdl but i'm not able to pass any
parameters to my methods. an example:
  /**
   * A test method.
   *
   * @ws-enable
   * @ws-method HelloWorld
   *
   * @param string $name The name
   *
   * @return string The result
   */
  public function executeHello($name)
  {
      $this->result = 'Hello '.$name;
      return sfView::SUCCESS;
  }

to be sure that enable_soap_parameter is on, this is my cached
config_app.yml.php:
sfConfig::add(array(
  'app_enable_soap_parameter' => true,
  'app_ck_web_service_plugin_wsdl' => '/path/to/my/WebService.wsdl',
  'app_ck_web_service_plugin_handler' => 'WebServiceHandler',
  'app_ck_web_service_plugin_soap_options' => array (
  'encoding' => 'utf-8',
  'soap_version' => 2,
),
));

this problem is also raised with the concerning ckTestSoapClient test:
$options = array(
  'classmap' => array(
  ),
);
$test = new ckTestSoapClient($options);
$test->HelloWorld('MyName')->is('', 'Hello MyName');

and the response gives me:
not ok 1 - response object . is Hello MyName
#     Failed test (./plugins/ckWebServicePlugin/lib/test/
ckTestSoapClient.class.php at line 368)
#            got: 'Hello '
#       expected: 'Hello MyName'

any help is appreciated,
thanks!

--

You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to