Commit 0f662cac authored by Sunil Kumar's avatar Sunil Kumar
Browse files

To fix dsmlreader bug

parent 2b65f07a
......@@ -203,6 +203,17 @@ public class DsmlService extends HttpServlet
respDsmlWtr.writeError(e);
respDsmlWtr.finish();
// Write end soap body.
respPrtWtr.println("</soap-env:Body>");
// Write end soap envelope
respPrtWtr.println("</soap-env:Envelope>");
// Set HttpServletResponse status to OK
rsp.setStatus(rsp.SC_BAD_REQUEST);
// Flush response to the client.
respPrtWtr.flush();
}catch(Exception e)
{
rsp.setStatus(rsp.SC_INTERNAL_SERVER_ERROR);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment