Loading ...
Sorry, an error occurred while loading the content.

6280Namespace issues

Expand Messages
  • Jeff Gao
    Jan 28, 2009

      I am using SOAP-Lite to access my Web service, get error message of:

      env:Server, Cannot find child element: arg0.

      My Perl script is looks like:

      my $rpc = SOAP::Lite->uri('http://sdk.mycompany.com/')
      my $param = SOAP::Data->type('string')->name('arg0')->value('value1');
      my $myresult = $rpc->callMethod($param);

      The SOAP XML looks like (have previous error):
      <?xml version="1.0" encodiing="UTF-8">
      <callMethod xmlns="http://sdk.mycompany.com/">

      I used TCPMon, the Perl will work if the SOAP XML looks like this (WS
      will work without error):

      <ns1:callMethod xmlns:ns1="http://sdk.mycompany.com/">

      How can I change my Perl to let it work?

      Thanks a lot!