Ask a Question

Change the XML Request tags using the Groovy Scripts.

kkiran11
New Contributor

Change the XML Request tags using the Groovy Scripts.

Hi,

I have Date node
2009-12-16T00:00:00.000-06:00 
which accepts datetime now in some case i want to send the null value to this date tag i pass it like this
2009-12-16T00:00:00.000-06:00 

Now this I do manually, but I want to automate my Script and now I want to change the Tag using the Groovy script then how should I acheive it. 

Regards,
Kiran K
2 REPLIES 2
JPMorganChase
Occasional Contributor

I see that there is no reply to this inquiry.  I am having a similar question.  How do i represent nil = true using groovy script.
andrew_laser
Occasional Contributor

JPMorganChase wrote:
I see that there is no reply to this inquiry.  I am having a similar question.  How do i represent nil = true using groovy script.

+1 also need to update a node value to be nil e.g.
<ns1:Title xsi:nil="true"/>
cancel
Showing results for 
Search instead for 
Did you mean: