Package com.sun.xml.ws.api.server

Examples of com.sun.xml.ws.api.server.WSEndpoint


        String serverId = adrs.getAuthority();
        InVmServer server = InVmServer.get(serverId);
        if(server==null)
            throw new WebServiceException("No such server is running: "+adrs);
        WSEndpoint endpoint;
        if(server.getEndpoints().size()==1)
            endpoint = server.getEndpoints().get(0);
        else
            endpoint = server.getByPortName(adrs.getQuery());
        if(endpoint==null)
View Full Code Here


                //check if it is run in a Java EE Container and if so, get address using serviceName and portName
                Module module = container.getSPI(Module.class);
                if (module != null) {
                    List<BoundEndpoint> beList = module.getBoundEndpoints();
                    for (BoundEndpoint be : beList) {
                        WSEndpoint wse = be.getEndpoint();
                        if (wse.getServiceName().equals(serviceName) && wse.getPortName().equals(portName)) {
                            try {
                                address = be.getAddress().toString();
                            } catch (WebServiceException e) {
                                // May be the container does n't support this
                                //just ignore the exception
View Full Code Here

  this.isEjbEndpoint = processSunDeploymentDescriptor();
  this.seiModel = (SEIModel) map.get(PipeConstants.SEI_MODEL);
        WSBinding binding = (WSBinding)map.get(PipeConstants.BINDING);
        if (binding == null) {
            WSEndpoint endPoint = (WSEndpoint)map.get(PipeConstants.ENDPOINT);
            if (endPoint != null) {
                binding = endPoint.getBinding();
            }
        }
        this.soapVersion = (binding != null) ? binding.getSOAPVersion() : SOAPVersion.SOAP_11;

        auditManager = (SecurityServicesUtil.getInstance() != null)
View Full Code Here

  this.isEjbEndpoint = processSunDeploymentDescriptor();
  this.seiModel = (SEIModel) map.get(PipeConstants.SEI_MODEL);
        WSBinding binding = (WSBinding)map.get(PipeConstants.BINDING);
        if (binding == null) {
            WSEndpoint endPoint = (WSEndpoint)map.get(PipeConstants.ENDPOINT);
            if (endPoint != null) {
                binding = endPoint.getBinding();
            }
        }
        this.soapVersion = (binding != null) ? binding.getSOAPVersion() : SOAPVersion.SOAP_11;
        AuditManager am = (SecurityServicesUtil.getInstance() != null)
                ? SecurityServicesUtil.getInstance().getAuditManager()
View Full Code Here

                    wsu.configureJAXWSServiceHandlers(endpoint,
                        endpoint.getProtocolBinding(), binding);

                    // Create the jaxws2.1 invoker and use this
                    Invoker invoker = new InstanceResolverImpl(clazz).createInvoker();
                    WSEndpoint wsep = WSEndpoint.create(
                            clazz, // The endpoint class
                            false, // we do not want JAXWS to process @HandlerChain
                            new EjbInvokerImpl(clazz, invoker, webServiceEndpointServant, wsCtxt), // the invoker
                            endpoint.getServiceName(), // the service QName
                            endpoint.getWsdlPort(), // the port
View Full Code Here

  this.isEjbEndpoint = processSunDeploymentDescriptor();
  this.seiModel = (SEIModel) map.get(PipeConstants.SEI_MODEL);
        WSBinding binding = (WSBinding)map.get(PipeConstants.BINDING);
        if (binding == null) {
            WSEndpoint endPoint = (WSEndpoint)map.get(PipeConstants.ENDPOINT);
            if (endPoint != null) {
                binding = endPoint.getBinding();
            }
        }
        this.soapVersion = (binding != null) ? binding.getSOAPVersion() : SOAPVersion.SOAP_11;

        auditManager = (SecurityServicesUtil.getInstance() != null)
View Full Code Here

                        //@Resource injections have happened.
                        ir = new InstanceResolverImpl(clazz);
                    }
                    // Create the jaxws2.1 invoker and use this
                    Invoker invoker = ir.createInvoker();
                    WSEndpoint wsep = WSEndpoint.create(
                            clazz, // The endpoint class
                            false, // we do not want JAXWS to process @HandlerChain
                            new EjbInvokerImpl(clazz, invoker, webServiceEndpointServant, wsCtxt), // the invoker
                            endpoint.getServiceName(), // the service QName
                            endpoint.getWsdlPort(), // the port
View Full Code Here

                        wsu.configureJAXWSServiceHandlers(endpoint,
                            endpoint.getProtocolBinding(), binding);

                        // Create the jaxws2.1 invoker and use this
                        Invoker invoker = new InstanceResolverImpl(clazz).createInvoker();
                        WSEndpoint wsep = WSEndpoint.create(
                                clazz, // The endpoint class
                                false, // we do not want JAXWS to process @HandlerChain
                                new EjbInvokerImpl(clazz, invoker, webServiceEndpointServant, wsCtxt), // the invoker
                                endpoint.getServiceName(), // the service QName
                                endpoint.getWsdlPort(), // the port
View Full Code Here

    }

    // sun-jaxws.xml deployed endpoint
    public DeployedEndpointData(String path, ServletAdapter adapter) {
        super(path, "", "");
        WSEndpoint endpoint = adapter.getEndpoint();

        this.appName = "";
        this.endpointName = adapter.getName();
        this.namespace = endpoint.getServiceName().getNamespaceURI();
        this.serviceName = endpoint.getServiceName().getLocalPart();
        this.portName = endpoint.getPortName().getLocalPart();
        this.implClass = endpoint.getImplementationClass().getName();
        this.address = path;
        this.wsdl = address+"?wsdl";
        this.tester = "";
        this.implType = "SERVLET";
        this.deploymentType = "RI";
View Full Code Here

                    wsu.configureJAXWSServiceHandlers(endpoint,
                        endpoint.getProtocolBinding(), binding);

                    // Create the jaxws2.1 invoker and use this
                    Invoker invoker = new InstanceResolverImpl(clazz).createInvoker();
                    WSEndpoint wsep = WSEndpoint.create(
                            clazz, // The endpoint class
                            false, // we do not want JAXWS to process @HandlerChain
                            new EjbInvokerImpl(clazz, invoker, webServiceEndpointServant, wsCtxt), // the invoker
                            endpoint.getServiceName(), // the service QName
                            endpoint.getWsdlPort(), // the port
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.api.server.WSEndpoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.