Skip to Content
0
Aug 14, 2013 at 02:32 PM

XML parameter to a webservice - UpdateListItems

19 Views

Dear Experts,

I need to call the sharepoint webservice UpdateListItems from SAP PI 7.31. This webservice takes in 2 params - List name and Updates.

Updates - This is kind of inner xml like

<Batch OnError='Continue' ListVersion='1' ViewName=''> <Method ID='1' Cmd='New'><Field Name='Title'>"Test"</Field></Method></Batch>

When I populate the above value to this parameter, the entity characters are getting replaced - for ex, < to &lt; - and hence the webservice call is failing. I tried sending the inner xml within CData..but no luck..

Any suggestions please?

Thanks