This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
kiangorji
Flexera beginner
Sep 23, 2020
01:56 PM
Hello, One of our developers has a few questions, and he asked me to post his questions here. Thank you in advance for your help. I want to create a link with the user credentials, so from our website, if the user clicks on that link, they will be redirected to their portal in Flexera without the need to log in again. So based on your FlexNet Operation 2020 (Release 2 sp1) documentation, on the section "Configuring Secure Token Single Sign-on." I tried to create a native authentication, and it's written in the document that I need to use the UserAdministration web service, but I can't find that service. I am using the following URL https://flex1685-uat.flexnetoperations.com/flexnet/services/UserAdministration?wsdl. On page 712, it is mentioned that we need to create a FlexNet user for a web service client. From which service I can create that user? Do you have any examples of how to generate an SSO token with C#?
... View more
Sep 17, 2020
11:24 AM
How to get the list of all hostids for all of our servers hosted in the cloud, using the REST API? The documentation says to use global level "/hostids" which works on local license servers BUT NOT with FNO. The problem is not "authentication" but rather, what's the correct endpoint URL for "global level REST API to FNO", not a specific cloud server? The following tests should make the problem clear: https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/hostids (with appropriate ID for 'XXXX') Fails with "Not found". In fact this doesn't even seem to be a valid REST endpoint. http://localserverUrl/api/1.0/hostids Works. This validates that "/hostids" works. But I want the same thing for CLOUD SERVERS, not local servers. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/ Works. This validates that I have the correct path for a specific cloud server. But I want 'hostids' FOR ALL cloud servers, not a specific one. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/hostids/ Fails, which proves the "/hostids" REST command is not supported even for a specific cloud license server, like it is on a local license server. All my other REST calls work perfectly (authorize, features, etc.) so this is a specific problem for the '/hostids' endpoint only. Any help appreciated.
... View more
Sep 17, 2020
07:01 AM
That was not my question. I already do everything you say when I call the API and as I already explained, other API calls work fine. My question is specifically about the call to get all "/hostids" for all cloud servers in our company. In other words, our company account "XXXX" creates multiple cloud license servers "B", "C", "D" on FNO, for each of our customers. How do I retrieve this list (B, C, D) ? At this point, the problem is about this particular REST call seemingly nonexistent on FNO. http://localserverUrl/api/1.0/hostids Works for a local license server. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/hostids Fails for cloud server, not because of authorization but rather ' 404 Not Found': clearly the path "api/1.0/hostids" is incorrect. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/ Works and returns this specific instance's hostid information. But I want the list of ALL hostids we have in the cloud, not just one. https://flexXXXX-uat.compliance.flexnetoperations.com/api/1.0/instances/XYZ10203040/hostids Fails (404 Not Found) . So again, my need is to programmatically retrieve the list of ALL cloud license server hostids so that I can select one of them and programmatically perform REST operations on it. But first I need to know which hostids exist...
... View more
May 15, 2020
09:35 AM
This was a great answer, i t makes everything much clearer . Thanks a lot jberthold for the detailed explanation (it should be added to the CMAPI manual) and for the PDF with example too.
... View more
May 14, 2020
03:43 PM
I have the CMAPI 2019R2 guide that I'm following and I do not see any example on HOW to GENERATE this token for the request. There is just a vague Python example on how to validate the response if you ask for a signed access.request. Also "The Capability Exchange Process" and "Means to Attach the JWT to the Capability Request" have no example and are totally vague. Is there any example of generating this token somewhere? There's also talks about generating keys on server and all, but I can't see how that would apply to the client license server on FNO, there's nowhere to set a certificate there. Any more precise clarification/example would really be helpful - we're stuck for those important calls.
... View more
May 14, 2020
02:27 PM
I am access the REST API of an FNO license server. I set a password on the license server on FNO and I can successfully authenticate. I receive a Bearer token, which allows me to make almost any REST calls such as "/features", "/hosts", etc... EXCEPT "/ access_request " ... Trying to request features through the "/access_request" access point FAILS as followed: Status:Unauthorized, Reason:{ "key" : "glsErr.userAuthFailed", "message" : "Authorization attempt at uri=/GlobalLicensingService/api/1.0/instances/RW0GJ2TDSZZW/preview_request failed for user (unknown) (error BadCredentialsException(Token refused due to missing key.))", "arguments" : [ "uri=/GlobalLicensingService/api/1.0/instances/RW0GJ2TDSZZW/preview_request", "(unknown)", "BadCredentialsException", "Token refused due to missing key." ] } Why this call fails but all the others are successful, with the SAME Bearer token? What to do? Also: IS THERE ANY EXAMPLE OF ACQUIRING A FEATURE USING REST API ON FNO SERVER?
... View more
Latest posts by kiangorji
Subject | Views | Posted |
---|---|---|
259 | Sep 23, 2020 01:56 PM | |
235 | Sep 17, 2020 11:24 AM | |
528 | Sep 17, 2020 07:01 AM | |
1143 | May 15, 2020 09:35 AM | |
1153 | May 14, 2020 03:43 PM | |
1162 | May 14, 2020 02:27 PM |
Activity Feed
- Posted UseAdministration Web Service on FlexNet Operations Forum. Sep 23, 2020 01:56 PM
- Posted How to get list of HOSTIDS for all Cloud License Servers? on FlexNet Operations Forum. Sep 17, 2020 11:24 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. Sep 17, 2020 07:01 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 15, 2020 09:35 AM
- Posted Re: REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 14, 2020 03:43 PM
- Posted REST API "Token refused due to missing key" for /access_request on FlexNet Operations Forum. May 14, 2020 02:27 PM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Sep 23, 2020
05:16 PM
|