I looked into that more carefully in Chrome Dev Tools. I can get the data just fine, shows in DataGrid with unscape(). But if I try to Edit it, just save it without any changes, getting that 2032 error. When I try that full URL with Escaped characters in Chrome, getting error 403 Forbidden. Why? On Jun 27, 2014 1:27 AM, "Alex Harui" <[email protected]> wrote:
> Check out Judah's web page about #2032. IIRC, a common problem is simply > that it isn't using the correct URL. A network monitor should show you > what is going on. > > On 6/26/14 7:36 PM, "Oleg Konovalov" <[email protected]> wrote: > > >OK, I put escape() in Add/Edit and unescape() in Select on Flex side which > >calls web service. > >Worked fine on localhost Tomcat6 in FB (could see encoded > < in passed > >URL, can save and retrieve data like "a<b" > >however on deployed Tomcat6 web service still fails with Stream IOError > >(#2032). > > > >Any idea what I am doing wrong? > >(using Flex 4.5.1) > > > > > > > >On Wed, Jun 25, 2014 at 10:47 PM, OmPrakash Muppirala > ><[email protected]> > >wrote: > > > >> On Jun 25, 2014 6:57 PM, "Oleg Konovalov" <[email protected]> wrote: > >> > > >> > Which doc? > >> > No attachment or link... > >> > > >> > >> > >> > >> > http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/packag > >>e.html > >> > >> Thanks, > >> Om > >> > >> > > >> > On Tue, Jun 24, 2014 at 2:53 AM, Alex Harui <[email protected]> wrote: > >> > > >> > > 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. > >> > > > >> > > > >> > > >> > > >> > -- > >> > Thank you, > >> > Oleg. > >> > > > > > > > >-- > >Thank you, > >Oleg. > >
