- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Unable to process Preview Response from LLS
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
When I want to fetch the features available on the LLS using a preview request, a response is returned. But when the response is processed, it fails with an exception-
Caused by: com.flexnet.licensing.exceptions.PublicLicensingException: Preview response cannot be processed into the license source.
at com.flexnet.licensing.b.a.j(SourceFile:404)
at com.flexnet.licensing.b.i.a(SourceFile:522)
at com.flexnet.licensing.a.g.a(SourceFile:92)
at com.flexnet.licensing.a.t.addTrustedStorageLicenseSource(SourceFile:159)
at com.flexnet.licensing.a.t.processCapabilityResponse(SourceFile:178)
I am sure, am missing something, but not sure what
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
HI @sunilbond ,
That error is expected. If you are performing a Preview request you do not want to Process the Capability Response into Trusted Storage. Here's a snippet from the CapabilityResponse example provided in the .NET XT Kit:
If the request is of type preview the results are displayed rather than processed.
Thanks,
Jim
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi Sunil,
Can you please confirm if you are using the java toolkit to fetch the licenses from the LLS? Preview Responses can't be processed into the Trusted Storage I believe and hence you are getting the error. If your code uses processCapabilityResponse can you try using getResponseDetails instead and see if that works? For example:
ICapabilityResponseData responseDetails = licenseManager.getResponseDetails(responseData);
I would recommend opening a support ticket, as you may need to share the sample code which you are using.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
HI @sunilbond ,
That error is expected. If you are performing a Preview request you do not want to Process the Capability Response into Trusted Storage. Here's a snippet from the CapabilityResponse example provided in the .NET XT Kit:
If the request is of type preview the results are displayed rather than processed.
Thanks,
Jim