See the doc. Try a simple test project. On 6/23/14 8:24 PM, "Oleg Konovalov" <[email protected]> wrote:
>Could you please elaborate? >I haven't seen any of that and never used it. > >Any pointers? Code samples? > > > > > >On Wed, Jun 18, 2014 at 12:41 PM, Alex Harui <[email protected]> wrote: > >> There is an escape() function at the top-level as well as encodeURI and >> encodeURIComponent. >> >> I haven't tried XML.toXMLString() to see how it handles < and > in an >> attribute or element. >> >> -Alex >> >> On 6/18/14 4:12 AM, "Oleg Konovalov" <[email protected]> wrote: >> >> >I can try, but it will be users typing. >> >Which probably means that I will need to parse and encode/decode their >> >text >> >typing. >> >Is there any good established easy way of doing it? >> > >> > >> >On Wed, Jun 18, 2014 at 1:42 AM, Patil, Virat >><[email protected]> >> >wrote: >> > >> >> Did you try using < intead of < and > instead of > >> >> >> >> -----Original Message----- >> >> From: Oleg Konovalov [mailto:[email protected]] >> >> Sent: Wednesday, June 18, 2014 8:50 AM >> >> To: [email protected] >> >> Subject: Passing '<' '>' characters in Web Service >> >> >> >> Hi, >> >> >> >> I am using proprietary Web Service (including REST-SOAP Bridge) >>between >> >> Flex GUI and Java backend (to call database via Stored Procedures). >> >> >> >> From time to time we need to pass data containing '>' or '<' >> >> (for example, customer puts some formula into LongDescription of some >> >> data). >> >> If I try to do it on localhost (running on Tomcat6 in FlashBuilder >>4.5), >> >> it works fine, I can store and retrieve that data. >> >> >> >> However, if I try to do it on the server (Apache Web Server and >> >>Tomcat6), >> >> I am getting errors like I/O Stream error. >> >> >> >> Is there a way to encode that data (or escape it), so we can pass < >>and >> >>> ? >> >> >> >> Please help! >> >> >> >> -- >> >> Thank you in advance, >> >> Oleg. >> >> >> >> P.S.: Using Flex 4.5.1 >> >> This message contains information that may be privileged or >>confidential >> >> and is the property of the Capgemini Group. It is intended only for >>the >> >> person to whom it is addressed. If you are not the intended >>recipient, >> >>you >> >> are not authorized to read, print, retain, copy, disseminate, >> >>distribute, >> >> or use this message or any part thereof. If you receive this message >>in >> >> error, please notify the sender immediately and delete all copies of >> >>this >> >> message. >> >> >> > >> > >> > >> >-- >> >Thank you, >> >Oleg. >> >> > > >-- >Thank you, >Oleg.
