Thanks Nadir, starting from the command line let me easily see that the new
user profile was failing as it didn't have authority to some libraries.


On Fri, May 1, 2020 at 7:02 PM Nadir Amra <amra@xxxxxxxxxx> wrote:

Hi Robert,

First, ensure you have the latest HTTP group. This is to ensure you start
out with latest and greatest since the article came out.

Second, when you create an IWS server, by default the server user profie
is QWSERVICE. However, you have the opportunity to change it, whether in
the process of creating the server or afterwards via server properties.

Third, not sure why things would not start, I would need the steps you
used. But starting the server from the command line may provide more
information. strtcpsvr *http httpsvr(myserver)

Finally, what profile for the server is up to you. I would recommend
using your own profile. Also, the web services you deploy can be run
under different user profiles.

"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 05/01/2020 04:25:22

From: Robert Rogerson <rogersonra@xxxxxxxxx>
To: "Web Enabling the IBM i (AS/400 and iSeries)"
Date: 05/01/2020 04:25 PM
Subject: [EXTERNAL] [WEB400] Creating my first IWS REST webservice
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

I've worked through Nadir's tutorial ( and
imported the generated swagger file into Postman to create a collection.
was then able to test all the endpoints for students. Great...but then
was thinking that I had created the servers from the wizard using my own
profile which has a lot of authority (too much).

So I deleted everything and started again this time using the default
profile of QWSERVICE. Everything worked great until I tried testing on
Postman where I received an error as the password was *none.

Not wanting to change an IBM profile I copied the profile to WSERVICE1
a password. I deleted everything and tried the wizard again. This time
nothing would start.

So I have two questions.

The first being I'm sure if the problem is with the new profile or I
entered something wrong while using the wizard. But I can't find any
that gives me a hint as to the problem.
Where I should look to shed a light on the issue?

The second has to do with the user profile. Is it recommended to use
QWSERVICE or create a copy as I have done?

This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 by 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.