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

HTTP_URL_POST - Debug log in response file!



   Hi all,

   I'm new to HTTPAPI and consuming so please forgive any
   misunderstandings or incorrect terminology.



   I'm attempting to use HTTP_URL_POST to sent a SOAP message to a web
   service. In test this was working perfectly. However, on our
   production machine we sporadically get odd responses in the file saved
   to the IFS, sometimes it is empty, sometimes it contains what looks
   like the debug log which obviously causes major problems when I try to
   parse the response.



   This is the response file for one such request, just to reiterate,
   this came from the location on the IFS that the SOAP return message
   should be, not tmp/httpapi_debug.txt



   http_persist_open(): entered
   http_long_ParseURL(): entered
   DNS resolver retrans: 2
   DNS resolver retry  : 2
   DNS resolver options: x'00000136'
   DNS default domain: SO-UK.fortis.com
   DNS server found: 192.168.91.98
   DNS server found: 192.168.91.99
   http_persist_post(): entered
   http_long_ParseURL(): entered
   do_post(): entered
   POST /COAXMLLoad/Fortis/Live/Web/ImportExport.asmx HTTP/1.1
   Host: 206.208.168.249
   User-Agent: http-api/1.23
   Content-Type: text/xml;
   charset=utf-8
   SOAPAction:
   [1]http://tempuri.org/Import
   Expect:
   100-continue

   Content-Length:
   736
   Authorization: Basic
   XXXXXXXXXXXXXXXXXXXXXXXXXXXXX=




   recvresp():
   entered
   HTTP/1.1 100
   Continue




   SetError() #13: HTTP/1.1 100
   Continue
   senddoc():
   entered
   <soap:Envelope
   xmlns:xsi="[2]http://www.w3.org/2001/XMLSchema-instance";
   xmlns:xsd="[3]http://www.w3.org/2001/XMLSchema";
   xmlns:soap="[4]http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><
   Import
   xmlns="[5]http://tempuri.org/";><UserId>XXXXXXX</UserId><Pswd>XXXXXXXXX
   X</Pswd><SchemaType>coa
   1.01</SchemaType><strXmlData><![CDATA[<CASES><CASE LOB="APV"
   claimNbr="99999999K"
   seq="3"><LOSSDATE>2008-11-14</LOSSDATE><JUR>UK</JUR><HANDLER>WSL</HAND
   LER><OFFICEID>eastleigh</OFFICEID><ENTITY etype="CLAIMANT"
   id="7844768K3" subType="IN"><NAME first="BUILDER"
   last="BOB"/><ADDRESS/><DOB>2006-05-02</DOB><GENDER>F</GENDER></ENTITY>
   </CASE></CASES>]]></strXmlData><ErrorCode>0</ErrorCode><ErrorMessage><
   /ErrorMessage></Import></soap:Body></soap:Envelope>
   recvresp(): entered
   HTTP/1.1 200 OK
   Date: Tue, 26 May 2009 08:43:49 GMT
   Server: Microsoft-IIS/6.0
   X-Powered-By: ASP.NET
   X-AspNet-Version: 2.0.50727
   Cache-Control: private, max-age=0
   Content-Type: text/xml; charset=utf-8
   Content-Length: 863


   SetError() #13: HTTP/1.1 200 OK
   recvdoc parms: identity 863
   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><ImportResp
   onse xmlns="[9]http://tempuri.org/";><strXmlData>&lt;CASES&gt;&lt;CASE
   LOB="APV" claimNbr="9999999K" seq="3" id="9ef98bffcc254c7ca326"
   upd="Y" chg="N"
   processed="yes"&gt;&lt;LOSSDATE&gt;2008-11-14&lt;/LOSSDATE&gt;&lt;JUR&
   gt;UK&lt;/JUR&gt;&lt;HANDLER&gt;WSL&lt;/HANDLER&gt;&lt;OFFICEID&gt;eas
   tleigh&lt;/OFFICEID&gt;&lt;ENTITY etype="CLAIMANT" id="99999999K3"
   subType="IN"&gt;&lt;NAME first="BUILDER" last="BOB" /&gt;&lt;ADDRESS
   /&gt;&lt;DOB&gt;2006-05-02&lt;/DOB&gt;&lt;GENDER&gt;F&lt;/GENDER&gt;&l
   t;/ENTITY&gt;&lt;/CASE&gt;&lt;/CASES&gt;</strXmlData><ErrorCode>0</Err
   orCode><ErrorMessage
   /></ImportResponse></soap:Body></soap:Envelope><?xml version="1.0"
   encoding="utf-8"?><soap:Envelope
   xmlns:soap="[10]http://schemas.xmlsoap.org/soap/envelope/";
   xmlns:xsi="[11]http://www.w3.org/2001/XMLSchema-instance
   xmlns:xsd="[12]http://www.w3.org/2001/XMLSchema";><soap:Body><ImportRes
   ponse
   xmlns="[13]http://tempuri.org/";><strXmlData>&lt;CASES&gt;&lt;CASE
   LOB="APV" claimNbr="9999999K" seq="3" id="9ef98bffcc254c7ca326"
   upd="Y" chg="N"
   processed="yes"&gt;&lt;LOSSDATE&gt;2008-11-14&lt;/LOSSDATE&gt;&lt;JUR&
   gt;UK&lt;/JUR&gt;&lt;HANDLER&gt;WSL&lt;/HANDLER&gt;&lt;OFFICEID&gt;eas
   tleigh&lt;/OFFICEID&gt;&lt;ENTITY etype="CLAIMANT" id="9999999K3"
   subType="IN"&gt;&lt;NAME first="BUILDER" last="BOB" /&gt;&lt;ADDRESS
   /&gt;&lt;DOB&gt;2006-05-02&lt;/DOB&gt;&lt;GENDER&gt;F&lt;/GENDER&gt;&l
   t;/ENTITY&gt;&lt;/CASE&gt;&lt;/CASES&gt;</strXmlData><ErrorCode>0</Err
   orCode><ErrorMessage /></ImportResponse></soap:Body></soap:Envelope>
   http_close():
   entered



   One odd thing about this log is that the SOAP message which I'm
   expecting back is duplicated, not sure if this related to the overall
   problem or not?



   Any guidance much appreciated.



   

     _________________________________________________________________

   Registered Address: Fortis House Tollgate Eastleigh Hampshire SO53 3YA
   Registered Number: 354568 England
   Authorised and regulated by the Financial Services Authority
   This e-mail together with any attachments are intended for the
   addressee only and may be private and confidential. If you are not the
   intended recipient, or the person responsible for delivering it to the
   intended recipient, you must not open any attachments, or copy,
   disclose, distribute, retain or use this e-mail, including any
   attachments, in any way whatsoever; please return it to us immediately
   using the reply facility on e-mail.
   Consider the environment and think before you print this email.

References

   1. http://tempuri.org/Import
   2. http://www.w3.org/2001/XMLSchema-instance
   3. http://www.w3.org/2001/XMLSchema
   4. http://schemas.xmlsoap.org/soap/envelope/";><soap:Body><Import
   5. http://tempuri.org/";><UserId>XXXXXXX</UserId><Pswd>XXXXXXXXXX</Pswd><SchemaType>coa
   6. http://schemas.xmlsoap.org/soap/envelope/
   7. http://www.w3.org/2001/XMLSchema-instance
   8. http://www.w3.org/2001/XMLSchema";><soap:Body><ImportResponse
   9. http://tempuri.org/";><strXmlData>&lt;CASES&gt;&lt;CASE
  10. http://schemas.xmlsoap.org/soap/envelope/
  11. http://www.w3.org/2001/XMLSchema-instance
  12. http://www.w3.org/2001/XMLSchema";><soap:Body><ImportResponse
  13. http://tempuri.org/";><strXmlData>&lt;CASES&gt;&lt;CASE
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------