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

5235setting the encoding type of an array

Expand Messages
  • Orlando Andico
    Feb 24, 2006
    • 0 Attachment
      hi all,
      i am using the following Perl fragment to serialize an array for MSSoap.

      "Message" => \SOAP::Data->value(
      SOAP::Data->name( "ns3:string" => @payload)->type("xsd:string") )
      "xmlns:ns2" => "http://www.w3.org/2001/XMLSchema",
      "xmlns:ns3" => "http://schemas.xmlsoap.org/soap/encoding/",
      "ns3:arrayType" => "ns2:string[$num]",
      "xmlns:ns4" => "http://www.w3.org/2001/XMLSchema-instance",
      "ns4:type" => "ns:Array"

      i want the @payload array to be encoded as base64. normally this is
      done as

      SOAP::Data->name( "Var" )
      ->type( base64 => $string )

      but that's for scalars. what about for arrays?