//
// Convert J2EE deployment descriptor information into
// JAXRPC endpoint data structure
//
RuntimeEndpointInfo endpointInfo =
rpcFactory_.createRuntimeEndpointInfo();
Class serviceEndpointInterfaceClass =
loader.loadClass(endpoint_.getServiceEndpointInterface());
Class implementationClass =
loader.loadClass(endpoint_.getServletImplClass());
String tieClassName = endpoint_.getTieClassName();
if(tieClassName != null) {
Class tieClass = loader.loadClass(tieClassName);
endpointInfo.setTieClass(tieClass);
}
endpointInfo.setRemoteInterface(serviceEndpointInterfaceClass);
endpointInfo.setImplementationClass(implementationClass);
endpointInfo.setName(endpoint_.getEndpointName());
WebService webService = endpoint_.getWebService();
// No need to set model file name or wsdl file, since we override
// the code that serves up the final WSDL.
//endpointInfo.setModelFileName()
//endpointInfo.setWSDLFileName()
endpointInfo.setDeployed(true);
endpointInfo.setPortName(endpoint_.getWsdlPort());
endpointInfo.setServiceName(endpoint_.getServiceName());
// For web components, this will be relative to the web app
// context root. Make sure there is a leading slash.
String uri = endpoint_.getEndpointAddressUri();
uri = uri.startsWith("/") ? uri : "/" + uri;
endpointInfo.setUrlPattern(uri);
rpcDelegate_.registerEndpointUrlPattern(endpointInfo);
}