0 Replies Latest reply: Feb 16, 2012 2:50 AM by 890792 RSS

    RESTful web-service: redirecting to client html page

    890792
      Hi all,

      I am using an html client which posts an XML string to my RESTful web service.

      The html client application is deployed on Glassfish server and the web-service is deployed on Sun Java Web Server.

      I want to redirect the web-service response to the client html page.

      Also, I want to put required information in this response. Like: if the xml is correctly processed then the response should contain a message followed by the entire xml string. Similarly, if there is an XSD validation, the response should contain an appropriate error message. These response texts need to be displayed in a text-area on the same client html page.

      Please suggest how can this be achieved.

      Regards