Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXRPCSERVLET28 error !!  RSS feed

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 = "";
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
Boost this thread!