diff --git a/org.idempiere.webservices/META-INF/spring.schemas b/org.idempiere.webservices/META-INF/spring.schemas new file mode 100644 index 0000000000..d28470b52d --- /dev/null +++ b/org.idempiere.webservices/META-INF/spring.schemas @@ -0,0 +1,165 @@ +# from org.apache.servicemix.bundles.spring-beans +http\://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd +http\://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd +http\://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd +http\://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd +http\://www.springframework.org/schema/beans/spring-beans-3.2.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd +http\://www.springframework.org/schema/beans/spring-beans-4.0.xsd=org/springframework/beans/factory/xml/spring-beans-4.0.xsd +http\://www.springframework.org/schema/beans/spring-beans-4.1.xsd=org/springframework/beans/factory/xml/spring-beans-4.1.xsd +http\://www.springframework.org/schema/beans/spring-beans-4.2.xsd=org/springframework/beans/factory/xml/spring-beans-4.2.xsd +http\://www.springframework.org/schema/beans/spring-beans-4.3.xsd=org/springframework/beans/factory/xml/spring-beans-4.3.xsd +http\://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-4.3.xsd +http\://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd +http\://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd +http\://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd +http\://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd +http\://www.springframework.org/schema/tool/spring-tool-3.2.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd +http\://www.springframework.org/schema/tool/spring-tool-4.0.xsd=org/springframework/beans/factory/xml/spring-tool-4.0.xsd +http\://www.springframework.org/schema/tool/spring-tool-4.1.xsd=org/springframework/beans/factory/xml/spring-tool-4.1.xsd +http\://www.springframework.org/schema/tool/spring-tool-4.2.xsd=org/springframework/beans/factory/xml/spring-tool-4.2.xsd +http\://www.springframework.org/schema/tool/spring-tool-4.3.xsd=org/springframework/beans/factory/xml/spring-tool-4.3.xsd +http\://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-4.3.xsd +http\://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd +http\://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd +http\://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd +http\://www.springframework.org/schema/util/spring-util-3.1.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd +http\://www.springframework.org/schema/util/spring-util-3.2.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd +http\://www.springframework.org/schema/util/spring-util-4.0.xsd=org/springframework/beans/factory/xml/spring-util-4.0.xsd +http\://www.springframework.org/schema/util/spring-util-4.1.xsd=org/springframework/beans/factory/xml/spring-util-4.1.xsd +http\://www.springframework.org/schema/util/spring-util-4.2.xsd=org/springframework/beans/factory/xml/spring-util-4.2.xsd +http\://www.springframework.org/schema/util/spring-util-4.3.xsd=org/springframework/beans/factory/xml/spring-util-4.3.xsd +http\://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-4.3.xsd +https\://www.springframework.org/schema/beans/spring-beans-2.0.xsd=org/springframework/beans/factory/xml/spring-beans-2.0.xsd +https\://www.springframework.org/schema/beans/spring-beans-2.5.xsd=org/springframework/beans/factory/xml/spring-beans-2.5.xsd +https\://www.springframework.org/schema/beans/spring-beans-3.0.xsd=org/springframework/beans/factory/xml/spring-beans-3.0.xsd +https\://www.springframework.org/schema/beans/spring-beans-3.1.xsd=org/springframework/beans/factory/xml/spring-beans-3.1.xsd +https\://www.springframework.org/schema/beans/spring-beans-3.2.xsd=org/springframework/beans/factory/xml/spring-beans-3.2.xsd +https\://www.springframework.org/schema/beans/spring-beans-4.0.xsd=org/springframework/beans/factory/xml/spring-beans-4.0.xsd +https\://www.springframework.org/schema/beans/spring-beans-4.1.xsd=org/springframework/beans/factory/xml/spring-beans-4.1.xsd +https\://www.springframework.org/schema/beans/spring-beans-4.2.xsd=org/springframework/beans/factory/xml/spring-beans-4.2.xsd +https\://www.springframework.org/schema/beans/spring-beans-4.3.xsd=org/springframework/beans/factory/xml/spring-beans-4.3.xsd +https\://www.springframework.org/schema/beans/spring-beans.xsd=org/springframework/beans/factory/xml/spring-beans-4.3.xsd +https\://www.springframework.org/schema/tool/spring-tool-2.0.xsd=org/springframework/beans/factory/xml/spring-tool-2.0.xsd +https\://www.springframework.org/schema/tool/spring-tool-2.5.xsd=org/springframework/beans/factory/xml/spring-tool-2.5.xsd +https\://www.springframework.org/schema/tool/spring-tool-3.0.xsd=org/springframework/beans/factory/xml/spring-tool-3.0.xsd +https\://www.springframework.org/schema/tool/spring-tool-3.1.xsd=org/springframework/beans/factory/xml/spring-tool-3.1.xsd +https\://www.springframework.org/schema/tool/spring-tool-3.2.xsd=org/springframework/beans/factory/xml/spring-tool-3.2.xsd +https\://www.springframework.org/schema/tool/spring-tool-4.0.xsd=org/springframework/beans/factory/xml/spring-tool-4.0.xsd +https\://www.springframework.org/schema/tool/spring-tool-4.1.xsd=org/springframework/beans/factory/xml/spring-tool-4.1.xsd +https\://www.springframework.org/schema/tool/spring-tool-4.2.xsd=org/springframework/beans/factory/xml/spring-tool-4.2.xsd +https\://www.springframework.org/schema/tool/spring-tool-4.3.xsd=org/springframework/beans/factory/xml/spring-tool-4.3.xsd +https\://www.springframework.org/schema/tool/spring-tool.xsd=org/springframework/beans/factory/xml/spring-tool-4.3.xsd +https\://www.springframework.org/schema/util/spring-util-2.0.xsd=org/springframework/beans/factory/xml/spring-util-2.0.xsd +https\://www.springframework.org/schema/util/spring-util-2.5.xsd=org/springframework/beans/factory/xml/spring-util-2.5.xsd +https\://www.springframework.org/schema/util/spring-util-3.0.xsd=org/springframework/beans/factory/xml/spring-util-3.0.xsd +https\://www.springframework.org/schema/util/spring-util-3.1.xsd=org/springframework/beans/factory/xml/spring-util-3.1.xsd +https\://www.springframework.org/schema/util/spring-util-3.2.xsd=org/springframework/beans/factory/xml/spring-util-3.2.xsd +https\://www.springframework.org/schema/util/spring-util-4.0.xsd=org/springframework/beans/factory/xml/spring-util-4.0.xsd +https\://www.springframework.org/schema/util/spring-util-4.1.xsd=org/springframework/beans/factory/xml/spring-util-4.1.xsd +https\://www.springframework.org/schema/util/spring-util-4.2.xsd=org/springframework/beans/factory/xml/spring-util-4.2.xsd +https\://www.springframework.org/schema/util/spring-util-4.3.xsd=org/springframework/beans/factory/xml/spring-util-4.3.xsd +https\://www.springframework.org/schema/util/spring-util.xsd=org/springframework/beans/factory/xml/spring-util-4.3.xsd + +#from org.apache.cxf.cxf-core +http\://cxf.apache.org/schemas/configuration/cxf-beans.xsd=schemas/configuration/cxf-beans.xsd +http\://cxf.apache.org/configuration/parameterized-types=schemas/configuration/parameterized-types.xsd +http\://schemas.xmlsoap.org/wsdl/=schemas/wsdl/wsdl.xsd +http\://schemas.xmlsoap.org/wsdl/2003-02-11.xsd=schemas/wsdl/wsdl.xsd +http\://schemas.xmlsoap.org/wsdl/http/=schemas/wsdl/http.xsd +http\://schemas.xmlsoap.org/ws/2004/08/addressing=schemas/wsdl/addressing.xsd +http\://cxf.apache.org/schemas/configuration/security.xsd=schemas/configuration/security.xsd +http\://cxf.apache.org/schemas/configuration/parameterized-types.xsd=schemas/configuration/parameterized-types.xsd +http\://cxf.apache.org/schemas/core.xsd=schemas/core.xsd + +#from org.apache.cxf.cxf-rt-frontend-jaxws +http\://cxf.apache.org/schemas/jaxws.xsd=schemas/jaxws.xsd + +#from org.apache.cxf.cxf-rt-frontend-jaxrs +http\://cxf.apache.org/schemas/jaxrs-common.xsd=schemas/jaxrs-common.xsd +http\://cxf.apache.org/schemas/jaxrs.xsd=schemas/jaxrs.xsd + +#from org.apache.cxf.cxf-rt-bindings-soap +http\://cxf.apache.org/schemas/configuration/soap.xsd=schemas/configuration/soap.xsd + +#org.apache.cxf.cxf-rt-frontend-simple +http\://cxf.apache.org/schemas/simple.xsd=schemas/simple.xsd + +#org.apache.cxf.cxf-rt-transports-http +http\://cxf.apache.org/schemas/wsdl/http-conf.xsd=schemas/wsdl/http-conf.xsd +http\://cxf.apache.org/schemas/configuration/http-conf.xsd=schemas/configuration/http-conf.xsd + +#org.apache.cxf.cxf-rt-transports-http-jetty +http\://cxf.apache.org/schemas/configuration/http-jetty.xsd=schemas/configuration/http-jetty.xsd + +#org.apache.cxf.cxf-rt-ws-addr +http\://cxf.apache.org/schemas/ws/addressing.xsd=schemas/ws-addr-conf.xsd + +#org.apache.cxf.cxf-rt-ws-policy +http\://www.w3.org/2007/02/ws-policy.xsd=schemas/ws-policy-200702.xsd +http\://www.w3.org/2006/07/ws-policy.xsd=schemas/ws-policy-200607.xsd +http\://schemas.xmlsoap.org/ws/2004/09/policy/ws-policy.xsd=schemas/ws-policy-200409.xsd +http\://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd=schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd +http\://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd=schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd +http\://www.w3.org/2001/xml.xsd=schemas/xml.xsd +http\://cxf.apache.org/schemas/policy.xsd=schemas/policy.xsd +http\://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd=schemas/xmldsig-core-schema.xsd +http\://www.w3.org/2001/XMLSchema.dtd=schemas/XMLSchema.dtd +http\://www.w3.org/2001/datatypes.dtd=schemas/datatypes.dtd + +#org.apache.servicemix.bundles.spring-aop +http\://www.springframework.org/schema/aop/spring-aop-2.0.xsd=org/springframework/aop/config/spring-aop-2.0.xsd +http\://www.springframework.org/schema/aop/spring-aop-2.5.xsd=org/springframework/aop/config/spring-aop-2.5.xsd +http\://www.springframework.org/schema/aop/spring-aop-3.0.xsd=org/springframework/aop/config/spring-aop-3.0.xsd +http\://www.springframework.org/schema/aop/spring-aop-3.1.xsd=org/springframework/aop/config/spring-aop-3.1.xsd +http\://www.springframework.org/schema/aop/spring-aop-3.2.xsd=org/springframework/aop/config/spring-aop-3.2.xsd +http\://www.springframework.org/schema/aop/spring-aop-4.0.xsd=org/springframework/aop/config/spring-aop-4.0.xsd +http\://www.springframework.org/schema/aop/spring-aop-4.1.xsd=org/springframework/aop/config/spring-aop-4.1.xsd +http\://www.springframework.org/schema/aop/spring-aop-4.2.xsd=org/springframework/aop/config/spring-aop-4.2.xsd +http\://www.springframework.org/schema/aop/spring-aop-4.3.xsd=org/springframework/aop/config/spring-aop-4.3.xsd +http\://www.springframework.org/schema/aop/spring-aop.xsd=org/springframework/aop/config/spring-aop-4.3.xsd + +#org.apache.servicemix.bundles.spring-context +http\://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd +http\://www.springframework.org/schema/context/spring-context-3.0.xsd=org/springframework/context/config/spring-context-3.0.xsd +http\://www.springframework.org/schema/context/spring-context-3.1.xsd=org/springframework/context/config/spring-context-3.1.xsd +http\://www.springframework.org/schema/context/spring-context-3.2.xsd=org/springframework/context/config/spring-context-3.2.xsd +http\://www.springframework.org/schema/context/spring-context-4.0.xsd=org/springframework/context/config/spring-context-4.0.xsd +http\://www.springframework.org/schema/context/spring-context-4.1.xsd=org/springframework/context/config/spring-context-4.1.xsd +http\://www.springframework.org/schema/context/spring-context-4.2.xsd=org/springframework/context/config/spring-context-4.2.xsd +http\://www.springframework.org/schema/context/spring-context-4.3.xsd=org/springframework/context/config/spring-context-4.3.xsd +http\://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-4.3.xsd +http\://www.springframework.org/schema/jee/spring-jee-2.0.xsd=org/springframework/ejb/config/spring-jee-2.0.xsd +http\://www.springframework.org/schema/jee/spring-jee-2.5.xsd=org/springframework/ejb/config/spring-jee-2.5.xsd +http\://www.springframework.org/schema/jee/spring-jee-3.0.xsd=org/springframework/ejb/config/spring-jee-3.0.xsd +http\://www.springframework.org/schema/jee/spring-jee-3.1.xsd=org/springframework/ejb/config/spring-jee-3.1.xsd +http\://www.springframework.org/schema/jee/spring-jee-3.2.xsd=org/springframework/ejb/config/spring-jee-3.2.xsd +http\://www.springframework.org/schema/jee/spring-jee-4.0.xsd=org/springframework/ejb/config/spring-jee-4.0.xsd +http\://www.springframework.org/schema/jee/spring-jee-4.1.xsd=org/springframework/ejb/config/spring-jee-4.1.xsd +http\://www.springframework.org/schema/jee/spring-jee-4.2.xsd=org/springframework/ejb/config/spring-jee-4.2.xsd +http\://www.springframework.org/schema/jee/spring-jee-4.3.xsd=org/springframework/ejb/config/spring-jee-4.3.xsd +http\://www.springframework.org/schema/jee/spring-jee.xsd=org/springframework/ejb/config/spring-jee-4.3.xsd +http\://www.springframework.org/schema/lang/spring-lang-2.0.xsd=org/springframework/scripting/config/spring-lang-2.0.xsd +http\://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd +http\://www.springframework.org/schema/lang/spring-lang-3.0.xsd=org/springframework/scripting/config/spring-lang-3.0.xsd +http\://www.springframework.org/schema/lang/spring-lang-3.1.xsd=org/springframework/scripting/config/spring-lang-3.1.xsd +http\://www.springframework.org/schema/lang/spring-lang-3.2.xsd=org/springframework/scripting/config/spring-lang-3.2.xsd +http\://www.springframework.org/schema/lang/spring-lang-4.0.xsd=org/springframework/scripting/config/spring-lang-4.0.xsd +http\://www.springframework.org/schema/lang/spring-lang-4.1.xsd=org/springframework/scripting/config/spring-lang-4.1.xsd +http\://www.springframework.org/schema/lang/spring-lang-4.2.xsd=org/springframework/scripting/config/spring-lang-4.2.xsd +http\://www.springframework.org/schema/lang/spring-lang-4.3.xsd=org/springframework/scripting/config/spring-lang-4.3.xsd +http\://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-4.3.xsd +http\://www.springframework.org/schema/task/spring-task-3.0.xsd=org/springframework/scheduling/config/spring-task-3.0.xsd +http\://www.springframework.org/schema/task/spring-task-3.1.xsd=org/springframework/scheduling/config/spring-task-3.1.xsd +http\://www.springframework.org/schema/task/spring-task-3.2.xsd=org/springframework/scheduling/config/spring-task-3.2.xsd +http\://www.springframework.org/schema/task/spring-task-4.0.xsd=org/springframework/scheduling/config/spring-task-4.0.xsd +http\://www.springframework.org/schema/task/spring-task-4.1.xsd=org/springframework/scheduling/config/spring-task-4.1.xsd +http\://www.springframework.org/schema/task/spring-task-4.2.xsd=org/springframework/scheduling/config/spring-task-4.2.xsd +http\://www.springframework.org/schema/task/spring-task-4.3.xsd=org/springframework/scheduling/config/spring-task-4.3.xsd +http\://www.springframework.org/schema/task/spring-task.xsd=org/springframework/scheduling/config/spring-task-4.3.xsd +http\://www.springframework.org/schema/cache/spring-cache-3.1.xsd=org/springframework/cache/config/spring-cache-3.1.xsd +http\://www.springframework.org/schema/cache/spring-cache-3.2.xsd=org/springframework/cache/config/spring-cache-3.2.xsd +http\://www.springframework.org/schema/cache/spring-cache-4.0.xsd=org/springframework/cache/config/spring-cache-4.0.xsd +http\://www.springframework.org/schema/cache/spring-cache-4.1.xsd=org/springframework/cache/config/spring-cache-4.1.xsd +http\://www.springframework.org/schema/cache/spring-cache-4.2.xsd=org/springframework/cache/config/spring-cache-4.2.xsd +http\://www.springframework.org/schema/cache/spring-cache-4.3.xsd=org/springframework/cache/config/spring-cache-4.3.xsd +http\://www.springframework.org/schema/cache/spring-cache.xsd=org/springframework/cache/config/spring-cache-4.3.xsd diff --git a/org.idempiere.webservices/WEB-INF/src/schemas/configuration/cxf-beans.xsd b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/cxf-beans.xsd new file mode 100644 index 0000000000..8a862d1199 --- /dev/null +++ b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/cxf-beans.xsd @@ -0,0 +1,85 @@ + + + + + + + + + + + A unique identifier for the bean. This can also be a list of identifiers. + See documentation for attribute name in attribute group beanAttributes + in http://www.springframework.org/schema/beans/spring-beans.xsd + + + + + + + Specifies if the bean is an abstract bean. Abstract beans act as parents for + concrete bean definitions and are not instantiated. The default is "false". + Setting this to "true" instructs the bean factory not to instantiate the bean. + See documentation for attribute abstract in attribute group beanAttributes + in http://www.springframework.org/schema/beans/spring-beans.xsd + + + + + + + A list of beans that the bean depends on being instantiated before it + can be instantiated. + See documentation for attribute depends-on in attribute group beanAttributes + in http://www.springframework.org/schema/beans/spring-beans.xsd + + + + + + + Specifies that the user created that bean using CXF APIs like + Endpoint.publish or Service.getPort. + The default is "false". + Setting this to "true" does the following: Changes the internal name of the + bean by appending either ".jaxws-client" or ".jaxws-endpoint" to the bean's + id. Makes the bean abstract. + See documentation for attribute abstract in attribute group beanAttributes + in http://www.springframework.org/schema/beans/spring-beans.xsd + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.idempiere.webservices/WEB-INF/src/schemas/configuration/extension.xsd b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/extension.xsd new file mode 100644 index 0000000000..b331265047 --- /dev/null +++ b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/extension.xsd @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.idempiere.webservices/WEB-INF/src/schemas/configuration/parameterized-types.xsd b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/parameterized-types.xsd new file mode 100644 index 0000000000..3e71c324d0 --- /dev/null +++ b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/parameterized-types.xsd @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.idempiere.webservices/WEB-INF/src/schemas/configuration/security.xsd b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/security.xsd new file mode 100644 index 0000000000..5f5c5379f6 --- /dev/null +++ b/org.idempiere.webservices/WEB-INF/src/schemas/configuration/security.xsd @@ -0,0 +1,661 @@ + + + + + + + + + + + This structure holds parameters that may govern authentication + that use a User Password strategy. + + + + + + + + User Name for server BASIC authentication login + (some servers require users to authenticate with the server -- see also Password, AuthorizationType, and Authorization) + + + + + + + + Password for server BASIC authentication login + (some servers require users to authenticate with the server -- see also UserName, AuthorizationType, and Authorization) + + + + + + + + Type of authentication to use with server, if not using + username and password based "BASIC" authentication. + If username and password are used, this does not need to be set. + (some servers require users to authenticate with the server -- see also UserName, Password, and Authorization) + + + + + + + + Actual authentication data for server, if not using + username and password based "BASIC" authentication + If username and password are used, this does not need to be set. + (some servers require users to authenticate with the server -- see also UserName, Password, and AuthorizationType) + + + + + + + + + + + + + + + + + + + + + + + + + This attribute specifies if client authentication should be requested. + + + + + + + This attribute specifies if client authentication should be required. + + + + + + + + + A KeyStoreType represents the information needed to load a collection + of key and certificate material from a desired location. + The "url", "file", and "resource" attributes are intended to be + mutually exclusive, though this assumption is not encoded in schema. + The precedence order observed by the runtime is + 1) "file", 2) "resource", and 3) "url". + + + + + + This attribute specifies the type of the keystore. + It is highly correlated to the provider. Most common examples + are "jks" "pkcs12". + + + + + + + This attribute specifes the integrity password for the keystore. + This is not the password that unlock keys within the keystore. + + + + + + + This attribute specifies the keystore implementation provider. + Most common examples are "SUN". + + + + + + + This attribute specifies the URL location of the keystore. + This element should be a properly accessible URL, such as + "http://..." "file:///...", etc. Only one attribute of + "url", "file", or "resource" is allowed. + + + + + + + This attribute specifies the File location of the keystore. + This element should be a properly accessible file from the + working directory. Only one attribute of + "url", "file", or "resource" is allowed. + + + + + + + This attribute specifies the Resource location of the keystore. + This element should be a properly accessible on the classpath. + Only one attribute of + "url", "file", or "resource" is allowed. + + + + + + + + + A CertStoreType represents a catenated sequence of X.509 certificates, + in PEM or DER format. + The "url", "file", and "resource" attributes are intended to be + mutually exclusive, though this assumption is not encoded in schema. + The precedence order observed by the runtime is + 1) "file", 2) "resource", and 3) "url". + + + + + + This attribute specifies the type of the certstore. + It is highly correlated to the provider. Most common examples + are "jks" "pkcs12". + + + + + + + This attribute specifies the File location of the certificate store. + This element should be a properly accessible file from the + working directory. Only one attribute of + "url", "file", or "resource" is allowed. + + + + + + + This attribute specifies the Resource location of the certificate store. + This element should be a properly accessible on the classpath. + Only one attribute of + "url", "file", or "resource" is allowed. + + + + + + + This attribute specifies the URL location of the certificate store. + This element should be a properly accessible URL, such as + "http://..." "file:///...", etc. Only one attribute of + "url", "file", or "resource" is allowed. + + + + + + + + + This structure specifies the JSSE based KeyManagers for a single + Keystore. + + + + + + + + This element specified the Keystore for these JSSE KeyManagers. + + + + + + + + This attribute contains the password that unlocks the keys + within the keystore. + + + + + + + This attribute contains the name of the class implementing + password callback handler to unlock the keys withing the keystore. + Alternative to keyPassword attribute. + + + + + + + This attribute contains the KeyManagers provider name. + + + + + + + This attribute contains the algorithm the KeyManagers Factory + will use in creating the KeyManagers from the KeyStore. Most + common examples are "PKIX". + + + + + + + This attribute contains the reference to the KeyManagers bean. This + attribute allows the KeyManagers instance to be constructed by other + means and referenced from this object. + + + + + + + + + This structure contains the specification of JSSE TrustManagers for + a single Keystore used for trusted certificates. + + + + + + + This element contains the KeyStore used as a trust + store. + + + + + + + This element contains the CertStore used as a trust store. + + + + + + + + This attribute contains the KeyManagers provider name. + + + + + + + This attribute contains the algorithm the KeyManagers Factory + will use in creating the KeyManagers from the KeyStore. Most + common examples are "PKIX". + + + + + + + This attribute contains the reference to the TrustManagers bean. This + attribute allows the TrustManagers instance to be constructed by other + means and referenced from this object. + + + + + + + + + This structure holds a list of ciphersuite names that are to be + supported. Note: that does not mean that they will be available. + That depends on the JSSE and Crypto providers. + + + + + + + + + + + This structure holds a list of protocols that are to be excluded. + If this structure is not defined then SSLv3 is excluded by default + + + + + + + + + + + This structure holds a list of protocols that are to be included. + Sometimes we want to include more protocols than the secure socket protocol, for example + "SSLv2Hello". + + + + + + + + + + + This structure holds the parameters for the Secure Random Number + generator used in the JSSE. + + + + + + + + + + This structure holds a list of regular expressions that corresponds to a sequence of + Certificate Constraints on either the Subject or Issuer DN. + + + + + + + + + + + + This structure holds a list of regular expressions that corresponds to a sequence of + Certificate Constraints. The optional combinator attribute refers to whether ALL or + ANY of these regular expressions must be satisfied. + + + + + + + + + + + + + + This type refers to whether ALL or ANY of the DNConstraintsType regular expressions + must be satisfied. + + + + + + + + + + + + + + + This element contains the KeyManagers specification. + + + + + + + This element contains the TrustManagers specification. + + + + + + + This element contains the the CipherSuites that will be supported. + + + + + + + This element contains the filters of the supported CipherSuites + that will be supported and used if available. + + + + + + + This element contains SecureRandom specification. + + + + + + + This element contains the Certificate Constraints specification. + + + + + + + This element contains the Certificate Alias. + + + + + + + + This attribute specifies if HttpsURLConnection.defaultSslSocketFactory + should be used to create https connections. If 'true', 'jsseProvider', + 'secureSocketProtocol', 'trustManagers', 'keyManagers', 'secureRandom', + 'cipherSuites' and 'cipherSuitesFilter' are ignored. + Since 2.2.7. + + + + + + + This attribute specifies if HttpsURLConnection.defaultHostnameVerifier + should be used to create https connections. If 'true', 'disableCNCheck' + is ignored. + Since 2.2.7. + + + + + + + This attribute specifies if JSSE should omit checking if the + host name specified in the URL matches that of the Common Name + (CN) on the server's certificate. Default is false; this attribute + should not be set to true during production use. + + + + + + + This attribute specifies whether to enable revocation when checking the server certificate. + The default is false. + + + + + + + This attribute contains the JSSE provider name. + + + + + + + This attribute contains the Protocol Name. Most common + example is "SSL", "TLS" or "TLSv1". + + + + + + + This attribute contains the JDK SSL session cache timeout + + + + + + + + + + + This element contains the KeyManagers specification. + + + + + + + This element contains the TrustManagers specification. + + + + + + + This element contains the the CipherSuites that will be supported. + + + + + + + This element contains the filters of the supported CipherSuites + that will be supported and used if available. + + + + + + + This element contains the the Protocols that will be excluded + + + + + + + This element contains the the Protocols that will be included + + + + + + + This element contains SecureRandom specification. + + + + + + + This element contains Client Authentication specification. + + + + + + + This element contains the Certificate Constraints specification. + + + + + + + This element contains the Certificate Alias. + + + + + + + + This attribute contains the JSSE provider name. + + + + + + + This attribute contains the Protocol Name. Most common + example is "SSL", "TLS" or "TLSv1". + + + + + + + This attribute specifies whether to enable revocation when checking the client certificate, + if client authentication is enabled. The default is false. + + + + + diff --git a/org.idempiere.webservices/WEB-INF/src/schemas/jaxrs-common.xsd b/org.idempiere.webservices/WEB-INF/src/schemas/jaxrs-common.xsd new file mode 100644 index 0000000000..b42570e880 --- /dev/null +++ b/org.idempiere.webservices/WEB-INF/src/schemas/jaxrs-common.xsd @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.idempiere.webservices/WEB-INF/src/schemas/jaxrs.xsd b/org.idempiere.webservices/WEB-INF/src/schemas/jaxrs.xsd new file mode 100644 index 0000000000..8c88b82f1b --- /dev/null +++ b/org.idempiere.webservices/WEB-INF/src/schemas/jaxrs.xsd @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.idempiere.webservices/WEB-INF/src/schemas/jaxws.xsd b/org.idempiere.webservices/WEB-INF/src/schemas/jaxws.xsd new file mode 100644 index 0000000000..17ef16c973 --- /dev/null +++ b/org.idempiere.webservices/WEB-INF/src/schemas/jaxws.xsd @@ -0,0 +1,441 @@ + + + + + + + + + + + + Configures a JAX-WS server. This element is associated with the org.apache.cxf.jaxws.EndpointImpl object. + + + + + + + + Configures the message binding used by the endpoint. Message bindings are configured using implementations of the + org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean. + + + + + Configures the data binding used by the endpoint. The class implementing the JAXB data binding is org.apache.cxf.jaxb.JAXBDataBinding. + + + + + Configures a Java executor to handle the service. + + + + + Specifies a list of beans that configure advanced features like WS-RM. + + + + + Specifies a list of JAX-WS handlers to add to the endpoint's processing chain. + + + + + Configures the bean implementing the service. If this child is used you should not use the implementor attribute. + + + + + Specifies a list of interceptors to process incoming requests. + + + + + Specifies a list of interceptors to process incoming fault messages. + + + + + Specifies an implementation of the org.apache.cxf.service.Invoker interface to be used by the service. The Invoker + implementation controls how a service is invoked. For example, it controls if each request is handled by a new instance of the + service implementation or if state is preserved across invocations. + + + + + Specifies a list of interceptors to process outgoing responses. + + + + + Specifies a list of interceptors to process outgoing fault messages. + + + + + Specifies a map of properties that are passed to the endpoint. + + + + + + + + + Specifies the HTTP address of the endpoint. This value will override the value specified in the services + contract. + + + + + Specifies the ID of the data binding the service will use. For SOAP bindings the IDs are defined in the JAX-WS + specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the + binding. + + + + + Specifies the ID of the Spring bean configuring the bus managing the endpoint. + + + + + Specifies the class implementing the service. You can specify the implementation class using either the class + name or an ID reference to a Spring bean configuring the implementation class. This class needs to be on the + classpath. + + + + + Specifies the name of the class implementing the service. This attribute is useful when you specify the implementor + with the ref bean which is wrapped by using Spring AOP. + + + + + Specifies if the service should be automatically published. + + + + + + Specifies the value of the service's WSDL port element's name attribute. + + + + + Specifies the value of the service's WSDL service element's name attribute. + + + + + Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl. + + + + + Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder + from which the service is deployed. + + + + + + + + + + Configures a JAX-WS server. The element is associated with the org.apache.cxf.jaxws.support.JaxWsServerFactoryBean object. + + + + + + + + Configures the message binding used by the endpoint. Message bindings are configured using implementations of the + org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean. + + + + + Configures the data binding used by the endpoint. The class implementing the JAXB data binding is + org.apache.cxf.jaxb.JAXBDataBinding. + + + + + Configures a Java executor to handle the service. + + + + + Specifies a list of beans that configure advanced features like WS-RM. + + + + + Specifies a list of JAX-WS handlers to add to the endpoint's processing chain. + + + + + Specifies a list of interceptors to process incoming requests. + + + + + Specifies a list of interceptors to process incoming fault messages. + + + + + Specifies an implementation of the org.apache.cxf.service.Invoker interface to be used by the service. The Invoker + implementation controls how a service is invoked. For example, it controls if each request is handled by a new instance of the + service implementation or if state is preserved across invocations. + + + + + Specifies a list of interceptors to process outgoing responses. + + + + + Specifies a list of interceptors to process outgoing fault messages. + + + + + Specifies a map of properties that are passed to the endpoint. + + + + + + Configures the bean implementing the service. If this child is used you should not use the serviceBean attribute. + + + + + + + + Specifies the HTTP address of the endpoint. This value will override the value specified in the services + contract. + + + + + Specifies the ID of the data binding the service will use. For SOAP bindings the IDs are defined in the JAX-WS + specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the + binding. + + + + + Specifies the ID of the Spring bean configuring the bus managing the endpoint. + + + + + Specifies the name of the class implementing the service. This attribute is useful when you specify the implementor + with the ref bean which is wrapped by using Spring AOP. + + + + + Specifies the class implementing the service. You can specify the implementation class using either the class + name or an ID reference to a Spring bean configuring the implementation class. This class needs to be on the + classpath. + + + + + Specifies if the service should be automatically published. + + + + + Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl. + + + + + Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder + from which the service is deployed. + + + + + Specifies the value of the service's WSDL port element's name attribute. + + + + + Specifies the value of the service's WSDL service element's name attribute. + + + + + + + + + + Configures a JAX-WS client. + + + + + + + + Configures the message binding used by the endpoint. Message bindings are configured using implementations of the + org.apache.cxf.binding.BindingFactory interface. The SOAP binding is configured using the soap:soapBinding bean. + + + + + Configures the data binding used by the endpoint. The class implementing the JAXB data binding is org.apache.cxf.jaxb.JAXBDataBinding. + + + + + Specifies a list of beans that configure advanced features like WS-RM. + + + + + Specifies a list of JAX-WS handlers to add to the endpoint's processing chain. + + + + + Specifies a list of interceptors to process incoming responses. + + + + + Specifies a list of interceptors to process incoming fault messages. + + + + + Specifies a list of interceptors to process outgoing requests. + + + + + Specifies a list of interceptors to process outgoing fault messages. + + + + + Specifies a map of properties that are passed to the endpoint. + + + + + Specifies a org.apache.cxf.endpoint.ConduitSelector implementation. ConduitSelector implementations override the + strategy used to select the Conduit used to process outgoing messages. + + + + + + + Specifies the HTTP address of the endpoint on which the client makes requests. This value will override the value + specified in the services contract. + + + + + Specifies the ID of the data binding the client will use. For SOAP bindings the IDs are defined in the JAX-WS + specification. For other data bindings, the ID is the namespace of the WSDL extensions used to configure the + binding. + + + + + Specifies the ID of the Spring bean configuring the bus managing the endpoint. + + + + + Specifies the value of the WSDL port element's name attribute for the service on which the client is making + requests. + + + + + Specifies a password that is used for simple username/password authentication. + + + + + Specifies the name of the class implementing the client. + + + + + Specifies the value of the WSDL service element's name attribute for the service on which the client is making + requests. + + + + + Specifies a password that is used for simple username/password authentication. + + + + + Specifies the transportId that endpoint will use, it will override the transport which is defined in the wsdl. + + + + + Specifies the location of the endpoint's WSDL contract. The WSDL contract's location is relative to the folder + from which the client is deployed. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.idempiere.webservices/build.properties b/org.idempiere.webservices/build.properties index 9592fe3b39..d381694573 100644 --- a/org.idempiere.webservices/build.properties +++ b/org.idempiere.webservices/build.properties @@ -6,7 +6,8 @@ bin.includes = META-INF/,\ WEB-INF/xsd/,\ plugin.xml,\ OSGI-INF/,\ - WEB-INF/lib/idempiere-xmlbeans.jar + WEB-INF/lib/idempiere-xmlbeans.jar,\ + schemas/ src.includes = WEB-INF/lib/,\ WEB-INF/web.xml,\ WEB-INF/xsd/