• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


Rafael Diaz
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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);

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic