Hi Jan,
thanks for your reply..
I'm not using JSON
PRequest and JSON
PResponse .
I'm using normal JSON Request and normal JSON Response by using RequestBuilder..
Here i'm pasting how i'm preparing JSON Request ..
com.google.gwt.json.client.JSONObject lInnerObject = new com.google.gwt.json.client.JSONObject();
lInnerObject.put("status", new com.google.gwt.json.client.JSONString ("Active"));
lInnerObject.put("userName", new com.google.gwt.json.client.JSONString ("test"));
com.google.gwt.json.client.JSONObject lWrapperObject =new com.google.gwt.json.client.JSONObject();
lWrapperObject.put("StateRequest", lInnerObject);
Then i'm using RequestBuilder for calling my restfull services..
after got the response i'm using JSONParser to parsing my reponse .
JSONObject lObject = (JSONObject) JSONParser.parse(lResponse.getText());
all the functions are working fine ..Problem is if we use FF ..its having option ***********Error Console****** under Tools..If I click on this option its showing
***not well-formed** ..because CXF set the response content type to *text/xml* and its sending JSON format..but Browser expecting xml format since response
content type is **text/xml** ..so if we change the response content type to **application/json ** ..then i think problem would be solved.
Thanks,
Malli