Remedy - Server - v9.1.02 - "ERROR (408): Selection data type requires a selection definition" consuming a WebService pushing an enumerated value into a field

Version 3
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    AR System


    APPLIES TO:

    Remedy AR System Server v9.1.02



    PROBLEM:

     

      As an example, when trying to push 3000 into a field consuming a WebService it generates an error.

    Example:
      
      > Trying to push 3000 in Urgency field...will generate an error. (when pushing "3-Medium", works)
      
      > Test WSDL
    http://snitsmmida3/arsys/services/ARService?server=snitsma3&webService=VID:WS-TestUrgency
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WS-TestUrgency">
       <soapenv:Header>
          <urn:AuthenticationInfo>
             <urn:userName>VL.YLIMK</urn:userName>
             <urn:password>1234</urn:password>
             <!--Optional:-->
             <urn:authentication>?</urn:authentication>
             <!--Optional:-->
             <urn:locale>?</urn:locale>
             <!--Optional:-->
             <urn:timeZone>?</urn:timeZone>
          </urn:AuthenticationInfo>
       </soapenv:Header>
       <soapenv:Body>
          <urn:New_Create_Operation_0>
             <urn:Short_Description__c>test123</urn:Short_Description__c>
             <urn:Urgency>3000</urn:Urgency>
          </urn:New_Create_Operation_0>
       </soapenv:Body>
    </soapenv:Envelope>
      
        
      
      The error observed:
    .................................
      
      <USER: VL.SYSMONITORING > AxisFault :   ERROR (408): Selection data type requires a selection definition.; n 
      at com.bmc.arsys.apitransport.ApiProxyJRpcBase.arCall(ApiProxyJRpcBase.java:296)
    at com.bmc.arsys.apitransport.ApiProxyJRpcBase.arCall(ApiProxyJRpcBase.java:168)
    at com.bmc.arsys.api.ProxyJRpc.ARXMLCreateEntry(ProxyJRpc.java:1559)
    at com.bmc.arsys.api.ARServerUser.xmlCreateEntry(ARServerUser.java:8702)
    at com.remedy.arsys.ws.services.ARService.performOperation(ARService.java:578)
    at com.remedy.arsys.ws.services.ARService.processRequest(ARService.java:139)
    at sun.reflect.GeneratedMethodAccessor84.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:141)
    at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
      
      ................................. 
     
      User-added image

     


    CAUSE:

    Defect: SW00524158


    SOLUTION:

    This behavior was identified as a defect:
    ..............
    SW00524158 - AR 9.1 SP2 - Consuming web service - does not recognize enum values
    ..............

    It is solved in 9.1.02 Patch 001:
    Remedy - ARS 9.1 SP2 Patch 001 Corrected issues/defects (AR System Suite and Atrium CMDB)

    There is also for the plain 9.1.02 a Hot Fix available. To obtain the Hot Fix, go to the below FTP location, download the latest available HF and apply it:
    ftp://ftp.bmc.com/pub/ARRecommendedFixes/Server/9.1SP2/

    Please note that only the selection value or enumerated value are valid inputs for the webservice request.   The selection alias cannot be used.


    Article Number:

    000130333


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles