Schema Central > WS-CDL > ws-cdl.xsd > cdl:interaction
Advanced search
Need SOA Help?

Recommended Reading:

Web Service Contract Design and Versioning for SOA

 

Definitive XML Schema

 

cdl:interaction

Element information

Namespace: http://www.w3.org/2005/10/cdl

Schema document: ws-cdl.xsd

Type: cdl:tInteraction

Properties: Local, Qualified

Content

Attributes

NameOccTypeDescriptionNotes
Any attribute[0..*]Namespace: ##other, Process Contents: laxfrom type cdl:tExtensibleElements
name [1..1]xsd:NCName
channelVariable [1..1]xsd:QName
operation [1..1]xsd:NCName
align [0..1]xsd:booleanDefault value is "false".
initiate [0..1]xsd:booleanDefault value is "false".

Used in

Sample instance

<interaction name="creditAuthorization"
             channelVariable="tns:CreditRequestor"
             operation="authorize">
   <participate relationshipType="SuperiorInferior" fromRoleTypeRef="tns:Superior"
                toRoleTypeRef="tns:Inferior"/>
   <exchange name="creditRequest" informationType="creditRequest" action="request">
      <send variable="getVariable('tns:creditRequest','','')"/>
      <receive variable="getVariable('tns:creditRequest','','')"/>
   </exchange>
   <exchange name="creditAuthorized" informationType="creditAuthorizedType" action="respond">
      <send variable="getVariable('tns:creditAuthorized','','')"/>
      <receive variable="getVariable('tns:creditAuthorized','','')"/>
   </exchange>
   <exchange name="creditDenied" informationType="creditDeniedType" action="respond">
      <send variable="getVariable('tns:creditDenied','','')"
            causeException="tns:creditDenied"/>
      <receive variable="getVariable('tns:creditDenied','','')"
               causeException="tns:creditDenied"/>
   </exchange>
</interaction>

Site developed and hosted by Datypic, Inc.

Please report errors or comments about this site to contrib@functx.com