[jboss-user] [JBossWS] - how to application-client.xml e jboss-client.xml for sessio

croisfert do-not-reply at jboss.com
Fri Nov 10 07:59:06 EST 2006


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?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984867#3984867

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984867



More information about the jboss-user mailing list