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

RE: Post XML data & expecting XML file in return



   Mike,


   The URL is the value the vendor supplied.


   String in this instance is 1341 bytes.


   Attached is the XML document after I wrote the input XMLSTRING to a
   data file, and then did a CVTTOPCD to the XML file.


   Below is a screen shot of STMTIN.XML, showing the 'SUB'.  When I remove
   it, the error message is removed, and the file is valid.


   [cid:image003.jpg@01CD7973.B1CE0000]


   Worth Holmes
   IT Application Dev Lead
   Kemper Services Group
   8360 LBJ Freeway, Suite 400, Dallas, TX 75243
   972.690.5500 x1656 / 817.938.3889 Cell
   903.561.1838 Fax
   wholmes1@xxxxxxxxxx
   [1]kemper.com


   -----Original Message-----
   From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Krebs
   Sent: Monday, August 13, 2012 3:42 PM
   To: HTTPAPI and FTPAPI Projects
   Subject: RE: Post XML data & expecting XML file in return


   > How do I specify the XML delimiter?


   I was referring to fact that the end of the uri was kind of hanging out
   all by itself. If the URL you coded in the program is correct for the
   web service, then no worries.


   Does STRING include the right arrow? How big is STRING? Why does the
   XML have a ! and carriage return in middle of Vehicle or is that a copy
   paste error?


   -----------------------------------------------------------------------

   This is the FTPAPI mailing list.  To unsubscribe, please go to:

   http://www.scottklement.com/mailman/listinfo/ftpapi

   -----------------------------------------------------------------------


   CONFIDENTIALITY NOTICE: This communication may contain confidential
   information intended only for the addressee(s). If you received this
   communication in error, please notify the sender and delete it from
   your system.

References

   1. http://kemper.com/

JPEG image

<?xml version="1.0" encoding="utf-8" ?><POS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";><POSReq><SignonReq><custLoginName>KemperSpec</custLoginName><custPwd>8f46u31FGe</custPwd><orderingCustomerOrgId>123456789012</orderingCustomerOrgId><shippingCustomerOrgId>123456789012</shippingCustomerOrgId><requestID>30105012012081317043</requestID></SignonReq><ProductReq><productCd>MILES</productCd></ProductReq><PolicyReq><Policy><polNum>FCFIPP301050100</polNum><Drivers><Driver><drvId>A</drvId><Name><firstName>JANE</firstName><lastName>RAMIREZ</lastName><middleName/></Name><age>31</age><genderCd>F</genderCd><maritalStatusCd>S</maritalStatusCd><occupDesc>NA</occupDesc></Driver><Driver><drvId>B</drvId><Name><firstName>ROBERT</firstName><lastName>EDWARDS</lastName><middleName>D</middleName></Name><age>55</age><genderCd>M</genderCd><maritalStatusCd>S</maritalStatusCd><occupDesc>SOFTWARE ENGR</occupDesc></Driver></Drivers><Vehicles><Vehicle><vehId>1</vehId><vin>1B3AP24K6RN257124</vin><useCd>W</useCd><poDrvId>A</poDrvId></Vehicle><Vehicle><vehId>2</vehId><vin>4T1BE46K98U739104</vin><useCd>P</useCd><poDrvId>B</poDrvId></Vehicle></Vehicles><Address><addr1>455 9TH AVE</addr1><addr2/><city>SAN FRANCISCO</city><state>CA</state><zip>94118</zip></Address></Policy></PolicyReq></POSReq></POS>

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