You need to first figure out if the problem is in the client or in the webservice.
Use the 'REST Client' Firefox/Chrome add-on to see if you can pass the data to the server without errors. Thanks, Om On Jun 27, 2014 8:19 PM, "Oleg Konovalov" <oleg...@gmail.com> wrote: > That would be very difficult: that Web Service protocol is proprietary, > and overall I have >100K lines of code (95% is Flex & configuration) > > Any theories why that problem might happen? > > > > On Fri, Jun 27, 2014 at 12:56 PM, OmPrakash Muppirala < > bigosma...@gmail.com> > wrote: > > > Perhaps you can come up with a simple example that we can take a look at? > > > > Thanks, > > Om > > > > > > On Fri, Jun 27, 2014 at 7:02 AM, Oleg Konovalov <oleg...@gmail.com> > wrote: > > > > > 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" <aha...@adobe.com> 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" <oleg...@gmail.com> 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 > > > > ><bigosma...@gmail.com> > > > > >wrote: > > > > > > > > > >> On Jun 25, 2014 6:57 PM, "Oleg Konovalov" <oleg...@gmail.com> > > 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 <aha...@adobe.com> > > > wrote: > > > > >> > > > > > >> > > See the doc. Try a simple test project. > > > > >> > > > > > > >> > > On 6/23/14 8:24 PM, "Oleg Konovalov" <oleg...@gmail.com> > 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 < > aha...@adobe.com > > > > > > > >> 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" <oleg...@gmail.com> > > > 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 > > > > >> > > >><virat.pa...@capgemini.com> > > > > >> > > >> >wrote: > > > > >> > > >> > > > > > >> > > >> >> Did you try using < intead of < and > instead of > > > > > >> > > >> >> > > > > >> > > >> >> -----Original Message----- > > > > >> > > >> >> From: Oleg Konovalov [mailto:oleg...@gmail.com] > > > > >> > > >> >> Sent: Wednesday, June 18, 2014 8:50 AM > > > > >> > > >> >> To: users@flex.apache.org > > > > >> > > >> >> 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. > > > > > > > > > > > > > > > > > -- > Thank you, > Oleg. >