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

Re: [soaplite] how can i construct this XML via SOAP::Lite lib

Expand Messages
  • rahed
    ... Do you want this? $var = SOAP::Data- name( name1 = myvalue1 )- attr( { attr1 = myvalue2 } }; -- Radek
    Message 1 of 2 , Apr 23, 2008
    • 0 Attachment
      On 4/22/08, winfinit <winfinit@...> wrote:
      > <method href="blah"/>
      >
      > so essentially i need i guess something like ->type but that allows me
      > to create my custom parameter.
      >
      > $var = SOAP::Data->name('method')->type(''); #but instead of type can
      > i have my custom parameter?

      Do you want this?

      $var = SOAP::Data->name('name1' => 'myvalue1')->attr( { attr1 => 'myvalue2' } };

      --
      Radek
    Your message has been successfully submitted and would be delivered to recipients shortly.