All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jakarta.servlet.resources.javaee_web_services_1_2.xsd Maven / Gradle / Ivy





  
    
      @(#)javaee_web_services_1_2.xsds	1.18 02/13/06
    
  

  
    

      (C) Copyright International Business Machines Corporation 2002

    
  

  
    
      
	      ...
	    

	The instance documents may indicate the published version of the
	schema using the xsi:schemaLocation attribute for the Java EE
	namespace with the following location:

	http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd

	]]>
    
  

  
    

      The following conventions apply to all Java EE
      deployment descriptor elements unless indicated otherwise.

      - In elements that specify a pathname to a file within the
	same JAR file, relative filenames (i.e., those not
	starting with "/") are considered relative to the root of
	the JAR file's namespace.  Absolute filenames (i.e., those
	starting with "/") also specify names in the root of the
	JAR file's namespace.  In general, relative names are
	preferred.  The exception is .war files where absolute
	names are preferred for consistency with the Servlet API.

    
  

  




  
    
      

	The webservices element is the root element for the web services
	deployment descriptor.  It specifies the set of web service
	descriptions that are to be deployed into the Java EE Application Server
	and the dependencies they have on container resources and services.

	Used in: webservices.xml

      
    

    
      
	

	  The webservice-description-name identifies the collection of
	  port-components associated with a WSDL file and JAX-RPC mapping. The
	  name must be unique within the deployment descriptor.

	
      
      
      
    
  



  
    
      

      The handler-chain element defines the handlerchain.
      Handlerchain can be defined such that the handlers in the
      handlerchain operate,all ports of a service, on a specific
      port or on a list of protocol-bindings. The choice of elements
      service-name-pattern, port-name-pattern and protocol-bindings
      are used to specify whether the handlers in handler-chain are
      for a service, port or protocol binding. If none of these
      choices are specified with the handler-chain element then the
      handlers specified in the handler-chain will be applied on
      everything.

      
    

    

      
         
         
         
      

      
    

    
  



  
    
      

      The handler-chains element defines the handlerchains associated
      with this service or service endpoint.

      
    

    
      
    

    
  



  
    
      

	The port-component element associates a WSDL port with a web service
	interface and implementation.  It defines the name of the port as a
	component, optional description, optional display name, optional iconic
	representations, WSDL port QName, Service Endpoint Interface, Service
	Implementation Bean.

	This element also associates a WSDL service with a JAX-WS Provider
	implementation.

      
    

    
      
      
      
      
	
	  
	    EmployeeService
		      

	      ]]>
	  
	
      
      
	
	  

	    Defines the name space and local name part of the WSDL
	    service QName. This is required to be specified for
	    port components that are JAX-WS Provider implementations.

	  
	
      
      
	
	  

	    Defines the name space and local name part of the WSDL
	    port QName. This is not required to be specified for port
	    components that are JAX-WS Provider implementations

	  
	
      
      
        
          

            Used to enable or disable SOAP MTOM/XOP mechanism for an
            endpoint implementation.

	    Not to be specified for JAX-RPC runtime
          
        
      
      
        
          

            Used to specify the protocol binding used by the port-component.
	    If this element is not specified, then the default binding is
            used (SOAP 1.1 over HTTP)

          
        
      

      
	
	  
	    com.wombat.empl.EmployeeService

	      This may not be specified in case there is no Service
	      Enpoint Interface as is the case with directly using an
	      implementation class with the @WebService annotation.

	      When the port component is a Provider implementation
	      this is not specified.

	      ]]>
	  
	
      
      

      
	
	  
	    
		 To be used with JAX-RPC based runtime only.
	    
	  
	
	
	  
	    
		 To be used with JAX-WS based runtime only.
	    
	  
	
      

    
    
  



  
    
      

	Declares the handler for a port-component. Handlers can access the
	init-param name/value pairs using the HandlerInfo interface.

	Used in: port-component

      
    
    
      
      
	
	  

	    Defines the name of the handler. The name must be unique within the
	    module.

	  
	
      
      
	
	  

	    Defines a fully qualified class name for the handler implementation.

	  
	
      
      

      
	
	  

	    Defines the QName of a SOAP header that will be processed by the
	    handler.

	  
	
      
      
	
	  

	    The soap-role element contains a SOAP actor definition that the
	    Handler will play as a role.

	  
	
      
    
    
  



  
     
        
	   Defines the type that is used for specifying tokens that
	   start with ## which are used to alias existing standard
	   protocol bindings and support aliases for new standard
	   binding URIs that are introduced in future specifications.

	   The following tokens alias the standard protocol binding
	   URIs:

	   ##SOAP11_HTTP = "http://schemas.xmlsoap.org/wsdl/soap/http"
	   ##SOAP11_HTTP_MTOM =
                 "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true"
           ##SOAP12_HTTP = "http://www.w3.org/2003/05/soap/bindings/HTTP/"
           ##SOAP12_HTTP_MTOM =
		 "http://www.w3.org/2003/05/soap/bindings/HTTP/?mtom=true"
           ##XML_HTTP = "http://www.w3.org/2004/08/wsdl/http"

        
     
     
        
     
  



  
     
        
	   Defines the type used for specifying a list of
	   protocol-bindingType(s). For e.g.

	    ##SOAP11_HTTP ##SOAP12_HTTP ##XML_HTTP

        
     
     
  



  
     
        
	   Defines the type used for specifying the URI for the
	   protocol binding used by the port-component.  For
	   portability one could use one of the following tokens that
	   alias the standard binding types:

	    ##SOAP11_HTTP
	    ##SOAP11_HTTP_MTOM
	    ##SOAP12_HTTP
	    ##SOAP12_HTTP_MTOM
	    ##XML_HTTP

	   Other specifications could define tokens that start with ##
	   to alias new standard binding URIs that are introduced.

        
     
     
  



  
     
        
	     This is used to specify the QName pattern in the
	     attribute service-name-pattern and port-name-pattern in
	     the handler-chain element

	     For example, the various forms acceptable here for
	     service-name-pattern attribute in handler-chain element
	     are :

	     Exact Name: service-name-pattern="ns1:EchoService"

		 In this case, handlers specified in this
		 handler-chain element will apply to all ports with
		 this exact service name. The namespace prefix must
		 have been declared in a namespace declaration
		 attribute in either the start-tag of the element
		 where the prefix is used or in an an ancestor
		 element (i.e. an element in whose content the
		 prefixed markup occurs)

	     Pattern : service-name-pattern="ns1:EchoService*"

		 In this case, handlers specified in this
		 handler-chain element will apply to all ports whose
		 Service names are like EchoService1, EchoServiceFoo
		 etc. The namespace prefix must have been declared in
		 a namespace declaration attribute in either the
		 start-tag of the element where the prefix is used or
		 in an an ancestor element (i.e. an element in whose
		 content the prefixed markup occurs)

	     Wild Card : service-name-pattern="*"

		In this case, handlers specified in this handler-chain
		element will apply to ports of all service names.

	    The same can be applied to port-name attribute in
	    handler-chain element.

        
     

     
        
     

  



  
    
      

	The service-impl-bean element defines the web service implementation.
	A service implementation can be an EJB bean class or JAX-RPC web
	component.  Existing EJB implementations are exposed as a web service
	using an ejb-link.

	Used in: port-component

      
    
    
      
      
    
    
  



  
    
      
	StockQuoteService

	  ]]>
      
    
    
      
    
  



  
    
      

	The webservice-description element defines a WSDL document file
	and the set of Port components associated with the WSDL ports
	defined in the WSDL document.  There may be multiple
	webservice-descriptions defined within a module.

	All WSDL file ports must have a corresponding port-component element
	defined.

	Used in: webservices

      
    

    
      
      
      
      
	
	  

	    The webservice-description-name identifies the collection of
	    port-components associated with a WSDL file and JAX-RPC
	    mapping. The name must be unique within the deployment descriptor.

	  
	
      
      
	
	  

	    The wsdl-file element contains the name of a WSDL file in the
	    module.  The file name is a relative path within the module.

	  
	
      
      
	
	  

	    The jaxrpc-mapping-file element contains the name of a file that
	    describes the JAX-RPC mapping between the Java interaces used by
	    the application and the WSDL description in the wsdl-file.  The
	    file name is a relative path within the module.

	    This is not required when JAX-WS based runtime is used.

	  
	
      
      
	
	  
	    

	      Defines the name of the handler. The name must be unique
	      within the module.

	    
	  
	  
	  
	
      
    
    
  



  
    
      
      
	
	  
	    
	      EmployeeService
			

		]]>
	    
	  
	  
	  
	
      
    

    
      
	

	  The required value for the version is 1.2.

	
      
    

    
  







© 2015 - 2024 Weber Informatics LLC | Privacy Policy