/** * Creates a new EjbRuntimeEndpointInfo instance depending on the type * and version of the web service implementation. * @param */ public EjbRuntimeEndpointInfo createEjbEndpointInfo(WebServiceEndpoint webServiceEndpoint, EjbEndpointFacade ejbContainer, Object servant, Class tieClass) { EjbRuntimeEndpointInfo info = null; if (webServiceEndpoint.getWebService().hasMappingFile()) { info = new Ejb2RuntimeEndpointInfo(webServiceEndpoint, ejbContainer, servant, tieClass); } else { info = new EjbRuntimeEndpointInfo(webServiceEndpoint, ejbContainer, servant); } return info; }
if( webService.hasMappingFile() ) { String mappingFileUri = webService.getMappingFileUri(); File mappingFile = new File(getModuleLocation(moduleDesc), mappingFileUri);
if( webService.hasMappingFile() ) { String mappingFileUri = webService.getMappingFileUri(); File mappingFile = new File(getModuleLocation(moduleDesc), mappingFileUri);
if(endpoint_.getWebService().hasMappingFile()) {
private EndpointImpl createEndpointInfo(WebServiceEndpoint endpoint) { try { String endpointURL = endpoint.getEndpointAddressUri(); EndpointType endpointType; XModuleType moduleType = endpoint.getWebService().getWebServicesDescriptor().getModuleType(); if (XModuleType.EJB == moduleType) { endpointType = EndpointType.EJB_ENDPOINT; } else { endpointType = EndpointType.SERVLET_ENDPOINT; } EndpointImpl newEndpoint; // At this point, we can depend on presence of mapping file to distinguish between JAXRPC and JAXWS // service if(endpoint.getWebService().hasMappingFile()) { newEndpoint = new JAXRPCEndpointImpl(endpointURL, endpointType); } else { newEndpoint = new JAXWSEndpointImpl(endpointURL, endpointType); } newEndpoint.setDescriptor(endpoint); return newEndpoint; } catch(Exception e) { sLogger.log(Level.SEVERE,"Exception in creating endpoint", e); } return null; }
if(endpoint_.getWebService().hasMappingFile()) {
WebServicesDescriptor webServices = bundle.getWebServices(); for (WebService webService : webServices.getWebServices()) { if (webService.hasMappingFile() && !webService.getMappingFileUri().endsWith(".xml")) { archivist.copyAnEntry(in, out,