A WebLogic SCA Schemas

WebLogic SCA uses the following 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.

For information about how this schema is used, see Chapter 6, "Configuring the Spring Application Context."

Note:

For the complete OASIS Spring SCA schema, 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.

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.

For information on how the binding.ejb element is used to configure EJB session bean bindings, see Chapter 7, "Configuring EJB Session Bean Bindings."

For information on how the binding.ws element is used to configure Web Service bindings, see Chapter 8, "Configuring Web Service Bindings."

Web Service Policy Schema (ws-policy.xsd)

Policies for Web Service bindings are based on the ws-policy.xsd schema, shown in Example A-1.

For information about how this schema is used, see Configuring Security.

Example A-1 ws-policy.xsd Schema

<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. For more information, see Configuring Custom Databinding.