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

Re: [soaplite] How to specify namespace for the method name tag

Expand Messages
  • rjray@blackperl.com
    Disclaimer: I don t know for certain that this will work, and I don t have the time at the moment to test it. If it doesn t, I can try to figure out what I get
    Message 1 of 2 , Oct 1, 2002
    • 0 Attachment
      Disclaimer: I don't know for certain that this will work, and I don't have the
      time at the moment to test it. If it doesn't, I can try to figure out what I
      get wrong below...

      > print SOAP::Lite
      > -> service('http://www.test.com/webservices/test.asmx?WSDL')
      > -> xmlschema('http://www.w3.org/2001/XMLSchema')
      > -> envprefix('soap')
      > -> test2(SOAP::Data->name("p1" => 'param1'),
      > SOAP::Data->name("p2" => 'param2'));

      Rather than calling the remote subroutine directly by name as in the above
      example, consider using the "call" method and passing a SOAP::Data object as
      the first parameter (the first parameter is taken as the remote name to call):

      > print SOAP::Lite
      > -> service('http://www.test.com/webservices/test.asmx?WSDL')
      > -> xmlschema('http://www.w3.org/2001/XMLSchema')
      > -> envprefix('soap')
      > -> call(SOAP::Data->name('test2')->uri("http://test.com/webservices/"),
      > SOAP::Data->name("p1" => 'param1'),
      > SOAP::Data->name("p2" => 'param2'));

      See if this works. If it doesn't, I'll try again when I'm a little more
      focused...

      Randy
      --
      """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
      Randy J. Ray rjray@...
      Campbell, CA rjray@...
      <A HREF="http://www.svsm.org">Silicon Valley Scale Modelers</A>
    Your message has been successfully submitted and would be delivered to recipients shortly.