Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

How do I ignore null/invalid values in a SOAP request (1 Comment)

$
0
0

Topic by Bipin Mittal

Content

Hi All,

I am making a SOAP request to create an Incident and pass the product ID to be associated as below:

<q1:Product>
<ID id='$prodID' xmlns="urn:base.ws.rightnow.com/v1_2"/>
</q1:Product>

The $prodID is the product ID that comes form the external system. This works fine if the value that comes is a valid one. But, if the incoming value is null or invalid, the case create fails.

What I want to achieve is, that the case should still be created with no Product assigned to it. Is it possible?

~Bipin

 

Version

Feb'14

Viewing all articles
Browse latest Browse all 2504

Trending Articles