Web Services

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Web Services

Post by jac53 »

Does Profound have the capabilities to create a Web Service program? If yes How?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Web Services

Post by David »

Profound UI / Genie cannot be used to create Web Services programs.

For creating Web Services programs through RPG, we recommend RPG-XML Suite from Krengel Technologies:

http://www.rpg-xml.com/

It's a great tool which makes it very easy to call a web service and process the results, all using standard RPG. The tool can also be used in the other way, to provide an RPG-based Web Service that others can call.
jac53
Experienced User
Posts: 170
Joined: Mon Jul 19, 2010 2:40 pm
First Name: Jorge
Last Name: Cabrera
Company Name: Lennar Corp
Phone: 305-229-6400
Contact:

Re: Web Services

Post by jac53 »

Thank you for your recommendation.
It looks to me that is not possible to create web services using Profound but consume a web service it is possible because when using an Iframe to posti an URL as to show the Google maps for an specific address, what we are doing is consuming a Web Service Isn't it?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Web Services

Post by David »

Sorry -- I was not aware this was the type of thing you were thinking of. This would not actually be considered a Web Service. Displaying a Google Map would be considered just embedding external page content. And yes, this can be done as you describe using an IFrame widget.

Web Services are pages that output data (usually in XML format) that are designed for consumption by a program, as opposed to content which is viewed by a user, such as Google Maps.

For example, let's say you are writing an order entry application, and your program needs to retrieve shipping rates from UPS or FedEx. The program posts off some details to their site and receives an XML document back from them. The program then parses the document for the rate info and adds the appropriate fees to the customer's order.

That is the sort of thing that is considered Web Services consumption, and RPG-XML Suite allows you to do this easily through standard RPGLE code.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests