[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Wunderground REST format
I also tried this way (ending and starting the contiguous lines with a ') and received the same error.
rc = http_url_post_xml('http://api.wunderground.com' +
'/api/5b22c92f30a13e79/conditions/q/17112.json'
: *NULL
: 0
: %paddr(StartOfElement)
: %paddr(EndOfElement)
: *NULL );
Bill Zader
Team Leader, Application Support
(RAF, MRO, XMS, Irista, CribMaster, Infor, ClearOrbit)
Exel
260 Salem Church Road
Mechanicsburg, PA 17050 USA
Office: 717-901-1091
Cell: 717-982-1001
Fax: 717-901-1733
www.exel.com
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Bill Zader (Exel US)
Sent: Friday, March 13, 2015 3:25 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Wunderground REST format
Hi. Thanks for getting back to me.
I took a wild guess at what to do using REST format and their .JSON call.
I am receiving a 'Host name look up failed.' error message return in the http_error field.
My parms are below:
rc = http_url_post_xml('http://api.wunderground.com +
/api/5b22c92f30a13e79/conditions/q/17112.json'
: *NULL
: 0
: %paddr(StartOfElement)
: %paddr(EndOfElement)
: *NULL );
Heck it might be as simple as the fact that I have the "+" within the rc value. Or it hates the fact that I used *NULL and 0.
Bill Zader
Team Leader, Application Support
(RAF, MRO, XMS, Irista, CribMaster, Infor, ClearOrbit)
Exel
260 Salem Church Road
Mechanicsburg, PA 17050 USA
Office: 717-901-1091
Cell: 717-982-1001
Fax: 717-901-1733
www.exel.com
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Friday, March 13, 2015 3:14 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Wunderground REST format
I did some proof-of-concept programs with Wunderground ages ago...
probably 7-8 years ago. They worked just fine.
Can you tell us more about the problems you're having?
On 3/13/2015 12:39 PM, Bill Zader (Exel US) wrote:
> Hello, I am working on a project to retrieve current weather
> conditions from wunderground.com. I was able to use SOAPUI in REST
> format and receive results. Now I need to convert the thing to RPG.
>
>
> Has anyone gotten this to work? If so, I would greatly appreciate how
> you did it as this is a daunting task for someone with no web
> programming experience.
>
>
> Thanks in advance.
>
> Bill Zader
> Team Leader, Application Support
> (RAF, MRO, XMS, Irista, CribMaster, Infor, ClearOrbit)
> [1]bill.zader@xxxxxxxx
>
> References
>
> 1. mailto:bill.zader@xxxxxxxx
>
>
>
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list. To unsubscribe, please go to:
> 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
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
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
-----------------------------------------------------------------------