Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

Problem using Create Entitlement Web Service

$
0
0
Hi everyone,.
i'am trying to create an Entitlement using the "Create entitlement" web service (v73/ws/entitlement.ws).
My entitlement has only one product associated, and all the 4 features are set as "can be excludable" in the product definition.
The goal is to create an entitlement for the given product, in which only 2 features are present while the other 2 are excluded.
I provide the following .xml to perform the Entitlement creation:
  1. <entitlement>
  2. <action>SAVE</action>
  3. <enabled>true</enabled>
  4. <entState>DRAFT</entState>
  5. <customerId>28</customerId>
  6. <customerEmail>aaa@bbb.com</customerEmail>
  7. <refId1></refId1>
  8. <refId2></refId2>
  9. <description></description>
  10. <entitlementItem>
  11. <startDate>2017-04-27</startDate>
  12. <endDate>2500-12-31</endDate>
  13. <numProductKeys>1</numProductKeys>
  14. <numActivationPerProductKey>1</numActivationPerProductKey>
  15. <vendorId>1</vendorId>
  16. <lineItemType>Hardware_Key</lineItemType>
  17. <itemProduct>
  18. <productId>28</productId>
  19. <product>
  20. <productFeatureRef>
  21. <featureId>31</featureId>
  22. </productFeatureRef>
  23. <productFeatureRef>
  24. <featureId>32</featureId>
  25. </productFeatureRef>
  26. </product>
  27. </itemProduct>
  28. <protectionKeyId></protectionKeyId>
  29. </entitlementItem>
  30. </entitlement>
As mentioned in the Sentinel EMS Web Services Guide:

To exclude a Feature from a Product, do not include that Feature in Product details. 

I only specify 2 of the 4 available features.
The result i got is the creation of the entitlement in which all the 4 features are present.

Am i doing something wrong?

Thanks for the assistance!

Vanni

Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>