Re: Make IWS use a specific profile

"Nadir Amra" <amra-r/[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <OFB27C81B9.4A2A5A3C-ON00258775.007ECA5C-86258775.007F414F@ibm.com>
When you deploy a web service, you have the ability to indicate the user 
profile the web service should run under. 

You can change the user profile for deployed web services by going to the 
Security tab after clicking on the Properties button for a web service. 

Note that any user profile you specify must give *USE access to the web 
services SERVER user profile. 

If you still cannot get this to work, assuming you are on latest HTTP 
group, open a PMR/ticket. 

"WEB400" <[email protected]> wrote on 10/21/2021 02:32:10 
PM:

> From: "Jim Oberholtzer" <midrangel-zbO79nAUJZvJTQUaaPvyeQC/[email protected]>
> To: "Web Enabling the IBM i (AS/400 and iSeries)" 
<[email protected]>
> Date: 10/21/2021 02:32 PM
> Subject: [EXTERNAL] [WEB400] Make IWS use a specific profile
> Sent by: "WEB400" <[email protected]>
> 
> Folks:
> 
> I have an IWS server hosting a REST web service.  Work Active Job shows 
the
> web jobs running under a user profile created for that purpose.  WEBSVR.
> WEBSVR has authority to all the appropriate stuff but nothing else.
> 
> When the Web service is called, the user profile that is actually used 
is
> QUSER not WEBSVR.  We found this out after banging our heads against 
rocks
> all morning trying to figure out why we could run the program manually 
and
> all was well (our profile) , and the web service always failed (with
> QUSER).  Now we know.
> 
> How do I make IWS use the profile we gave it for incoming transactions?
> 
> --



-- 
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.