[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Error when retrieving weather info using WEATHR01 pgm (w/ debuginfo)
It is in deed. Thanks.
From: "Craig Jacobsen" <CJacobsen@xxxxxxxxxxxxx>
To: "HTTPAPI and FTPAPI Projects" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Date: 06/04/2009 04:34 AM
Subject: RE: Error when retrieving weather info using WEATHR01 pgm (w/
debuginfo)
Sent by: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
_________________________________________________________________
Had the same problem yesterday.
It is working now though
Craig
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[[1]mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
Klement
Sent: Wednesday, June 03, 2009 7:00 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Error when retrieving weather info using WEATHR01 pgm (w/
debuginfo)
Yeah, I'm having problems, too. If you create a debug file, you'll
see
that the web service is NOT returning an XML document (that's why
you're
getting the XML parse error)
Instead, it's returning the following simple string:
Could not connect to Database Server
Presumably, the NOAA is having some technical difficulties.
MKirkpatrick@xxxxxxxxxxxxxxxxx wrote:
> Everything has been working fine (for several months) using
Scott's
> WEATHR01 pgm to get the weather forecast by zip code. That is,
until
> this morning. The pgm has not changed.
> Now I am getting the following error:
> CALL PGM(WEATHR01) PARM('90814')
> XML parse failed at line 1, col 0: syntax error
> From program . . . . . . . . . : HTTPAPIR4
> From library . . . . . . . . : LIBHTTP
> From module . . . . . . . . : HTTPUTILR4
> From procedure . . . . . . . : HTTP_CRASH
> From statement . . . . . . . : 3395
> Anyone else having problems starting today?
> Part of the 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: WDS
> DNS server found: 10.0.10.3
> http_persist_post(): entered
> http_long_ParseURL(): entered
> do_post(): entered
> POST /forecasts/xml/SOAP_server/ndfdXMLserver.php HTTP/1.1
> Host: 140.90.113.200
> User-Agent: http-api/1.23
> Content-Type: text/xml
> Expect: 100-continue
> Content-Length: 488
> SOAPAction:
>
"[1][2]http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl#L
atL
> onListZipCode"
> recvresp(): entered
> SetError() #43: CommTCP_read: No 100-Continue (error ignored)
> senddoc(): entered
> <soapenv:Envelope
> xmlns:xsi="[2][3]http://www.w3.org/2001/XMLSchema-instance"
> xmlns:xsd="[3][4]http://www.w3.org/2001/XMLSchema"
> xmlns:soapenv="[4][5]http://schemas.xmlsoap.org/soap/envelope/"
>
xmlns:ndf="[5][6]http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfd
XML
> .wsdl"> <soapenv:Header/> <soapenv:Body> <ndf:LatLonListZipCode
>
soapenv:encodingStyle="[6][7]http://schemas.xmlsoap.org/soap/encoding/
">
> <zipCodeList xsi:type="xsd:string">90814</zipCodeList>
> </ndf:LatLonListZipCode> </soapenv:Body> </soapenv:Envelope>
> recvresp(): entered
> HTTP/1.1 100 Continue
> Date: Wed, 03 Jun 2009 21:25:45 GMT
> Via: 1.1 nws-hq-cache01 (NetCache NetApp/6.0.6)
> SetError() #13: HTTP/1.1 100 Continue
> HTTP/1.1 200 OK
> Date: Wed, 03 Jun 2009 21:25:45 GMT
> Content-Length: 36
> Content-Type: text/html; charset=iso-8859-1
> Expires: Wed, 03 Jun 2009 23:25:45 GMT
> Cache-Control: max-age=7200
> Server: Apache
> Vary: Accept-Encoding,User-Agent
> Via: 1.1 nws-hq-cache01 (NetCache NetApp/6.0.6)
> SetError() #13: HTTP/1.1 200 OK
> recvdoc parms: identity 36
> header_load_cookies() entered
> recvdoc(): entered
> SetError() #0:
> Could not connect to Database Server
> http_close(): entered
> SetError() #66: XML parse failed at line 1, col 0: syntax error
> Thanks.
>
>
> References
>
> 1.
[8]http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl#LatLo
nList
ZipCode
> 2. [9]http://www.w3.org/2001/XMLSchema-instance
> 3. [10]http://www.w3.org/2001/XMLSchema
> 4. [11]http://schemas.xmlsoap.org/soap/envelope/
> 5.
[12]http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl
> 6. [13]http://schemas.xmlsoap.org/soap/encoding/
>
>
>
>
----------------------------------------------------------------------
> --
>
>
----------------------------------------------------------------------
> - This is the FTPAPI mailing list. To unsubscribe, please go to:
> [14]http://www.scottklement.com/mailman/listinfo/ftpapi
>
----------------------------------------------------------------------
> -
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[15]http://www.scottklement.com/mailman/listinfo/ftpapi
----------------------------------------------------------------------
-
Confidentiality Notice: This e-mail message, including any
attachments, is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message. Unless expressly stated
in this e-mail, nothing in this message or any attachment should be
construed as a digital or electronic signature.
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[16]http://www.scottklement.com/mailman/listinfo/ftpapi
----------------------------------------------------------------------
-
References
1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
2. http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl#LatL
3. http://www.w3.org/2001/XMLSchema-instance
4. http://www.w3.org/2001/XMLSchema
5. http://schemas.xmlsoap.org/soap/envelope/
6. http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfdXML
7. http://schemas.xmlsoap.org/soap/encoding/
8. http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl#LatLonList
9. http://www.w3.org/2001/XMLSchema-instance
10. http://www.w3.org/2001/XMLSchema
11. http://schemas.xmlsoap.org/soap/envelope/
12. http://140.90.113.200/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl
13. http://schemas.xmlsoap.org/soap/encoding/
14. http://www.scottklement.com/mailman/listinfo/ftpapi
15. http://www.scottklement.com/mailman/listinfo/ftpapi
16. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------