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

Re: [soaplite] Cannot encode '_cgi' element as 'hash'. Will be encoded as 'map' instead

Expand Messages
  • Duncan Cameron
    ... From: jozefn777 To: Sent: Wednesday, March 03, 2004 10:24 PM Subject: [soaplite] Cannot encode _cgi
    Message 1 of 2 , Mar 4 1:01 AM
    • 0 Attachment
      ----- Original Message -----
      From: "jozefn777" <jozefn777@...>
      To: <soaplite@yahoogroups.com>
      Sent: Wednesday, March 03, 2004 10:24 PM
      Subject: [soaplite] Cannot encode '_cgi' element as 'hash'. Will be
      encoded as 'map' instead


      > I keep getting the error in the subject as a warning. I do not
      > understand why. I am returning other hashes within hashes in the
      > record return.
      >
      > '_cgi' => { '.charset' => 'ISO-8859-1',
      > '.parameters' => [],
      > '.fieldnames' => ''
      > },
      >
      >
      > Is this because of my .parameters => []?
      >
      When encoding a field SOAP::Lite uses the field name as the element
      name. XML restricts the characters that can comprise an element name and
      one rule is that a name
      cannot begin with a dot (the initial character must be alphanumeric, _
      or :).

      Regards
      Duncan Cameron
    Your message has been successfully submitted and would be delivered to recipients shortly.