[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

http_url_post_xml, complex XML



   Hi,

    I am trying  to send XML this from AS400 using SOAP and
   http_url_post_xml.  Here the tns is complex so I am a little cofused
   how do I send it out



   <xs:element name="OrderInteractive">

   <xs:complexType>

    <xs:sequence>

   <xs:element minOccurs="0" name="inCommunications" nillable="true" type=
   "xs:string"/>

   <xs:element minOccurs="0" name="inOrder" nillable="true" type="tns:Orde
   rEntity"/>

           </xs:sequence>

        </xs:complexType>

   </xs:element>


   <xs:complexType name="OrderEntity">

   <xs:sequence>


   <xs:element minOccurs="0" name="OrderXml" nillable="true" type="xs:stri
   ng"/>

   </xs:sequence>

   </xs:complexType>


   <xs:element name="OrderEntity" nillable="true" type="tns:OrderEntity"/>



   And this is my OrderXML


   <Order>

               <Handling>OL</Handling>

               <ProductID>DL</ProductID>

               <State>

                           <Abbrev>CO</Abbrev>

               <Full></Full>

               </State>

               <Subtype>3Y</Subtype>

               <Purpose>AA</Purpose>

               <License>201478911</License>

               <FirstName>JOHN</FirstName>

               <LastName>SMITH</LastName>

               <DOB>

                           <Year>1980</Year>

                           <Month>07</Month>

                           <Day>19</Day>

               </DOB>

               <Misc>TEST ORDER INTERACTIVE</Misc>

   </Order>





   Thanks for help


   Vikas Mishra I Programmer Analyst
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------