Not getting updated features from the JAVA framework
Hi,
I've implemented a 'Renew Subscription' in my Android App. This allows my users to retrieve updated licenses from our server. When I change the features available to a given activation key on the server and the user renews through the app, the features are not updated in the license stream I receive from the server
<begin test run report>
////
// On my license server, via the QLM Management console, in Manage Keys, I Edit and change the features
// ( I expect to get <features>0:1;</features> )
//
// I also Renew Subscription to change the expiryDate. In my App i use 'renew subscription'.
// In the java code, this amounts to calling ActivateLicense with a non null pckey parameter.
//
// I dump the stored license key just before I make the server call, B4 RENEW is thus the license
// XML as it is before I renew my subscription.
//
// The XML I get back from the server is dumped when I enter ProcessResponseforActivation.
// Notice the expiryDate has changed, but not the features
//
06-29 16:47:37.460 4055 4075 D TachyonActivity: B4 RENEW : <?xml version="1.0" encoding="utf-8"?><QuickLicenseManager><pckey>VMP60E0102G2H1JK8N91318MMU4W9P7A5BH7SFK</pckey><computerID>0323816214334</computerID><userCompany>VYV</userCompany><userFullName>License Test</userFullName><userEmail>license_test@vyv.ca</userEmail><productID>3</productID><productName>Tachyon</productName><majorVersion>8</majorVersion><minorVersion>2</minorVersion><result>Your license is valid and entitles you to install 1 copy of Tachyon.</result><status>4</status><features>0:2;1:1;</features><duration>0</duration><expiryDate>2017-06-30 00:00</expiryDate><activationKey>BMQ7040102G2H1JK8N9P318ATMWIHA5K44DI5ED</activationKey><userData></userData><maintenanceRenewalDate>2018-06-27 04:00</maintenanceRenewalDate><serverDate>2017-06-29 20:34</serverDate><licenseModel>subscription</licenseModel><computerType>None</computerType><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>SlGZjGtVnnIhqgQekrQMwg0T5QI=</DigestValue></Reference></SignedInfo><SignatureValue>30eVkUz6mjgeFj2MvSICLu0DiTDUnQt+/npiNW+PdkkAGLDYrrdao06AbEm4KhQ3fIwUbwa0xrwHJuPUp1WM+ntNDLXRR1DN7Y7IKrAASojetO+NQndoUdT9klH0owDh+GfORaRHTILz/0k/mRNrOss9oAm2KNYsmFIlLBQskAg=</SignatureValue></Signature></QuickLicenseManager>
06-29 16:47:37.744 4055 4145 D QlmLicense: ENTERING ProcessResponseforActivation
06-29 16:47:37.744 4055 4145 D QlmLicense: XML Response : <?xml version="1.0" encoding="utf-8"?><QuickLicenseManager><pckey>VMQ7030102G2H1JK8N9P318GU9KVHB3M34Q3C5Y</pckey><computerID>0323816214334</computerID><userCompany>VYV</userCompany><userFullName>License Test</userFullName><userEmail>license_test@vyv.ca</userEmail><productID>3</productID><productName>Tachyon</productName><majorVersion>8</majorVersion><minorVersion>2</minorVersion><result>Your license is valid and entitles you to install 1 copy of Tachyon.</result><status>4</status><features>0:2;1:1;</features><duration>0</duration><expiryDate>2017-07-03 00:00</expiryDate><activationKey>BMQ7040102G2H1JK8N9P318ATMWIHA5K44DI5ED</activationKey><userData></userData><maintenanceRenewalDate>2018-06-27 04:00</maintenanceRenewalDate><serverDate>2017-06-29 20:47</serverDate><licenseModel>subscription</licenseModel><computerType>None</computerType><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>H3CDfzX7BLwn8bLQvKluG+y8KMU=</DigestValue></Reference></SignedInfo><SignatureValue>WtwsMcZT70ei9kpZboeMwwgmarTcYVGP4nUtPBX6BxbILGFbybTxFq3qS/FDdtkG0x+1x0AkwSSLNc/tac16c+fUtdMx0MHyRWoNgvfpIuwubY9zJ8oEq2/kL4HODO+XVl8O+L6xTcKaD64w82IMpjTzzX9WBj97YQ6/E1CcYiA=</SignatureValue></Signature></QuickLicenseManager>
// I tried various combinations of license operations on the server, Revoke, change the subscription expiry, all these work fine, except for the update of the features.
</end test run report>
As far as I can tell, all other license parameters are transmitted correctly ( i.e. change to subscription period, license revoke etc ) but not the features.
My Window app behaves as expected with features updated after a renew.
-
Official comment
Hi
A couple questions so that we can investigate this:
1. What version of the QLM License Server are you using?
2. Can you send me the full http request that you are sending (including the arguments)?
Thanks
John
Comment actions
Please sign in to leave a comment.
Comments
1 comment