XML Tags removed from Bigtext param for webservice

rbnbwnsrbnbwns Member Posts: 1
Hi all,

I created and published a codeunit as a webservice. I have a function with Bigtext as a param.
The other party sends an xml to Navision. However, when I read the bigtext, all the xml-formatting like the tags are gone.
I just see the elements which were between the tags.

I need the tags as well because I need to search for the correct tag. I just wanted to write the content down to a file, so I can check the actual message. Am I doing something wrong in the following code?;

[External] ReturnMessage(VAR RequestContentPar : BigText) : Text


I'm using bigtext because the xml can vary from time to time.

Thanks in advance!
Sign In or Register to comment.