4 Replies Latest reply on Nov 25, 2006 3:32 PM by Wayne Hannam

    how to application-client.xml  e jboss-client.xml for sessio

    Franco Arcangeli Newbie

      I am working with jboss-4.0.5.GA (jems-installer-1.2.0.BETA3) and self contained jbossws (jbossws-1.0.3.GA), i am trying to develop an enterprise stateless session bean(2.x) as a client for a public webservice on an internet.

      I have created a standalone client (simple java class with main method not deployed in jboss) and it work fine.

      The session bean client not work, it not bound the service JNDI handler the error is "javax.servlet.ServletException: jbossws-client not bound "

      Im using application-client.xml and jboss-client.xml in META-INF dir of bean jar to configure the webservice jndi handler but this method not work.
      In the log file the web service are not binded.

      If i write the <service-ref>... directly in the ejb-jar.xml and and not use application-client.xml, in the log file i look

      "2006-11-10 12:49:19,625 DEBUG [org.jboss.ws.metadata.wsdl.WSDL11DefinitionFactory] parse: jar:file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp21284wsclients.ear-contents/wsclients-ejb.jar!/META-INF/wsdl/HyperlinkExtractor.wsdl

      2006-11-10 12:49:20,234 DEBUG [org.jboss.ws.integration.jboss.WebServiceClientDeployer] Webservice binding: java:comp/env/service/HyperlinkExtractor"

      Use of application-client.xml and jboss-client.xml are not implemented?

      Why dont work?