325N/A throw new IllegalArgumentException();
325N/A //TODO incase of Provider, provide a way to User for complete control of the message processing by giving
325N/A //Even in case of Provider, merge all features configured via WSDL/Policy or deployment configuration
325N/A if (processHandlerAnnotation) {
325N/A ServiceDefinitionImpl serviceDefiniton = (primaryDoc != null) ? new ServiceDefinitionImpl(docList, primaryDoc) : null;
325N/A return new WSEndpointImpl<T>(serviceName, portName, binding,container,seiModel,wsdlPort,implType, serviceDefiniton,terminal, isTransportSynchronous, policyMap);
325N/A private static List<SDDocumentImpl> findMetadataClosure(SDDocumentImpl primaryDoc, List<SDDocumentImpl> docList) {
325N/A return newMetadata;
325N/A private static <T> void processHandlerAnnotation(WSBinding binding, Class<T> implType, QName serviceName, QName portName) {
325N/A throw new IllegalArgumentException(clz +" has neither @WebService nor @WebServiceProvider annotation");
325N/A throw new IllegalArgumentException(clz +" has both @WebService and @WebServiceProvider annotations");
325N/A throw new IllegalArgumentException(clz +" doesn't implement Provider or AsyncProvider interface");
325N/A rap = new RuntimeModeler(implType,serviceName, binding.getBindingId(), binding.getFeatures().toArray());
325N/A rap = new RuntimeModeler(implType, serviceName, (WSDLPortImpl)wsdlPort, binding.getFeatures().toArray());
325N/A *Set the mtom enable setting from wsdl model (mtom policy assertion) on to @link WSBinding} if DD has
325N/A private static void applyEffectiveMtomSetting(WSDLBoundPortType wsdlBinding, WSBinding binding){
325N/A throw new ServerRtException("Deployment failed! Mtom policy assertion in WSDL is enabled whereas the deplyment descriptor setting wants to disable it!");
325N/A * annotations {@link WebServiceProvider}, {@link WebService} on implementorClass to get PortName.
325N/A return serviceName;
325N/A private static SDDocumentImpl generateWSDL(WSBinding binding, AbstractSEIModelImpl seiModel, List<SDDocumentImpl> docs,
325N/A WSDLGenResolver wsdlResolver = new WSDLGenResolver(docs,seiModel.getServiceQName(),seiModel.getPortTypeName());
325N/A WSDLGenerator wsdlGen = new WSDLGenerator(seiModel, wsdlResolver, binding, container, implType, false,
325N/A private static void verifyPrimaryWSDL(@NotNull SDDocumentSource primaryWsdl, @NotNull QName serviceName) {
325N/A +" but not "+serviceName+". Maybe you forgot to specify a serviceName and/or targetNamespace in @WebService/@WebServiceProvider?");
325N/A boolean foundConcrete = false;
325N/A boolean foundAbstract = false;
325N/A if (foundConcrete) {
325N/A foundConcrete = true;
325N/A if (foundAbstract) {
325N/A foundAbstract = true;
325N/A return primaryDoc;
325N/A * Parses the primary WSDL and returns the {@link WSDLPort} for the given service and port names
325N/A private static @NotNull WSDLPortImpl getWSDLPort(SDDocumentSource primaryWsdl, List<? extends SDDocumentSource> metadata,
325N/A throw new ServerRtException(ServerMessages.localizableRUNTIME_PARSER_WSDL_NOSERVICE_IN_WSDLMODEL(wsdlUrl));
325N/A throw new ServerRtException(ServerMessages.localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICE(serviceName,wsdlUrl));
325N/A throw new ServerRtException(ServerMessages.localizableRUNTIME_PARSER_WSDL_INCORRECTSERVICEPORT(serviceName, portName, wsdlUrl));
325N/A } catch (IOException e) {
325N/A } catch (XMLStreamException e) {
325N/A throw new ServerRtException("runtime.saxparser.exception", e.getMessage(), e.getLocation(), e);
325N/A } catch (SAXException e) {
325N/A } catch (ServiceConfigurationError e) {
325N/A public Parser resolveEntity (String publicId, String systemId) throws IOException, XMLStreamException {