cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
473
Views
0
Helpful
1
Replies

SOAP request to CCP doesn't accept values from standard.

vasantag1
Level 1
Level 1

Hi Team,

We are trying to hit a SOAP request and communicate with CCP to submit a requisition. I have few fields in my dictionary, whose values are populated from standard. When I try to submit a requisition using SOAP request, it doesn't accept the values populated from standard and is checking for values in option list. Below is the Error being displayed:

 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>The value you passed for this Field: 'Lahari_testdict.Make' does not exist in the option list.</faultstring>
         <detail>
            <RequisitionFault xmlns="http://requisition.api.newscale.com">
               <errorCode>REQ_0032</errorCode>
               <errorMessage>The value you passed for this Field: 'Lahari_testdict.Make' does not exist in the option list.</errorMessage>
            </RequisitionFault>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

 

 

I have written a data retrieval rule to populate the values for "make" field from standard before form is loaded in CCP.

Thanks in advance :)

 

1 Reply 1

Paul Jeffrey
Level 1
Level 1

Hi

I have also experienced this issue in the past, unfortunately because you are now consuming the service through an API, none of the form rules are triggered. I assume you are running the DDR on form load, but since there is no user interaction, the onload event does not get triggered.

There are some workarounds you can use if it's just one single select you are using that does not use namespaces or reference other fields to populate the single select: Instead of using the DDR, you can pre-populate the values in the display properties for the single select, this should then validate correctly against the API.

Hopefully this approach works for you.

Regards,

Paul

Review Cisco Networking for a $25 gift card