FLEXNET OPERATIONS SOAP WEB SERVICES GUIDE

FlexNet Operations Web Services Guide

Appendix A: Web Service Data Types with Choices

Introduction

When you view FlexNet Operations web service interfaces through the URL http://, Axis–Java does not properly display choices in data types. Therefore, this appendix contains the proper schema definitions for the types that define choices. The following table shows the data types that offer choices for data types that are used in Web service requests. XML fragments illustrating the proper syntax follow the table.

Complex Type (with XSD File)  Description 

attributeDescriptorType (commonTypes)

Specify one of several data types for the value of the named license model attribute.

entitlementDataType (commonEntitlementTypes)

Specify simple or bulk entitlement.

expirationTermsDataType (entitlementLifeCycleTypes)

Specify duration (integer and duration units) or an expiration date.

OrganizationQuery (OrganizationAdministration)

Specify either uniqueId or organizationId.

UserList (UserAdministration)

Specify either (FlexNet) users or domain users.

attributeDescriptorType
<xs:complexType name="attributeDescriptorType">
   <xs:sequence>
      <xs:element name="attributeName" type="xs:string"/>
      <xs:choice>
         <xs:element name="stringValue" type="xs:string" minOccurs="0"/>
         <xs:element name="dateValue" type="xs:date" minOccurs="0"/>
         <xs:element name="booleanValue" type="xs:boolean" minOccurs="0"/>
         <xs:element name="integerValue" type="xs:integer" minOccurs="0"/>
         <xs:element name="arrayValue" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
      </xs:choice>
   </xs:sequence>    
</xs:complexType>
entitlementDataType
<xs:complexType name="entitlementDataType">
   <xs:choice>
      <xs:element name="simpleEntitlement" type="tns:simpleEntitlementDataType" minOccurs="0"/>
      <xs:element name="bulkEntitlement" type="tns:bulkEntitlementDataType" minOccurs="0" />
   </xs:choice>
</xs:complexType>
expirationTermsDataType
<xs:complexType name="expirationTermsDataType">
   <xs:choice>
      <xs:element name="term" type="tns:DurationType" minOccurs="0"/>
      <xs:element name="expirationDate" type="xs:date" minOccurs="0"/>
   </xs:choice>
</xs:complexType>
OrganizationQuery
<xsd:complexType name="OrganizationQuery">
   <xsd:choice>
      <xsd:element ref="impl:uniqueId" />
      <xsd:element ref="impl:organizationId" />
   </xsd:choice>
</xsd:complexType>
UserList
<xsd:complexType name="UserList">
   <xsd:choice>
      <xsd:element name="users" type="impl:User" maxOccurs="unbounded"/>
      <xsd:element name="domainUsers" type="impl:DomainUser" maxOccurs="unbounded"/>
   </xsd:choice>
</xsd:complexType>