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

POSTing nested xml (newbie question)

Expand Messages
  • Rich
    I m fairly new to perl and very new to SOAP and SOAP::Lite... How do I nest xml elements ? (example below, merchantName and merchantIdentifier nested in
    Message 1 of 1 , Apr 21, 2003
    • 0 Attachment
      I'm fairly new to perl and very new to SOAP and SOAP::Lite...

      How do I nest xml elements ? (example below, merchantName and
      merchantIdentifier nested in "merchant")
      thanks, Rich

      <?xml version='1.0' encoding='ISO-8859-1'?>
      <SOAP-ENV:Envelope xmlns:SOAP-
      ENC='http://schemas.xmlsoap.org/soap/encoding/'
      SOAP-
      ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/'
      xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
      <SOAP-ENV:Body>
      <ns:getAllPendingDocumentInfo xmlns:ns='nsMerchantDataExchange'>
      <merchant xsi:type='ns:Merchant'>
      <merchantName xsi:type='xsd:string'>1922</merchantName>
      <merchantIdentifier
      xsi:type='ns:MerchantIdentifier'>1922</merchantIdentifier>
      </merchant>
      <messageType
      xsi:type='ns:MessageType'>_GET_ORDERS_DATA_</<messageType>
      </ns:getAllPendingDocumentInfo>
      </SOAP-ENV:Body>
      </SOAP-ENV:Envelope>
    Your message has been successfully submitted and would be delivered to recipients shortly.