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