What are you using on the client side? Is it a CXF client as well? Can you use wireshark or similar to capture the data on the wire?
You really should just be able to return the string "http://ip:port/xxx?yyy=1&zzz=2" from the server an have it work. On the wire, it should look like "http://ip:port/xxx?yyy=1&zzz=2", but the parser on the client side should be decoding it to the original string. Dan On Sunday 21 March 2010 8:25:21 am 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. -- Daniel Kulp [email protected] http://dankulp.com/blog
