| Author |
JAXRPCSERVLET28 error !!
|
Rafael Diaz
Greenhorn
Joined: Nov 24, 2004
Posts: 4
|
|
Exception in thread "main" java.rmi.ServerException: JAXRPCSERVLET28: Port information Missing I got this exception when i�m running my jax-rpc client using stubs The code is the following: class stubClient{ public static void main(String [] args) throws Exception{ String endpoint = "http://localhost:8080/samDeploy/sam"; String namespace = "http://java.sun.com/xml/ns/jax-rpc/wsi/wsdl/samService"; String port = "samIFPort"; SamService_Impl proxy = new SamService_Impl(); SamIF_Stub stub = (SamIF_Stub)(proxy.getSamIFPort()); stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint); boolean result = stub.autenticarPasaporte("twin", "bnc"); System.out.println("La autenticacion del pasaporte bnc con clave twin fue: " +result); } }
|
 |
 |
|
|
subject: JAXRPCSERVLET28 error !!
|
|
|