OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ws-caf message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: WS-CF pdf, schema and WSDL


With thanks to Kevin, here's the updated WS-CF schema, WSDL and pdf. I'd 
like to discuss us accepting this as a formal TC document (moving it 
from the Editors Draft stage).

Mark.

-- 
Mark Little
Chief Architect
Arjuna Technologies Ltd
www.arjuna.com


WSCF.pdf

<?xml version="1.0" encoding="utf-8"?>
<!-- edited with XMLSPY v2004 rel. 3 U (http://www.xmlspy.com) by Tony Fletcher (Web Services Choreography WG) -->
<wsdl:definitions xmlns:tns="http://docs.oasis-open.org/wscaf/2005/07/wscf"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wscf="http://docs.oasis-open.org/wscaf/2005/07/wscf"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; targetNamespace="http://docs.oasis-open.org/wscaf/2005/07/wscf";>
    <wsdl:types>
        <xs:schema>
            <xs:import namespace="http://docs.oasis-open.org/wscaf/2005/07/wscf"/>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="AddParticipantMessage">
        <wsdl:part name="content" element="wscf:addParticipant"/>
    </wsdl:message>
    <wsdl:message name="RemoveParticipantMessage">
        <wsdl:part name="content" element="wscf:removeParticipant"/>
    </wsdl:message>
    <wsdl:message name="ReplaceParticipantMessage">
        <wsdl:part name="content" element="wscf:replaceParticipant"/>
    </wsdl:message>
    <wsdl:message name="RegistrationReplacedMessage">
        <wsdl:part name="content" element="wscf:registrationReplaced"/>
    </wsdl:message>
    <wsdl:message name="GetStatusMessage">
        <wsdl:part name="content" element="wscf:getStatus"/>
    </wsdl:message>
    <wsdl:message name="GetParticipantsMessage">
        <wsdl:part name="content" element="wscf:getParticipants"/>
    </wsdl:message>
    <wsdl:message name="ParticipantAddedMessage">
        <wsdl:part name="content" element="wscf:participantAdded"/>
    </wsdl:message>
    <wsdl:message name="ParticipantRemovedMessage">
        <wsdl:part name="content" element="wscf:participantRemoved"/>
    </wsdl:message>
    <wsdl:message name="ParticipantReplacedMessage">
        <wsdl:part name="content" element="wscf:participantReplaced"/>
    </wsdl:message>
    <wsdl:message name="ReplaceRegistrationMessage">
        <wsdl:part name="content" element="wscf:replaceRegistration"/>
    </wsdl:message>
    <wsdl:message name="StatusMessage">
        <wsdl:part name="content" element="wscf:status"/>
    </wsdl:message>
    <wsdl:message name="ParticipantListMessage">
        <wsdl:part name="content" element="wscf:participantList"/>
    </wsdl:message>
    
    <wsdl:message name="RegistrationContext">
        <wsdl:part name="content" element="wscf:registrationContext"/>
    </wsdl:message>
    <wsdl:portType name="RegistrationServicePortType">
        <wsdl:operation name="addParticipant">
            <wsdl:input message="tns:AddParticipantMessage"/>
        </wsdl:operation>
        <wsdl:operation name="removeParticipant">
            <wsdl:input message="tns:RemoveParticipantMessage"/>
        </wsdl:operation>
        <wsdl:operation name="replaceParticipant">
            <wsdl:input message="tns:ReplaceParticipantMessage"/>
        </wsdl:operation>
        <wsdl:operation name="registrationReplaced">
            <wsdl:input message="tns:RegistrationReplacedMessage"/>
        </wsdl:operation>
        <wsdl:operation name="getStatus">
            <wsdl:input message="tns:GetStatusMessage"/>
        </wsdl:operation>
        <wsdl:operation name="getParticipants">
            <wsdl:input message="tns:GetParticipantsMessage"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:portType name="RegisteringServicePortType">
        <wsdl:operation name="participantAdded">
            <wsdl:input message="tns:ParticipantAddedMessage"/>
        </wsdl:operation>
        <wsdl:operation name="participantRemoved">
            <wsdl:input message="tns:ParticipantRemovedMessage"/>
        </wsdl:operation>
        <wsdl:operation name="participantReplaced">
            <wsdl:input message="tns:ParticipantReplacedMessage"/>
        </wsdl:operation>
        <wsdl:operation name="replaceRegistration">
            <wsdl:input message="tns:ReplaceRegistrationMessage"/>
        </wsdl:operation>
        <wsdl:operation name="status">
            <wsdl:input message="tns:StatusMessage"/>
        </wsdl:operation>
        <wsdl:operation name="participantList">
            <wsdl:input message="tns:ParticipantListMessage"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="RegistrationServicePortTypeSOAPBinding" type="tns:RegistrationServicePortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="addParticipant">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="removeParticipant">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="replaceParticipant">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="registrationReplaced">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="getStatus">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="getParticipants">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:binding name="RegisteringServicePortTypeSOAPBinding" type="tns:RegisteringServicePortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <wsdl:operation name="participantAdded">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="participantRemoved">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="participantReplaced">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="replaceRegistration">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="status">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
        <wsdl:operation name="participantList">
            <wsdl:input>
                <soap:body use="literal"/>
                <soap:header message="tns:RegistrationContext" part="content" use="literal"/>
            </wsdl:input>
        </wsdl:operation>
    </wsdl:binding>
</wsdl:definitions>
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://docs.oasis-open.org/wscaf/2005/07/wscf"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:tns="http://docs.oasis-open.org/wscaf/2005/07/wscf"; xmlns:wsctx="http://docs.oasis-open.org/wscaf/2005/06/wsctx"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"; xmlns:ref="http://docs.oasis-open.org/wsrm/2004/06/reference-1.1.xsd";>
    <xs:import namespace="http://docs.oasis-open.org/wscaf/2005/06/wsctx"/>
    <xs:import namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"/>
    <xs:import namespace="http://docs.oasis-open.org/wsrm/2004/06/reference-1.1.xsd"/>
    <!-- wscf types -->
    <xs:complexType name="RegistrationContextType">
        <xs:complexContent>
                <xs:extension base="wsctx:ContextType">
                    <xs:sequence>
                          <xs:element name="registration-service" type="ref:ServiceRefType" minOccurs="1"/>
                          <xs:element name="sub-protocol" type="xs:anyURI" maxOccurs="unbounded"/>
                          <xs:element name="participant-service" type="ref:ServiceRefType" maxOccurs="unbounded"/>
                          <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
                      </xs:sequence>
                </xs:extension>
          </xs:complexContent>
    </xs:complexType>
    
    <xs:element name="registrationContext" type="tns:RegistrationContextType" abstract="true"/>
    
    <!--  Input Message elements for the Registration Service    -->
    <xs:element name="addParticipant">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
                <xs:element name="participant" type="ref:ServiceRefType"/>
                <xs:element name="protocol" type="xs:anyURI" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="removeParticipant">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
                <xs:element name="participant" type="ref:ServiceRefType"/>
                <xs:element name="protocol" type="xs:anyURI" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="replaceParticipant">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
                <xs:element name="old-participant" type="ref:ServiceRefType"/>
                <xs:element name="new-participant" type="ref:ServiceRefType"/>
             </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="registrationReplaced">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
                <xs:element ref="tns:status"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="getStatus">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="getParticipants">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <!--  Input Message elements for the Registering Service    -->
    <xs:element name="participantAdded">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="participantRemoved">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="participantReplaced">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="replaceRegistration">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="status" type="xs:QName"/>
    <xs:element name="participantList">
        <xs:complexType>
            <xs:sequence>
                <xs:any namespace="##other" processContents="lax" minOccurs="0"/>
                <xs:element name="participant" type="ref:ServiceRefType" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute ref="wsu:Id" use="optional"/>
        </xs:complexType>
    </xs:element>
    
    <!-- Fault sub code type -->
    <xs:simpleType name="FaultSubCodeType">
        <xs:restriction base="xs:QName">
            <xs:enumeration value="tns:InvalidProtocol"/>
            <xs:enumeration value="tns:DuplicateParticipant"/>
            <xs:enumeration value="tns:ParticipantNotFound"/>
            <xs:enumeration value="tns:TransientFault"/>
            <xs:enumeration value="tns:UnknownService"/>
        </xs:restriction>
    </xs:simpleType>
    <!-- Fault detail types -->
    <xs:complexType name="DuplicateParticipantFaultDetailType">
        <xs:sequence>
            <xs:any minOccurs="0" namespace="##other" processContents="lax"/>
            <xs:element name="duplicate-participant" type="ref:ServiceRefType"/>
        </xs:sequence>
        <xs:attribute ref="wsu:Id" use="optional"/>
    </xs:complexType>
    <xs:complexType name="InvalidProtocolFaultDetailType">
        <xs:sequence>
            <xs:any minOccurs="0" namespace="##other" processContents="lax"/>
            <xs:element name="protocol" type="xs:anyURI"/>
        </xs:sequence>
        <xs:attribute ref="wsu:Id" use="optional"/>
    </xs:complexType>
    <xs:complexType name="ParticipantNotFoundFaultDetailType">
        <xs:sequence>
            <xs:any minOccurs="0" namespace="##other" processContents="lax"/>
            <xs:element name="requestedParticipant" type="ref:ServiceRefType"/>
        </xs:sequence>
        <xs:attribute ref="wsu:Id" use="optional"/>
    </xs:complexType>
</xs:schema>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]