Examples of WebServiceEndpoint


Examples of com.sun.enterprise.deployment.WebServiceEndpoint

        }

        java.util.Collection wsEps = wsd.getEndpoints();

        for (Iterator it = wsEps.iterator(); it.hasNext();) {
            WebServiceEndpoint nextDescriptor = (WebServiceEndpoint) it.next();

            try {
                deleteWSEndpointMBean(ctxRoot, nextDescriptor, serverName);
            } catch (MBeanException mbe) {
                _logger.log(Level.WARNING,
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

    /**
     * Notification of a Web Service endpoint removal from the appserver
     * @param endpoint handler to register SOAPMessageListener if needed.
     */
    public void endpointRemoved(Endpoint endpoint) {
        WebServiceEndpoint endpt = endpoint.getDescriptor();
        if(endpt == null)
            return;
        String endpointName = endpt.hasWsdlPort() ?
            endpt.getWsdlPort().getLocalPart() : endpt.getEndpointName();
        EndpointHelper.getInstance().unregisterEndpoint(
                endpt.getServiceName(), endpointName);
    }
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

        for (DescriptorEndpointInfo ep : registryManager.getAllConsumerEP(su_Name))
            ep.setStarted(true);

        for (DescriptorEndpointInfo ep : registryManager.getAllProviderEP(su_Name)) {
            if(registryManager.getSEEndpoint(ep)==null) {
                WebServiceEndpoint endpoint = registryManager.getWSEndpoint(ep, su_Name);
                if(endpoint == null)
                throw new Exception(
                        translator.getString("serviceengine.endpoint_mismatch",
                                            ep.getServiceName().getLocalPart(),
                                            su_Name));
                createEndpoint(endpoint, ep);
            }
            if (ep.isPrivate()) {
                WebServiceEndpoint endpoint =
                        registryManager.getSEEndpoint(ep).getEndpointDesc();
                endpoint.setJBIPrivate(true);
            }
            ep.setStarted(true);
            // now activate the endpoint in NMR
            epHelper.enableEndpoint(ep.getServiceName(), ep.getEndpointName());
        }
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

      return null;
  }

  MessageSecurityBindingDescriptor binding = null;

  WebServiceEndpoint e = (WebServiceEndpoint)
      properties.get("SERVICE_ENDPOINT");

  if (e != null) {
      binding = e.getMessageSecurityBinding();
  } else {
      ServiceReferenceDescriptor s = (ServiceReferenceDescriptor)
    properties.get("SERVICE_REF");
      if (s != null) {
    WSDLPort p = (WSDLPort) properties.get("WSDL_MODEL");
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

      Vector endpointList = new Vector();
      for (Iterator itr = webServices.iterator();itr.hasNext();) {
    WebService webService = (WebService) itr.next();
    for (Iterator endpoints = webService.getWebServicesDescriptor().getEndpoints().iterator();
      endpoints.hasNext();) {
        WebServiceEndpoint wse = (WebServiceEndpoint) endpoints.next();
        endpointList.add(wse.getEndpointAddressUri());
    }
      }
      endpointAddresses = new String[endpointList.size()];
      endpointList.copyInto(endpointAddresses);
  }     
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

     * @param endpoint is the endpoint the web service request is targeted to
     */
    public String preProcessRequest(Endpoint endpoint) {

        String ep = null;
        WebServiceEndpoint wse = endpoint.getDescriptor();
       
        if ( wse != null) {
            ep = wse.getEndpointName();
        }
        //wse.resolveComponentLink();

        BundleDescriptor bundle = wse.getBundleDescriptor();
        Application app = bundle.getApplication();

        String fqn = 
        WebServiceMgrBackEnd.getManager().getFullyQualifiedName(
           app.getRegistrationName() ,
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

            Method m = null;
            if (seiModel != null) {
          JavaMethod jm = request.getMessage().getMethod(seiModel);
          m = (jm != null) ? jm.getMethod() : null;
            } else { // WebServiceProvider
               WebServiceEndpoint endpoint = (WebServiceEndpoint)
                   map.get(PipeConstants.SERVICE_ENDPOINT);
               EjbDescriptor ejbDescriptor = endpoint.getEjbComponentImpl();
               if (ejbDescriptor != null) {
                   final String ejbImplClassName = ejbDescriptor.getEjbImplClassName();
                   if (ejbImplClassName != null) {
                       try {
                           m = (Method)AppservAccessController.doPrivileged
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

                uri = httpServletRequest.getRequestURI().toString();
      }
     
            String endpointName = null;
            if (map != null) {
                WebServiceEndpoint endpoint = (WebServiceEndpoint)
                       map.get(PipeConstants.SERVICE_ENDPOINT);
                if (endpoint != null) {
                    endpointName = endpoint.getEndpointName();
                }
            }
            if (endpointName == null) {
                endpointName = "(no endpoint)";
            }
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

  listenerWrapper.disableWithRefCount();
    }
   
    protected HandlerContext getHandlerContext(Map map) {
        String realmName = null;
        WebServiceEndpoint wSE = (WebServiceEndpoint)
                map.get(PipeConstants.SERVICE_ENDPOINT);
        if (wSE != null) {
            Application app = wSE.getBundleDescriptor().getApplication();
            if (app != null) {
                realmName = app.getRealm();
            }
            if (realmName == null) {
                realmName = wSE.getRealm();
            }
        }

        final String fRealmName = realmName;
        return new HandlerContext() {
View Full Code Here

Examples of com.sun.enterprise.deployment.WebServiceEndpoint

                    "GF AuthConfigProvider bound by Sun Specific Descriptor");
                this.setJmacProviderRegisID(jmacProviderRegisID);
      }
  }

  WebServiceEndpoint e = (WebServiceEndpoint)
      map.get(PipeConstants.SERVICE_ENDPOINT);

  return (e == null ? false : e.implementedByEjbComponent());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.