A WebLogic SCA Schemas

The following topics describe the WebLogic SCA schemas:

WebLogic Spring SCA Schema (weblogic-sca.xsd)

WebLogic SCA provides extensions to the OASIS Spring SCA schema to support the sca:reference and sca:service elements used in Spring application contexts to configure WebLogic SCA applications. The schema is available at http://www.oracle.com/technology/weblogic/weblogic-sca/1.0/weblogic-sca.xsd.

See Configuring the Spring Application Context for information about how this schema is used.

Note:

See Appendix A of the SCA Spring Component Implementation Specification at http://www.oasis-open.org/committees/download.php/25529/sca-springci-draft-20070926.doc for the complete OASIS Spring SCA schema.

WebLogic SCA Binding Schema (weblogic-sca-binding.xsd)

The binding.ejb element and binding.ws elements are defined in the weblogic-sca-binding.xsd schema. The schema is available at http://xmlns.oracle.com/weblogic/weblogic-sca-binding/1.0/weblogic-sca-binding.xsd.

See Configuring EJB Session Bean Bindings for information on how the binding.ejb element is used to configure EJB session bean bindings.

See Configuring Web Service Bindings for information on how the binding.ws element is used to configure Web Service bindings.

Web Service Policy Schema (ws-policy.xsd)

Policies for Web Service bindings are based on the ws-policy.xsd schema, as shown in the following example.

See Configuring Security for information on how this schema is used.

<schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/09/policy"
          xmlns:tns="http://schemas.xmlsoap.org/ws/2004/09/policy"
        xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="PolicyReference" >
        <complexType>
            <attribute name="URI" type="anyURI" use="required" />
            <attribute name="Digest" type="base64Binary" />
            <attribute name="DigestAlgorithm" 
                       type="anyURI" 
                       default="http://schemas.xmlsoap.org/ws/2004/09/policy/Sha1Exc"/>
        <anyAttribute namespace="##any" processContents="lax" />
        </complexType>
    </element>
</schema>

WebLogic SCA Databindings Customization Descriptor Schema (weblogic-wsee-databinding.xsd)

The schema for providing an external databinding customization XML file is available at http://xmlns.oracle.com/weblogic/weblogic-wsee-databinding/1.2/weblogic-wsee-databinding.xsd.

The customization file provides mapping metadata for databinding. The data is used to define the attributes of a Java Web Service endpoint.

See About Configuring Custom Databinding for more information.