1. Julien Ponge
  2. soap-dtc

Commits

julien.ponge  committed f6dce8c

Don't undeclare the bean as it can break BSF scripts.

  • Participants
  • Parent commits 7872204
  • Branches master

Comments (0)

Files changed (1)

File soap-dtc-server/src/main/java/com/izforge/soapdtc/servlet/HttpSoapServiceServlet.java

View file
             BSFManager bsfManager = new BSFManager();
             bsfManager.declareBean("servlet", this, HttpSoapServiceServlet.class);
             bsfManager.exec(language, script, 0, 0, IOUtils.getStringFromReader(scriptReader));
-            bsfManager.undeclareBean("servlet");
         }
         catch (IOException e)
         {