1 Reply Latest reply on Apr 20, 2012 6:35 AM by Sergio Angelo

    Configure web service in seam(“no active application context”)

    navi ghag Newbie

      I am building a web service using seam 2.0.1 GA and deploying it on jboss 4.2.2 GA. I have my web service class which access another class(updates stuff in data base).

      I have standard-jaxws-endpoint-config.xml in META-INF folder.

      @Install(precedence = Install.BUILT_IN)
      @Startup(depends = "someclass")

      @WebService(name = "Plugin", serviceName = "PluginService")

      public class PlugInHandler {

      public int processRequest(Account account)

      Workbench wb = Component.getInstance("Workbench");
      //above line keeps throwing exception "No application context active"



      I have been looking all over different forums , but i cannot find a solution. i tried using Lifecycle.begincall() and Lifecycle.endCall() ..but nothing worked.

      Do i need web.xml as well? If yes what information should web.xml contain??? Any help would be highly appreciated.