Package com.sun.enterprise.deployment

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


      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

     * @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

            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

                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

  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

                    "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

    private static String getAppCtxt(Map map) {

        String rvalue = null;

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

        // endpoint
        if (wse != null) {
View Full Code Here

            info.getMap().put(PipeConstants.WSDL_MODEL,model);
        }
    }

    private String ejbName() {
  WebServiceEndpoint wSE = (WebServiceEndpoint)
      getProperty(PipeConstants.SERVICE_ENDPOINT);
  return (wSE == null ? "unknown" : wSE.getEjbComponentImpl().getName());
    }
View Full Code Here

        boolean writeModule = !endpoints.isEmpty();
       
        for(Iterator endpointIter = endpoints.iterator();
            endpointIter.hasNext();) {
           
            WebServiceEndpoint nextEndpoint = (WebServiceEndpoint)
            endpointIter.next();
            WebComponentDescriptor webComp = nextEndpoint.getWebComponentImpl();
            String servletImplClass = nextEndpoint.getServletImplClass();
            if( !nextEndpoint.hasServletImplClass() ) {
                throw new Exception(
                localStrings.getStringWithDefault(
                "enterprise.deployment.backend.cannot_find_servlet",
                "Runtime settings error.  Cannot find servlet-impl-class for endpoint {0} ",
                new Object[] {nextEndpoint.getEndpointName()}));
            }
           
            if( !nextEndpoint.getWebService().hasFilePublishing() ) {
                // @@@ add security attributes as well????
                String publishingUri = nextEndpoint.getPublishingUri();
                String publishingUrlPattern =
                (publishingUri.charAt(0) == '/') ?
                publishingUri : "/" + publishingUri + "/*";
                webComp.addUrlPattern(publishingUrlPattern);
            }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.deployment.WebServiceEndpoint

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.