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

1690SOAP::Data->value() can it take SOAP::Data?

Expand Messages
  • Jamie Curmi
    Jul 14, 2002
      Hi All,

      I'm very new to SOAP::Lite, and I seem to have a problem when I do
      anything a little more complicated than the examples I can find on the

      I'm writing a simple server. If my remote procedure returns:

      return SOAP::Data->name('FOO')->value(12);

      the client received XML of the following form, as expected (i'm using
      outputxml('true') to see the XML returned):

      <namesp1:hiResponse ...>
      <FOO xsi:type="xsd:int">12</FOO>

      However, if I try to do:

      return SOAP::Data->name('FOO')->value(

      the client receives:

      <namesp1:hiResponse ...">
      <BAR xsi:type="xsd:int">12</BAR>

      ie, there is no FOO. I was expecting something along the lines of:


      Can someone tell me what I am doing wrong?


    • Show all 3 messages in this topic