Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling Servlet from SQL Server Stored Procedure

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have written one stored procedure for making XML HTTP Request.

Below is my procedure



and when i call my servlet the code of the servlet is not getting executed. i am not able to understand the reason.

initially i thought its not actually making any request. so i passed the wrong url, in that case it returned me a response with 404 error code.

but with the correct URL it is going me OK response but code of the servlet is not getting executed.

below is my servlet code in which i am creating file and writing into it

TestServlet.java

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic