Author: thilina
Date: Sat Dec 23 03:42:08 2006
New Revision: 489883

URL: http://svn.apache.org/viewvc?view=rev&rev=489883
Log:
Adding code gen support for WS-BA... Added bindings & services to the 
wsdl..

Added:
    webservices/kandula/trunk/java/schema/wsba.wsdl
    webservices/kandula/trunk/java/schema/wsba.xsd
Modified:
    webservices/kandula/trunk/java/maven.xml

Modified: webservices/kandula/trunk/java/maven.xml
URL: 
http://svn.apache.org/viewvc/webservices/kandula/trunk/java/maven.xml?view=diff&rev=489883&r1=489882&r2=489883
==============================================================================
--- webservices/kandula/trunk/java/maven.xml (original)
+++ webservices/kandula/trunk/java/maven.xml Sat Dec 23 03:42:08 2006
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project default="jar" xmlns:j="jelly:core" xmlns:maven="jelly:maven" 
xmlns:deploy="deploy" xmlns:ant="jelly:ant">
 
-    <ant:property name="repo.addressing.mar.full.name" 
value="${repo.addressing.mar.name}-${axis2.version}.mar" />
-    <ant:property name="repo.addressing.mar.path" 
value="${maven.repo.local}/${axis2.mar.groupid}/mars" />
-    <ant:property name="repo.addressing.mar" 
value="${repo.addressing.mar.path}/${repo.addressing.mar.full.name}" />
-       
+       <ant:property name="repo.addressing.mar.full.name" 
value="${repo.addressing.mar.name}-${axis2.version}.mar" />
+       <ant:property name="repo.addressing.mar.path" 
value="${maven.repo.local}/${axis2.mar.groupid}/mars" />
+       <ant:property name="repo.addressing.mar" 
value="${repo.addressing.mar.path}/${repo.addressing.mar.full.name}" />
+
        <goal name="setclasspath">
                <path id="test.classpath">
                        <path refid="maven.dependency.classpath" />
@@ -12,6 +12,17 @@
        </goal>
 
        <goal name="generate:code">
+               <!-- Code generating for the WS-Coordination WSDL -->
+               <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+                       <classpath refid="maven.dependency.classpath" />
+                       <arg line=" -o target -p org.apache.kandula.wscoor -g  
-ss -sd -sn RegistrationService -uri schema/wscoor.wsdl" />
+               </java>
+               <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+                       <classpath refid="maven.dependency.classpath" />
+                       <arg line=" -o target -p org.apache.kandula.wscoor -g  
-ss -sd -sn ActivationService -uri schema/wscoor.wsdl" />
+               </java>
+
+               <!-- Code generating for the WS-AT WSDL -->
                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
                        <classpath refid="maven.dependency.classpath" />
                        <arg line=" -o target -p org.apache.kandula.wsat.twopc 
-g -ss -sd -sn Participant2PCService -uri schema/wsat.wsdl" />
@@ -28,15 +39,23 @@
                        <classpath refid="maven.dependency.classpath" />
                        <arg line=" -o target -p 
org.apache.kandula.wsat.completion -g -ss -sd -sn CompletionCoordinator -uri 
schema/wsat.wsdl" />
                </java>
-               
-               
+
+               <!-- Code generating for the WS-BA WSDL -->
                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
                        <classpath refid="maven.dependency.classpath" />
-                       <arg line=" -o target -p org.apache.kandula.wscoor -g  
-ss -sd -sn RegistrationService -uri schema/wscoor.wsdl" />
+                       <arg line=" -o target -p org.apache.kandula.wsba -g -ss 
-sd -sn BAParticipantCompletionParticipantService -uri schema/wsba.wsdl" />
                </java>
                <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
                        <classpath refid="maven.dependency.classpath" />
-                       <arg line=" -o target -p org.apache.kandula.wscoor -g  
-ss -sd -sn ActivationService -uri schema/wscoor.wsdl" />
+                       <arg line=" -o target -p org.apache.kandula.wsba -g -ss 
-sd -sn BACoordinatorCompletionCoordinatorService -uri schema/wsba.wsdl" />
+               </java>
+               <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+                       <classpath refid="maven.dependency.classpath" />
+                       <arg line=" -o target -p org.apache.kandula.wsba -g -ss 
-sd -sn BACoordinatorCompletionParticipantService -uri schema/wsba.wsdl" />
+               </java>
+               <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
+                       <classpath refid="maven.dependency.classpath" />
+                       <arg line=" -o target -p org.apache.kandula.wsba -g -ss 
-sd -sn BAParticipantCompletionCoordinatorService -uri schema/wsba.wsdl" />
                </java>
        </goal>
 

Added: webservices/kandula/trunk/java/schema/wsba.wsdl
URL: 
http://svn.apache.org/viewvc/webservices/kandula/trunk/java/schema/wsba.wsdl?view=auto&rev=489883
==============================================================================
--- webservices/kandula/trunk/java/schema/wsba.wsdl (added)
+++ webservices/kandula/trunk/java/schema/wsba.wsdl Sat Dec 23 03:42:08 2006
@@ -0,0 +1,474 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright OASIS Open 2006. All Rights Reserved. -->
+<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
+       xmlns:wsba="http://docs.oasis-open.org/ws-tx/wsba/2006/06";
+       xmlns:xs="http://www.w3.org/2001/XMLSchema";
+       targetNamespace="http://docs.oasis-open.org/ws-tx/wsba/2006/06";
+       xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
+       <wsdl:types>
+               <xs:schema>
+                       <xs:import 
namespace="http://docs.oasis-open.org/ws-tx/wsba/2006/06";
+                               schemaLocation="wsba.xsd" />
+               </xs:schema>
+       </wsdl:types>
+       <!-- Messages -->
+       <wsdl:message name="Complete">
+               <wsdl:part name="parameters" element="wsba:Complete" />
+       </wsdl:message>
+       <wsdl:message name="Completed">
+               <wsdl:part name="parameters" element="wsba:Completed" />
+       </wsdl:message>
+       <wsdl:message name="Close">
+               <wsdl:part name="parameters" element="wsba:Close" />
+       </wsdl:message>
+       <wsdl:message name="Closed">
+               <wsdl:part name="parameters" element="wsba:Closed" />
+       </wsdl:message>
+       <wsdl:message name="Cancel">
+               <wsdl:part name="parameters" element="wsba:Cancel" />
+       </wsdl:message>
+       <wsdl:message name="Canceled">
+               <wsdl:part name="parameters" element="wsba:Canceled" />
+       </wsdl:message>
+       <wsdl:message name="Compensate">
+               <wsdl:part name="parameters" element="wsba:Compensate" />
+       </wsdl:message>
+       <wsdl:message name="Compensated">
+               <wsdl:part name="parameters" element="wsba:Compensated" />
+       </wsdl:message>
+       <wsdl:message name="Fail">
+               <wsdl:part name="parameters" element="wsba:Fail" />
+       </wsdl:message>
+       <wsdl:message name="Failed">
+               <wsdl:part name="parameters" element="wsba:Failed" />
+       </wsdl:message>
+       <wsdl:message name="Exit">
+               <wsdl:part name="parameters" element="wsba:Exit" />
+       </wsdl:message>
+       <wsdl:message name="Exited">
+               <wsdl:part name="parameters" element="wsba:Exited" />
+       </wsdl:message>
+       <wsdl:message name="CannotComplete">
+               <wsdl:part name="parameters" element="wsba:CannotComplete" />
+       </wsdl:message>
+       <wsdl:message name="NotCompleted">
+               <wsdl:part name="parameters" element="wsba:NotCompleted" />
+       </wsdl:message>
+       <wsdl:message name="GetStatus">
+               <wsdl:part name="parameters" element="wsba:GetStatus" />
+       </wsdl:message>
+       <wsdl:message name="Status">
+               <wsdl:part name="parameters" element="wsba:Status" />
+       </wsdl:message>
+       <!-- BusinessAgreement Service -->
+       <wsdl:portType
+               
name="BusinessAgreementWithParticipantCompletionCoordinatorPortType">
+               <wsdl:operation name="CompletedOperation">
+                       <wsdl:input message="wsba:Completed" />
+               </wsdl:operation>
+               <wsdl:operation name="FailOperation">
+                       <wsdl:input message="wsba:Fail" />
+               </wsdl:operation>
+               <wsdl:operation name="CompensatedOperation">
+                       <wsdl:input message="wsba:Compensated" />
+               </wsdl:operation>
+               <wsdl:operation name="ClosedOperation">
+                       <wsdl:input message="wsba:Closed" />
+               </wsdl:operation>
+               <wsdl:operation name="CanceledOperation">
+                       <wsdl:input message="wsba:Canceled" />
+               </wsdl:operation>
+               <wsdl:operation name="ExitOperation">
+                       <wsdl:input message="wsba:Exit" />
+               </wsdl:operation>
+               <wsdl:operation name="CannotComplete">
+                       <wsdl:input message="wsba:CannotComplete" />
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <wsdl:input message="wsba:GetStatus" />
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <wsdl:input message="wsba:Status" />
+               </wsdl:operation>
+       </wsdl:portType>
+       <wsdl:portType
+               
name="BusinessAgreementWithParticipantCompletionParticipantPortType">
+               <wsdl:operation name="CloseOperation">
+                       <wsdl:input message="wsba:Close" />
+               </wsdl:operation>
+               <wsdl:operation name="CancelOperation">
+                       <wsdl:input message="wsba:Cancel" />
+               </wsdl:operation>
+               <wsdl:operation name="CompensateOperation">
+                       <wsdl:input message="wsba:Compensate" />
+               </wsdl:operation>
+               <wsdl:operation name="FailedOperation">
+                       <wsdl:input message="wsba:Failed" />
+               </wsdl:operation>
+               <wsdl:operation name="ExitedOperation">
+                       <wsdl:input message="wsba:Exited" />
+               </wsdl:operation>
+               <wsdl:operation name="NotCompleted">
+                       <wsdl:input message="wsba:NotCompleted" />
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <wsdl:input message="wsba:GetStatus" />
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <wsdl:input message="wsba:Status" />
+               </wsdl:operation>
+       </wsdl:portType>
+       <!-- BusinessAgreementWithComplete Service -->
+       <wsdl:portType
+               
name="BusinessAgreementWithCoordinatorCompletionCoordinatorPortType">
+               <wsdl:operation name="CompletedOperation">
+                       <wsdl:input message="wsba:Completed" />
+               </wsdl:operation>
+               <wsdl:operation name="FailOperation">
+                       <wsdl:input message="wsba:Fail" />
+               </wsdl:operation>
+               <wsdl:operation name="CompensatedOperation">
+                       <wsdl:input message="wsba:Compensated" />
+               </wsdl:operation>
+               <wsdl:operation name="ClosedOperation">
+                       <wsdl:input message="wsba:Closed" />
+               </wsdl:operation>
+               <wsdl:operation name="CanceledOperation">
+                       <wsdl:input message="wsba:Canceled" />
+               </wsdl:operation>
+               <wsdl:operation name="ExitOperation">
+                       <wsdl:input message="wsba:Exit" />
+               </wsdl:operation>
+               <wsdl:operation name="CannotComplete">
+                       <wsdl:input message="wsba:CannotComplete" />
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <wsdl:input message="wsba:GetStatus" />
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <wsdl:input message="wsba:Status" />
+               </wsdl:operation>
+       </wsdl:portType>
+       <wsdl:portType
+               
name="BusinessAgreementWithCoordinatorCompletionParticipantPortType">
+               <wsdl:operation name="CompleteOperation">
+                       <wsdl:input message="wsba:Complete" />
+               </wsdl:operation>
+               <wsdl:operation name="CloseOperation">
+                       <wsdl:input message="wsba:Close" />
+               </wsdl:operation>
+               <wsdl:operation name="CancelOperation">
+                       <wsdl:input message="wsba:Cancel" />
+               </wsdl:operation>
+               <wsdl:operation name="CompensateOperation">
+                       <wsdl:input message="wsba:Compensate" />
+               </wsdl:operation>
+               <wsdl:operation name="FailedOperation">
+                       <wsdl:input message="wsba:Failed" />
+               </wsdl:operation>
+               <wsdl:operation name="ExitedOperation">
+                       <wsdl:input message="wsba:Exited" />
+               </wsdl:operation>
+               <wsdl:operation name="NotCompleted">
+                       <wsdl:input message="wsba:NotCompleted" />
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <wsdl:input message="wsba:GetStatus" />
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <wsdl:input message="wsba:Status" />
+               </wsdl:operation>
+       </wsdl:portType>
+       <wsdl:binding
+               
name="BusinessAgreementWithCoordinatorCompletionCoordinatorBinding"
+               
type="wsba:BusinessAgreementWithCoordinatorCompletionCoordinatorPortType">
+               <soap:binding style="document"
+                       transport="http://schemas.xmlsoap.org/soap/http"; />
+               <wsdl:operation name="CompletedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CompletedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="FailOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/FailOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CompensatedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CompensatedOperation"; 
/>
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="ClosedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/ClosedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CanceledOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CanceledOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="ExitOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/ExitOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CannotComplete">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CannotComplete"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/StatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+       </wsdl:binding>
+       <wsdl:binding
+               
name="BusinessAgreementWithParticipantCompletionCoordinatorBinding"
+               
type="wsba:BusinessAgreementWithParticipantCompletionCoordinatorPortType">
+               <soap:binding style="document"
+                       transport="http://schemas.xmlsoap.org/soap/http"; />
+               <wsdl:operation name="CompletedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CompletedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="FailOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/FailOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CompensatedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CompensatedOperation"; 
/>
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="ClosedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/ClosedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CanceledOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CanceledOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="ExitOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/ExitOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CannotComplete">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CannotComplete"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/StatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+       </wsdl:binding>
+       <wsdl:binding
+               
name="BusinessAgreementWithParticipantCompletionParticipantBinding"
+               
type="wsba:BusinessAgreementWithParticipantCompletionParticipantPortType">
+               <soap:binding style="document"
+                       transport="http://schemas.xmlsoap.org/soap/http"; />
+               <wsdl:operation name="CloseOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CloseOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CancelOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CancelOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CompensateOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CompensateOperation"; 
/>
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="FailedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/FailedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="ExitedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/ExitedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="NotCompleted">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/NotCompleted"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/StatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+       </wsdl:binding>
+       <wsdl:binding
+               
name="BusinessAgreementWithCoordinatorCompletionParticipantBinding"
+               
type="wsba:BusinessAgreementWithCoordinatorCompletionParticipantPortType">
+               <soap:binding style="document"
+                       transport="http://schemas.xmlsoap.org/soap/http"; />
+               <wsdl:operation name="CompleteOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CompleteOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CloseOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CloseOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CancelOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CancelOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="CompensateOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/CompensateOperation"; 
/>
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="FailedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/FailedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="ExitedOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/ExitedOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="NotCompleted">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/NotCompleted"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="GetStatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/GetStatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+               <wsdl:operation name="StatusOperation">
+                       <soap:operation
+                               
soapAction="http://docs.oasis-open.org/ws-tx/wsba/2006/06/StatusOperation"; />
+                       <wsdl:input>
+                               <soap:body use="literal" parts=" parameters" />
+                       </wsdl:input>
+               </wsdl:operation>
+       </wsdl:binding>
+
+       <wsdl:service name="BAParticipantCompletionParticipantService">
+               <wsdl:port name="BAParticipantCompletionParticipant"
+                       
binding="wsba:BusinessAgreementWithParticipantCompletionParticipantBinding">
+                       <soap:address location="http://www.example.org/"; />
+               </wsdl:port>
+       </wsdl:service>
+       <wsdl:service name="BACoordinatorCompletionCoordinatorService">
+               <wsdl:port name="BACoordinatorCompletionCoordinator"
+                       
binding="wsba:BusinessAgreementWithCoordinatorCompletionCoordinatorBinding">
+                       <soap:address location="http://www.example.org/"; />
+               </wsdl:port>
+       </wsdl:service>
+       <wsdl:service name="BACoordinatorCompletionParticipantService">
+               <wsdl:port name="BACoordinatorCompletionParticipant"
+                       
binding="wsba:BusinessAgreementWithCoordinatorCompletionParticipantBinding">
+                       <soap:address location="http://www.example.org/"; />
+               </wsdl:port>
+       </wsdl:service>
+       <wsdl:service name="BAParticipantCompletionCoordinatorService">
+               <wsdl:port name="BAParticipantCompletionCoordinator"
+                       
binding="wsba:BusinessAgreementWithParticipantCompletionCoordinatorBinding">
+                       <soap:address location="http://www.example.org/"; />     
        </wsdl:port>    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Added: webservices/kandula/trunk/java/schema/wsba.xsd
URL: 
http://svn.apache.org/viewvc/webservices/kandula/trunk/java/schema/wsba.xsd?view=auto&rev=489883
==============================================================================
--- webservices/kandula/trunk/java/schema/wsba.xsd (added)
+++ webservices/kandula/trunk/java/schema/wsba.xsd Sat Dec 23 03:42:08 2006
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright OASIS Open 2006. All Rights Reserved. -->
+<xsd:schema targetNamespace="http://docs.oasis-open.org/ws-tx/wsba/2006/06"; 
xmlns:wsba="http://docs.oasis-open.org/ws-tx/wsba/2006/06"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified" 
attributeFormDefault="unqualified" version="1.0">
+       <xsd:complexType name="NotificationType">
+               <xsd:sequence>
+                       <xsd:any namespace="##other" processContents="lax" 
minOccurs="0" maxOccurs="unbounded"/>
+               </xsd:sequence>
+               <xsd:anyAttribute namespace="##other" processContents="lax"/>
+       </xsd:complexType>
+       <xsd:complexType name="ExceptionType">
+               <xsd:sequence>
+                       <xsd:element name="ExceptionIdentifier" 
type="xsd:QName"/>
+                       <xsd:any namespace="##other" processContents="lax" 
minOccurs="0" maxOccurs="unbounded"/>
+               </xsd:sequence>
+               <xsd:anyAttribute namespace="##other" processContents="lax"/>
+       </xsd:complexType>
+       <!-- Coordinator accepts -->
+       <xsd:element name="Canceled" type="wsba:NotificationType"/>
+       <xsd:element name="Closed" type="wsba:NotificationType"/>
+       <xsd:element name="Compensated" type="wsba:NotificationType"/>
+       <xsd:element name="Completed" type="wsba:NotificationType"/>
+       <xsd:element name="Exit" type="wsba:NotificationType"/>
+      <xsd:element name="CannotComplete" type="wsba:NotificationType"/>
+       <xsd:element name="Fail" type="wsba:ExceptionType"/>
+       <!-- Participant accepts -->
+       <xsd:element name="Cancel" type="wsba:NotificationType"/>
+       <xsd:element name="Close" type="wsba:NotificationType"/>
+       <xsd:element name="Compensate" type="wsba:NotificationType"/>
+       <xsd:element name="Complete" type="wsba:NotificationType"/>
+       <xsd:element name="Failed" type="wsba:NotificationType"/>
+      <xsd:element name="NotCompleted" type="wsba:NotificationType"/>
+       <xsd:element name="Exited" type="wsba:NotificationType"/>
+       <!-- Both accept -->
+       <xsd:element name="GetStatus" type="wsba:NotificationType"/>
+       <xsd:complexType name="StatusType">
+               <xsd:sequence>
+                       <xsd:element name="State" type="wsba:StateType"/>
+                       <xsd:any namespace="##other" processContents="lax" 
minOccurs="0" maxOccurs="unbounded"/>
+               </xsd:sequence>
+               <xsd:anyAttribute namespace="##other" processContents="lax"/>
+       </xsd:complexType>
+       <xsd:element name="Status" type="wsba:StatusType"/>
+       <xsd:simpleType name="StateType">
+               <xsd:restriction base="xsd:QName">
+                       <xsd:enumeration value="wsba:Active"/>
+                       <xsd:enumeration value="wsba:Canceling"/>
+                       <xsd:enumeration value="wsba:Canceling-Active"/>
+                       <xsd:enumeration value="wsba:Canceling-Completing"/>
+                       <xsd:enumeration value="wsba:Completing"/>
+                       <xsd:enumeration value="wsba:Completed"/>
+                       <xsd:enumeration value="wsba:Closing"/>
+                       <xsd:enumeration value="wsba:Compensating"/>
+                       <xsd:enumeration value="wsba:Failing-Active"/>
+                  <xsd:enumeration value="wsba:Failing-Canceling"/>
+                  <xsd:enumeration value="wsba:Failing-Completing"/>
+                       <xsd:enumeration value="wsba:Failing-Compensating"/>
+                  <xsd:enumeration value="wsba:Exiting"/>
+                  <xsd:enumeration value="wsba:NotCompleting"/>
+                       <xsd:enumeration value="wsba:Ended"/>
+               </xsd:restriction>
+       </xsd:simpleType>
+
+    <!-- Policy assertions -->
+    <xsd:element name="BAAtomicOutcomeAssertion">
+               <xsd:complexType>
+                       <xsd:sequence>
+                   <xsd:any namespace="##other" processContents="lax" 
minOccurs="0" maxOccurs="unbounded"/>
+               </xsd:sequence>
+               <xsd:anyAttribute namespace="##other" processContents="lax"/>
+               </xsd:complexType>
+    </xsd:element>
+    <xsd:element name="BAMixedOutcomeAssertion">
+               <xsd:complexType>
+                       <xsd:sequence>
+                   <xsd:any namespace="##other" processContents="lax" 
minOccurs="0" maxOccurs="unbounded"/>
+               </xsd:sequence>
+               <xsd:anyAttribute namespace="##other" processContents="lax"/>
+               </xsd:complexType>
+    </xsd:element>
+
+</xsd:schema>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to