0
Votes
Undo
  1. Moshe Tangi
  2. PowerBuilder
  3. Tuesday, 13 October 2020 19:45 PM UTC

Hi all , 

 

I am consuming api ws with httpclient .POST : url + xml string formatted .

I build the xml string my self ( not dw export )

The problem is when i want to use the character & in the string the ws return an error : Illegal xml .

The ws is for sending sms from the app and the xml string contains an url so the client can click from his cell phone to open the a web page with parms ( something like :  &parm1&parm2 )

How do i get over it ? 

thanks

 

Accepted Answer
René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 14 October 2020 05:40 AM UTC
  2. PowerBuilder
  3. # Permalink

Encode & in XML with &

Comment
There are no comments made yet.


There are replies in this question but you are not allowed to view the replies from this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.