× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Does anyone know how i go about doing this?

tfah or direction,

John

-----Original Message-----
From: rpg400-l-request@xxxxxxxxxxxx [mailto:rpg400-l-request@xxxxxxxxxxxx]
Sent: Tuesday, June 04, 2013 12:00 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 12, Issue 306

Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/rpg400-l
or, via email, send a message with subject or body 'help' to
rpg400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
rpg400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than "Re: Contents of RPG400-L digest..."


*** NOTE: When replying to this digest message, PLEASE remove all text unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. RE: Attempting to learn Web Services (by example)
(Nicholas T Lawrence)
2. RE: Attempting to learn Web Services (by example) (Gary Thompson)
3. Re: RPGDoc (Jon Paris)


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

message: 1
date: Mon, 3 Jun 2013 12:41:04 -0500
from: Nicholas T Lawrence <ntl@xxxxxxxxxx>
subject: RE: Attempting to learn Web Services (by example)


DB2 for i has tools available in 7.1 that are designed to access web
services:
https://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/stg_ast_sys_wp_access_web_service_db2_i_udf

You could invoke the web service from Run SQL Scripts and examine the results.

For example:
SELECT * FROM
XMLTABLE('/current_observation'
PASSING XMLPARSE(DOCUMENT
SYSTOOLS.HTTPGETBLOB(
-- URL
'http://w1.weather.gov/xml/current_obs/KRST.xml',

-- Header
'<httpHeader> <header name="Accept" value = "application/xml"/> </httpHeader>'
)
)
COLUMNS
"station_id" CHAR(5),
"observation_time" VARCHAR(400),
"weather" VARCHAR(25),
"temp_f" DOUBLE,
"windchill_f" DOUBLE
) Weather;




It's not going to help you format the syntax of your request, but it is easier to go from a prototype to actual code, especially if you intend to use the results from the service in conjunction with your database.


Nick Lawrence
DB2 for IBM i

Success is not final, failure is not fatal: it is the courage to continue that counts.
- Winston Churchill

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

message: 2
date: Mon, 3 Jun 2013 17:51:55 +0000
from: Gary Thompson <gthompson@xxxxxxxxxxx>
subject: RE: Attempting to learn Web Services (by example)

Thank you.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Nicholas T Lawrence
Sent: Monday, June 03, 2013 11:41 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: RE: Attempting to learn Web Services (by example)


DB2 for i has tools available in 7.1 that are designed to access web
services:
https://www-304.ibm.com/partnerworld/wps/servlet/ContentHandler/stg_ast_sys_wp_access_web_service_db2_i_udf

You could invoke the web service from Run SQL Scripts and examine the results.

For example:
SELECT * FROM
XMLTABLE('/current_observation'
PASSING XMLPARSE(DOCUMENT
SYSTOOLS.HTTPGETBLOB(
-- URL
'http://w1.weather.gov/xml/current_obs/KRST.xml',

-- Header
'<httpHeader> <header name="Accept" value = "application/xml"/> </httpHeader>'
)
)
COLUMNS
"station_id" CHAR(5),
"observation_time" VARCHAR(400),
"weather" VARCHAR(25),
"temp_f" DOUBLE,
"windchill_f" DOUBLE
) Weather;




It's not going to help you format the syntax of your request, but it is easier to go from a prototype to actual code, especially if you intend to use the results from the service in conjunction with your database.


Nick Lawrence
DB2 for IBM i

Success is not final, failure is not fatal: it is the courage to continue that counts.
- Winston Churchill



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

message: 3
date: Mon, 3 Jun 2013 16:51:23 -0400
from: Jon Paris <jon.paris@xxxxxxxxxxxxxx>
subject: Re: RPGDoc

Paul's tool works a little differently to RPGDoc in that the main "engine" is designed to scan source and store the results in database tables. It does not have a formal UI as such but Paul includes fully working examples in both PHP and CGIDEV2 which you are free to modify to your own requirements.

On Mon, 3 Jun 2013 11:45:20 -0400 Vern Hamburg wrote:

Are you talking about the tool that Paul Tuohy has provided? Ah, it's
called RPGLEDOC - you can get more information and download at

http://www.systemideveloper.com/downloadRPGLEDOC.html

It's free. And he mentions something about using PHP to present the results.

So I don't know RPGDoc - just saw it on sourceforge.

Jon Paris

www.partner400.com
www.SystemiDeveloper.com






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

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) digest list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.



End of RPG400-L Digest, Vol 12, Issue 306
*****************************************

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.