Posted: Thu Mar 17, 2016 6:26 am Post subject: Re: Setting xsi:nil="true" attribut in SOAP messag
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
wmqstankela wrote:
Hi all,
I'm having a problem with creating element with xsi:nil="true" attribute in SOAP message in ESQL.
When I use this code in compute node:
Code:
[code]SET OutputRoot.SOAP.Body.someField[/code] VALUE = NULL;
it generates element in SOAP message like <NS3:someField/> but I need to be like <NS3:someField xsi:nil="true"/>.
Any advice is really helpful.
Thanks
Have you tried:
Code:
SET OutputRoot.SOAP.Body.NS3:someField.(XMLNSC.Attribute).xsi:nil = true;
Make sure you declare xsi as an ESQL namespace but also with an XMLNSC.Namespace type declaration to avoid having a new namespace declaration for each occurrence in the output document... _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum