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

how can i construct this XML via SOAP::Lite lib

Expand Messages
  • winfinit
    Hello, how can i put together this call? so essentially i need i guess something like - type but that allows me to create my custom
    Message 1 of 2 , Apr 22 7:55 AM
    View Source
    • 0 Attachment
      Hello, how can i put together this call?

      <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?

      thank you
    • rahed
      ... Do you want this? $var = SOAP::Data- name( name1 = myvalue1 )- attr( { attr1 = myvalue2 } }; -- Radek
      Message 2 of 2 , Apr 23 7:05 AM
      View Source
      • 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.