[jboss-user] [JBossWS] - Assigning jndi-name to a rpc-client in war

fditolla do-not-reply at jboss.com
Fri Sep 28 15:13:17 EDT 2007


I'm developing a pojo rpc client (JSR-109 style) in a full J2EE aplication, but I don't understand how I should do to assign a <jndi-name> to the <service-ref>.

My client is very similar to the one shown in the JSR-109 pojo chapter of the RPC user guide http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide). 

The main difference is that this client is part of a larger application that has an application.xml and a web.xml. Hence I placed the <service-ref> in the web.xml and jboss-web.xml, and I have no application-client.xml/jboss-client.xml.

The problem comes from the fact that the <jndi-name> is expected before the <service-ref> in the jboss-client.xml but not in the jboss-web.xml.

How shoul I do to associate a <jndi-name> to my service? 
(The error I get is of course "jbossws-client not bound").

thanks in advance

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

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



More information about the jboss-user mailing list