[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTPAPI with CDATA
   Hi,
   We used the HTTPAPI with CDATA to consume of of the Vendor Web Service,
   but the response is  returning result tag with < and > instead of
   < >, I asked the Vendor why and  ithey asked me what tool that I used?
   I old them simple XML via HTTPAPI from IBM i.  Did I miss out some
   functions/method? Appreciate if you can advise me.
   Thanks!
   Hereby is my send doc
   SENDDOC): entered
   <?xml version="1.0" encoding="utf-8"?><soap:Envelope
   xmlns:soap="[1]http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:xsi="[2]http://www.w3.org/2001/XMLSchema-instance"
   xmlns:xsd="[3]http://www.w3.org/2001/XMLSchema"><soap:Body><Audit
   xmlns="[4]http://tempuri.org/McKessonAudit/Claim"><ClaimIn><![CDATA[<?x
   ml version="1.0" standalone="yes"?><MIM-UI>  <SYSTEM-DATA>
   <MIM-OPTIONS>      <DEFINITION-NAME>MIM</DEFINITION-NAME>
   <UNIT-EXP-PRE-OPT>2</UNIT-EXP-PRE-OPT>
   <UNIT-EXP-POST-OPT>1</UNIT-EXP-POST-OPT>
   <MOD-EXP-PRE-OPT>2</MOD-EXP-PRE-OPT>
   <MOD-EXP-POST-OPT>1</MOD-EXP-POST-OPT>
   <EXP-PAY-PCT-IND>Y</EXP-PAY-PCT-IND>    </MIM-OPTIONS>
   <PRODUCT-OPTIONS>      <PRODUCT-NAME>ClaimCheck</PRODUCT-NAME>
   <CALL-SEQUENCE>0</CALL-SEQUENCE>
   <CLAIMCHECK-ACCOUNT>GMISDEFAULT</CLAIMCHECK-ACCOUNT>
   <AGE-REPLACE-IND>Y</AGE-REPLACE-IND
   ...
   ...
   ...
   </MIM-UI>]]></ClaimIn></Audit></soap:Body></soap:Envelope>
   recvresp(): entered
   HTTP/1.1 200 OK
   Cache-Control: private, max-age=0
   Content-Type: text/xml; charset=utf-8
   Server: Microsoft-IIS/7.5
   X-AspNet-Version: 2.0.50727
   X-Powered-By: [5]ASP.NET
   Date: Sun, 31 Mar 2013 23:15:46 GMT
   Content-Length: 14099
   and here is the result;
   RECVDOC
   SetError() #13: HTTP/1.1 200 OK
   recvresp(): end with 200
   recvdoc parms: identity 14099
   header_load_cookies() entered
   recvdoc(): entered
   SetError() #0:
   <?xml version="1.0" encoding="utf-8"?><soap:Envelope
   xmlns:soap="[6]http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:xsi="[7]http://www.w3.org/2001/XMLSchema-instance"
   xmlns:xsd="[8]http://www.w3.org/2001/XMLSchema"><soap:Body>
   <AuditResponse
   xmlns="[9]http://tempuri.org/McKessonAudit/Claim"><AuditResult>
   <![CDATA[<?xml version="1.0"
   standalone="yes"?><MIM-UI><CLAIM-GROUP><CLAIM-DATA>
   ;<CLAIM-ID>000140</CLAIM-ID><MEMBER-DOB>19540103</
   MEMBER-DOB><MEMBER-GENDER>F</MEMBER-GENDER><CLAIM-LAS
   T-LINE>
   ...
   ...
   ..
   MSG-TEXT>13152 CAN ONLY BE DONE  1 TIME(S) ON SINGLE DATE;
   DUPLICATE(S)
   DENIED</MSG-TEXT></MESSAGE-ENTRY></MESSAGE-GROUP><
   /MIM-UI>
   ]]></AuditResult></AuditResponse></soap:Body></soap:Envelope>
   http_close(): entered
References
   1. http://schemas.xmlsoap.org/soap/envelope/
   2. http://www.w3.org/2001/XMLSchema-instance
   3. http://www.w3.org/2001/XMLSchema
   4. http://tempuri.org/McKessonAudit/Claim
   5. http://asp.net/
   6. http://schemas.xmlsoap.org/soap/envelope/
   7. http://www.w3.org/2001/XMLSchema-instance
   8. http://www.w3.org/2001/XMLSchema
   9. http://tempuri.org/McKessonAudit/Claim
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------