I'm trying to run wscompile on a simple webservice I've created and I'm
getting the following error: RmiModeler error:
java.lang.ClassNotFoundException: odao$odaoPort
I'm running the following cmd...
C:\jwsdp-1.3\webapps\odao>wscompile -define -cp . -model model.gz
config.xml
My interface, impl classes and config file are all located in the odao
directory(i.e. C:\jwsdp-1.3\webapps\odao) and are below
Interace.....
package odao;
import java.rmi.Remote;
import java.rmi.RemoteException;
public interface odaoPort extends Remote
{
public String getQueryResults(String s) throws RemoteException;
}
Implementation...
package odao;
public class odaoImpl implements odaoPort
{
public String getQueryResults(String s)
{
return s;
}
}
and config....
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="
http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="odaoService"
targetNamespace="urn:Foo"
typeNamespace="urn:Foo"
packageName="odao">
<interface name="odao.odaoPort"
servantName="odaoImpl" />
</service>
</configuration>
Thanks in advance for your assistance.
Leon Williams
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net