Before you write an adapter request


You must ensure that the following conditions are met before you write an adapter request:

  • You must wrap special characters that are used in a text field in the CDATA XML element.
     Sample text: 

     <!\[CDATA\[gbrbaPrdActorsA:sample(&*&$#$^text]]> 
  • When executing a sample request from this documentation, you must ensure that the elements in the adapter request match the fields in the HP Service Manager application, if the application is customized.
  • If a large number of records are associated with the query, the execution of the request might take some time.
  • The general format for writing an array-type element is as follows: 

     
    <array-type-element>
     <type>array</type>
     <array-type-element> <!--here multiple "element" children can exist.-->
       <element></element>
       <element></element>
       <element></element>
        ...
     </array-type-element>
    </array-type-element>
  • The general format for writing a structure-type element is as follows: 

     
    <structure-type-element>
     <type>structure</type> <!-- here multiple children can exist, each showing one field of structure "structure-type-element" -->
    </structure-type-element>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*