I followed the RPC style ws4ee example listed and got a java fat client to connect to the cweb service client running on JBOSS. The client and JBOSS where running on the same machine. Howvere, the set up fails when I try to run the java fat client on another machine, returning with the exception below:
javax.naming.NamingException: Cannot load wsdl file '/META-INF/wsdl/UserService.wsdl' from: file:/D:/jboss/server/production/tmp/deploy/tmp2010pam.ear-contents/smt-ws-client.jar at org.jboss.webservice.client.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:130) at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:636) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520) at javax.naming.InitialContext.lookup(Unknown Source)
Currently the J2EE application client jar has to be deployed on the same system as the standalone client app. This means in the current release, you need to have a minijboss running on the client system. We are going to add support for remote client access in 4.0.4.