325N/A public WSServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass) {
325N/A public WSServiceDelegate(@Nullable Source wsdl, @NotNull QName serviceName, @NotNull final Class<? extends Service> serviceClass) {
325N/A Container tContainer = initParams.getContainer()!=null ? initParams.getContainer() : ContainerResolver.getInstance().getContainer();
325N/A ServiceInterceptor interceptor = ServiceInterceptorFactory.load(this, Thread.currentThread().getContextClassLoader());
325N/A WebServiceClient wsClient = AccessController.doPrivileged(new PrivilegedAction<WebServiceClient>() {
325N/A throw new WebServiceException(
325N/A } catch (MalformedURLException e) {
325N/A * Parses the WSDL and builds {@link com.sun.xml.internal.ws.api.model.wsdl.WSDLModel}.
325N/A return RuntimeWSDLParser.parse(wsdlDocumentLocation, wsdlSource, createDefaultCatalogResolver(),
325N/A } catch (IOException e) {
325N/A throw new WebServiceException(e);
325N/A } catch (XMLStreamException e) {
325N/A throw new WebServiceException(e);
325N/A } catch (SAXException e) {
325N/A throw new WebServiceException(e);
325N/A } catch (ServiceConfigurationError e) {
325N/A throw new WebServiceException(e);
325N/A return handlerConfigurator;
325N/A public <T> T getPort(QName portName, Class<T> portInterface, WebServiceFeature... features) {
325N/A throw new IllegalArgumentException();
325N/A public <T> T getPort(EndpointReference epr, Class<T> portInterface, WebServiceFeature... features) {
325N/A public <T> T getPort(WSEndpointReference wsepr, Class<T> portInterface, WebServiceFeature... features) {
325N/A //if port name is not specified in EPR, it will use portTypeName to get it from the WSDL model.
325N/A public void addPort(QName portName, String bindingId, String endpointAddress) throws WebServiceException {
325N/A public <T> Dispatch<T> createDispatch(QName portName, Class<T> aClass, Service.Mode mode) throws WebServiceException {
325N/A public <T> Dispatch<T> createDispatch(QName portName, WSEndpointReference wsepr, Class<T> aClass, Service.Mode mode, WebServiceFeature... features) {
325N/A public <T> Dispatch<T> createDispatch(QName portName, Class<T> aClass, Service.Mode mode, WebServiceFeature... features) {
325N/A if(featureList.isEnabled(AddressingFeature.class) && wsdlService != null && wsdlService.get(portName) != null) {
325N/A public <T> Dispatch<T> createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features) {
325N/A throw new WebServiceException(ClientMessages.INVALID_PORT_NAME(portName, buildNameList(ports.keySet())));
325N/A public Dispatch<Object> createDispatch(QName portName, JAXBContext jaxbContext, Service.Mode mode) throws WebServiceException {
325N/A public Dispatch<Object> createDispatch(QName portName, WSEndpointReference wsepr, JAXBContext jaxbContext, Service.Mode mode, WebServiceFeature... features) {
325N/A public Dispatch<Object> createDispatch(QName portName, JAXBContext jaxbContext, Service.Mode mode, WebServiceFeature... webServiceFeatures) {
325N/A if(featureList.isEnabled(AddressingFeature.class) && wsdlService != null && wsdlService.get(portName) != null) {
325N/A public Dispatch<Object> createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features) {
325N/A PortInfo portInfo = new PortInfo(this, (wsepr.getAddress() == null) ? null : EndpointAddress.create(wsepr.getAddress()), eprPortName,
325N/A return eprPortName;
325N/A * If EndpointName ( port name) is null in EPR, then it will try to get if from WSDLModel using portType QName
325N/A private QName getPortNameFromEPR(@NotNull WSEndpointReference wsepr, @Nullable QName portTypeName) {
325N/A throw new WebServiceException("EndpointReference WSDL ServiceName differs from Service Instance WSDL Service QName.\n"
325N/A } catch (MalformedURLException e) {
325N/A throw new WebServiceException(ClientMessages.INVALID_EPR_PORT_NAME(portName, buildWsdlPortNames()));
325N/A throw new WebServiceException(
325N/A } catch (MalformedURLException e) {
325N/A return serviceName;
325N/A return serviceClass;
325N/A } catch (MalformedURLException e) {
478N/A private <T> T createEndpointIFBaseProxy(@Nullable WSEndpointReference epr,QName portName, final Class<T> portInterface,
325N/A throw new WebServiceException(
478N/A RuntimePermission perm = new RuntimePermission("accessClassInPackage.com.sun." + "xml.internal.*");
478N/A new PrivilegedAction<T>() {
478N/A new ProtectionDomain[]{
325N/A throw new WebServiceException(
325N/A private SEIPortInfo addSEI(QName portName, Class portInterface, WebServiceFeature... features) throws WebServiceException {
325N/A private SEIPortInfo createSEIPortInfo(QName portName, Class portInterface, WebServiceFeature... features) {
325N/A return wsdlService;
325N/A return daemonThread;