IntelliJ Java IDE
The moose likes Web Services and the fly likes JAXRPCSERVLET28    error !! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "JAXRPCSERVLET28    error !!" Watch "JAXRPCSERVLET28    error !!" New topic
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);

}
}
 
IntelliJ Java IDE
 
subject: JAXRPCSERVLET28 error !!
 
Threads others viewed
JAXRPCSERVLET28 error
SOAPFaultException: JAXRPCSERVLET28: Missing port
Error when calling a web service in Java Client
dii client problems..help!
JAX RPC question doubt
MyEclipse, The Clear Choice