Have you tried encoding/decoding the URL via java.net.URLEncoder and java.net.URLDecoder?
Ron ________________________________________ From: altoro [[email protected]] Sent: Sunday, March 21, 2010 9:08 AM To: [email protected] Subject: Re: & character does not work I should add that my web service is a spring annoted (@webservice) bean. And in the above message I wrote "&" but this editor translate it correctly to & so you can't see it... Just to says that I tried the "&" instead of the & but it does not work... altoro wrote: > > Hi all, > > One of my CXF Web service is supposed to return an URL such as: > http://ip:port/xxx?yyy=1&zzz=2 > > The problem is that the "&" character is not correctly parsed or at least > I can say I end up with the following URL in the client side: > http://ip:port/xxx?yyy=1&zzz=2 > After reading some documentation about the "&" character in xml I tried: > http://ip:port/xxx?yyy=1&zzz=2 > and also I tried to scape it ("\\&") but none of them work.... > Please, can any one tell me how should I write my string > "http://ip:port/xxx?yyy=1&zzz=2" in the server side so that I get exactly > the same in the client side... ? > Thanks in advance... I'm really stuck with it (and it should be simple) > > Arnaud. > -- View this message in context: http://old.nabble.com/--character-does-not-work-tp27975753p27976884.html Sent from the cxf-user mailing list archive at Nabble.com.
