serviceInterfaceName = endPoint.getServiceEndpointInterface();
serviceInterfaceName = endPoint.getServiceEndpointInterface();
myEndpoint = WebServiceEngineImpl.getInstance().getEndpoint(req.getRequestURI()); String seiClassName = myEndpoint.getDescriptor().getServiceEndpointInterface(); ClassLoader testerCL = svcEP.getWebService().getBundleDescriptor().getClassLoader(); if (testerCL != null ){
private NoMetadataModelInfo createNoMetadataModelInfo (WebService webService, JaxrpcMappingDescriptor mappingDesc) throws Exception { NoMetadataModelInfo modelInfo = rpcFactory.createNoMetadataModelInfo(); URL wsdlFileUrl = webService.getWsdlFileUrl(); Collection endpoints = webService.getEndpoints(); if( endpoints.size() != 1 ) { throw new Exception ("Deployment code generation error for webservice " + webService.getName() + ". " + " jaxrpc-mapping-file is required if web service has " + "multiple endpoints"); } WebServiceEndpoint endpoint = (WebServiceEndpoint) endpoints.iterator().next(); modelInfo.setLocation(wsdlFileUrl.toExternalForm()); modelInfo.setInterfaceName(endpoint.getServiceEndpointInterface()); modelInfo.setPortName(endpoint.getWsdlPort()); addNamespaceMappingRegistry(modelInfo, mappingDesc); return modelInfo; }
public void validateEjbEndpoint(WebServiceEndpoint ejbEndpoint) { EjbDescriptor ejbDescriptor = ejbEndpoint.getEjbComponentImpl(); EjbBundleDescriptor bundle = ejbDescriptor.getEjbBundleDescriptor(); WebServicesDescriptor webServices = bundle.getWebServices(); Collection endpoints = webServices.getEndpointsImplementedBy(ejbDescriptor); if( endpoints.size() == 1 ) { if( ejbDescriptor.hasWebServiceEndpointInterface() ) { if(!ejbEndpoint.getServiceEndpointInterface().equals (ejbDescriptor.getWebServiceEndpointInterfaceName())) { String msg = "Ejb " + ejbDescriptor.getName() + " service endpoint interface does not match " + " port component " + ejbEndpoint.getEndpointName(); throw new IllegalStateException(msg); } } else { String msg = "Ejb " + ejbDescriptor.getName() + " must declare <service-endpoint> interface"; throw new IllegalStateException(msg); } } else if( endpoints.size() > 1 ) { String msg = "Ejb " + ejbDescriptor.getName() + " implements " + endpoints.size() + " web service endpoints " + " but must only implement 1"; throw new IllegalStateException(msg); } }
port.getProperty(ModelProperties.PROPERTY_TIE_CLASS_NAME); if( tieClassName == null ) { tieClassName = next.getServiceEndpointInterface() + "_Tie";
if (endpoint_.getServiceEndpointInterface().equals(ejbClass_.getName())) {
if (endpoint_.getServiceEndpointInterface().equals(ejbClass_.getName())) {
loader.loadClass(webServiceEndpoint.getServiceEndpointInterface());
loader.loadClass(webServiceEndpoint.getServiceEndpointInterface());
loader.loadClass(endpoint_.getServiceEndpointInterface()); Class implementationClass = loader.loadClass(endpoint_.getServletImplClass());
if((wep.getServiceEndpointInterface() != null) && (wep.getServiceEndpointInterface().length() != 0) && (!((Class)annElem).getName().equals(wep.getServiceEndpointInterface()))) { portComponentName = implClassFullName; if(endpoint.getServiceEndpointInterface() == null) { ejb.setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); if (endpoint.getEjbLink()== null) endpoint.setEjbLink(ejb.getName());
descriptor.getServiceEndpointInterface());
if((wep.getServiceEndpointInterface() != null) && (wep.getServiceEndpointInterface().length() != 0) && (!((Class)annElem).getName().equals(wep.getServiceEndpointInterface()))) { portComponentName = implClassFullName; if(endpoint.getServiceEndpointInterface() == null) { EjbDescriptor ejb = ((EjbBundleDescriptor) bundleDesc).getEjbByName(name); endpoint.setEjbComponentImpl(ejb); ejb.setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); if (endpoint.getEjbLink()== null) endpoint.setEjbLink(ejb.getName());
ejbDescs[0].setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); endpoint.setEjbLink(ejbDescs[0].getName());
EjbDescriptor ejb = ((EjbBundleDescriptor) bundleDesc).getEjbByName(name); endpoint.setEjbComponentImpl(ejb); ejb.setWebServiceEndpointInterfaceName(endpoint.getServiceEndpointInterface()); if (endpoint.getEjbLink()== null) { endpoint.setEjbLink(ejb.getName());