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

6568Looking for some direction with this

Expand Messages
  • stephenc01_01
    Feb 2, 2011
    • 0 Attachment
      I am talking to a soap API.

      This is the desired output
      $xml = ' <metadata xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns4:kt_metadata_fieldset[1]" SOAP-ENC:offset="[0]">
      <fieldset xsi:type="ns4:kt_metadata_fieldset">
      <fieldset xsi:type="xsd:string">General Information</fieldset>
      <fields xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="ns4:kt_metadata_field[5]" SOAP-ENC:offset="[0]">
      <field xsi:type="ns4:kt_metadata_field">
      <name xsi:type="xsd:string">Document Author</name><value xsi:type="xsd:string">N/A</value>
      <field xsi:type="ns4:kt_metadata_field">
      <name xsi:type="xsd:string">Date On Document</name><value xsi:type="xsd:string">2010-08-12</value>
      <field xsi:type="ns4:kt_metadata_field">
      <name xsi:type="xsd:string">Notes</name><value xsi:type="xsd:string">some notes</value>

      I would like to create this using SOAP::Data right now i am building the XML by hand and sending it with SOAP::Data->type('xml' => $xml)
    • Show all 2 messages in this topic