cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create a Simple Entitlement with SoapUI for FlexNet Operations On-Premises

Create a Simple Entitlement with SoapUI for FlexNet Operations On-Premises

Summary

This article will explain how to create a simple entitlement using SoapUI.

Synopsis

This article will explain how to create a simple entitlement using SoapUI for FlexNet Operations On-Premises.

Discussion

When creating a new SoapUI* project, you'll need to point to the 'EntitlementOrderService?wsdl' endpoint.

e.g. http://c3po:8888/flexnet/services/EntitlementOrderService?wsdl

Now in the 'createSimpleEntitlement' operation select a new request which will display all the elements to create a simple entitlement. You may not need to fill out all these elements, as this would depend on what you want to add to your entitlement. You can remove the elements you don't need to create the entitlement, for example, see the simple entitlement request XML below which simply refers to adding and entitlement based on product and license model that should already exists in your Flexnet Operations:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:oper="urn:com.macrovision:flexnet/operations">
<soapenv:Header/>
<soapenv:Body>
<oper:createSimpleEntitlementRequest>
<!--1 or more repetitions:-->
<oper:simpleEntitlement>
<oper:entitlementId>
<!--Optional:-->
<oper:id>ent015</oper:id>
</oper:entitlementId>
<!--Optional:-->
<oper:description>test entiltlement</oper:description>
<oper:lineItems>
<oper:activationId>
<!--Optional:-->
<oper:id>act015</oper:id>
</oper:activationId>
<!--Optional:-->
<oper:description>test activation</oper:description>
<!--Optional:-->
<oper:product>
<!--Optional:-->
<oper:primaryKeys>
<oper:name>RetailProd1</oper:name>
<oper:version>1.0</oper:version>
</oper:primaryKeys>
</oper:product>
<oper:licenseModel>
<oper:primaryKeys>
<oper:name>Retail Activation</oper:name>
</oper:primaryKeys>
</oper:licenseModel>
<!--Optional:-->
<oper:numberOfCopies>100</oper:numberOfCopies>
<!--Optional:-->
<oper:startDate>2015-04-28</oper:startDate>
<oper:isPermanent>true</oper:isPermanent>
</oper:lineItems>
<!--Optional:-->
<oper:allowPortalLogin>false</oper:allowPortalLogin>
</oper:simpleEntitlement>
</oper:createSimpleEntitlementRequest>
</soapenv:Body>
</soapenv:Envelope>

To run the simple entitlement in SoapUI click on the green play button.

*******Note: You would need to modify the following elements to point to the product and license model on your Flexnet Operations server.*******

<oper:product>
<!--Optional:-->
<oper:primaryKeys>
<oper:name>RetailProd1</oper:name>
<oper:version>1.0</oper:version>
</oper:primaryKeys>
</oper:product>
<oper:licenseModel>

<oper:primaryKeys>
<oper:name>Retail Activation</oper:name>
</oper:primaryKeys>
</oper:licenseModel>

*SoapUI is a third party tool and can be downloaded from the following website: http://www.soapui.org/
Labels (2)
Was this article helpful? Yes No
No ratings
Version history
Revision #:
1 of 1
Last update:
‎Oct 19, 2018 07:42 PM
Updated by: