× 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.



There really is no code. That's the beauty. It's just an RPGLE program and the IWS setup walks you through the whole thing and does all the SOAP and XML stuff for you.

Don't know how it could get much easier!

Some reference material would be helpful but there are several articles on the product that walk you right through it.

I'm still confused about working with an XML payload in a REST service, so I went the SOAP route for my first foray.

We'll see how it scales, but I think the IBM Team has provided us a great tool.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power

_______________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Scott Orr <scott@xxxxxxxxxxxxxxx>
Sent: Friday, February 5, 2016 10:30 AM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] WEB400 Digest, Vol 14, Issue 22

Would you mind sharing the code with us?

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of

Today's Topics:

1. Re: My First Web Service - Need your input (Roger Harman)


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

message: 1
date: Fri, 5 Feb 2016 01:16:08 +0000
from: Roger Harman <roger.harman@xxxxxxxxxxx>
subject: Re: [WEB400] My First Web Service - Need your input

It's alive! I can bring up the web service and run it thru the "Test
Service" successfully.

What is odd is how IWS displays the return parms in the "form" view. It
displays several "groups" and my parms are scattered among them - the others
are "null".

I also don't see a way to view the returned SOAP XML message. If I choose
"source", I just get a string of data. I can see it fine via SoapUI though.

And, lastly (for now), I assume I need some alias in my http config file to
eliminate the default URL, correct?

I'm pretty stoked though. Now, I have to get it to work with a potential
1000 item request.

Thanks.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power


________________________________________
From: WEB400 <web400-bounces@xxxxxxxxxxxx> on behalf of Tim Rowe
<timmr@xxxxxxxxxx>
Sent: Tuesday, February 2, 2016 6:50 AM
To: web400@xxxxxxxxxxxx
Cc: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] My First Web Service - Need your input

Greetings, The IWS engine is great choice. This environment supports
either SOAP or REST based Web Services. There are easy to use Wizards
that
can help you create the Web Service over your RPG or COBOL program. As
for
performances, we have MANY user that have leveraged this support, from
basic requests to very complex, from a single request a day to customers
that are using this as the primary method of data transfer between their
UI and their back end in several cases, pushing over a million
transactions a day through the system.

Our web site - [1]http://www-03.ibm.com/systems/power/software/i/iws/

Let me know if you need additional details.

Tim


Tim Rowe, timmr@xxxxxxxxxx
Business Architect Application Development & Systems Management for IBM i
IBM i Development Lab, Rochester, MN
(507) 253-6191 (Tie) 553-6191

http://www-03.ibm.com/systems/power/software/i/are/index.html



----- Original message -----
From: Roger Harman <roger.harman@xxxxxxxxxxx>
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>
To: Web Enabling the IBM i AS400 and iSeries <web400@xxxxxxxxxxxx>
Cc:
Subject: [WEB400] My First Web Service - Need your input
Date: Mon, Feb 1, 2016 6:24 PM

I've been asked if we can provide a webs service to enable order
pricing
- returning info to customers in real time. My response was "Of course
we can". I've always wanted to build one and now is my chance.

At this point, I think I have a blank canvas. As far as I know, we are
setting the rules for this.

So... I'm looking at the IWS server and some examples but could use
some
guidance.

Input will be:
Company Code
Customer Code
Array of items and qty's (could be 1 to 900 items)

Output will be:
Company Code
Customer Code
Array of items and qty's and prices and ... (tbd) (could be 1 to
900 items)

So....
I'm estimating volume will be a few hundred inquiries per day but could
be a few thousand down the road.
Is IWS a good engine for this? If not, what is?
SOAP or REST?
Best practice for handling varying amounts of return data?
XML or JSON?
Any other tips or suggestions?

Thanks in advance.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [2]http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [3]http://archive.midrange.com/web400.


References

Visible links
1. http://www-03.ibm.com/systems/power/software/i/iws/
2. http://lists.midrange.com/mailman/listinfo/web400
3. http://archive.midrange.com/web400
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.


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

Subject: Digest Footer

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



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

End of WEB400 Digest, Vol 14, Issue 22
**************************************

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.