You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yoko-commits@incubator.apache.org by dm...@apache.org on 2007/05/15 18:01:28 UTC

svn commit: r538268 - in /incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing: BankWS-corba.idl BankWS-corba.wsdl README.txt src/yoko/client/Client.java src/yoko/server/AccountImpl.java ws-addr.xsd

Author: dmiddlem
Date: Tue May 15 11:01:26 2007
New Revision: 538268

URL: http://svn.apache.org/viewvc?view=rev&rev=538268
Log:
Updates to bank_ws_addressing demo.  This resolves some issues that occurred due to changes in
external dependencies.

Added:
    incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.idl   (with props)
    incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl   (with props)
    incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd   (with props)
Modified:
    incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/README.txt
    incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/client/Client.java
    incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/server/AccountImpl.java

Added: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.idl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.idl?view=auto&rev=538268
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.idl (added)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.idl Tue May 15 11:01:26 2007
@@ -0,0 +1,34 @@
+interface Account {
+    float
+    get_balance();
+    void
+    deposit(
+        in float addition
+    );
+};
+interface Bank {
+    Account
+    create_account(
+        in string account_name
+    );
+    Object
+    create_epr_account(
+        in string account_name
+    );
+    Account
+    get_account(
+        in string account_name
+    );
+    Object
+    get_epr_account(
+        in string account_name
+    );
+    Object
+    get_account_epr_with_no_use_attribute(
+        in string account_name
+    );
+    void
+    find_account(
+        inout any account_details
+    );
+};

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.idl
------------------------------------------------------------------------------
    svn:executable = *

Added: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl?view=auto&rev=538268
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl (added)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl Tue May 15 11:01:26 2007
@@ -0,0 +1,206 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions targetNamespace="http://schemas.apache.org/yoko/idl/Bank" xmlns:tns="http://schemas.apache.org/yoko/idl/Bank" xmlns:corbatm="http://schemas.apache.org/yoko/idl/Bank/corba/typemap" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba" xmlns:ns1="http://schemas.apache.org/yoko/idl/Bank/corba/typemap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns="http://schemas.xmlsoap.org/wsdl/">
+  <corba:typeMapping xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://schemas.apache.org/yoko/idl/Bank/corba/typemap/">
+    <corba:object xmlns:wsa="http://www.w3.org/2005/08/addressing" repositoryID="IDL:omg.org/CORBA/Object/1.0" type="wsa:EndpointReferenceType" name="CORBA.Object" />
+    <corba:object xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:ns4="http://schemas.apache.org/yoko/idl/Bank" binding="ns4:AccountCORBABinding" repositoryID="IDL:Account:1.0" type="wsa:EndpointReferenceType" name="Account" />
+  </corba:typeMapping>
+  <types>
+    <schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://schemas.apache.org/yoko/idl/Bank" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+      <import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="ws-addr.xsd"/>
+      <element name="AccountRef" type="wsa:EndpointReferenceType">
+        <annotation>
+          <appinfo>corba:binding=AccountCORBABinding</appinfo>
+        </annotation>
+      </element>
+    </schema>
+  </types>
+  <message name="get_account">
+    <part name="account_name" type="xsd:string">
+    </part>
+  </message>
+  <message name="get_balance">
+  </message>
+  <message name="get_balanceResponse">
+    <part name="balance" type="xsd:float">
+    </part>
+  </message>
+  <message name="get_epr_accountResponse">
+    <part name="return" type="wsa:EndpointReferenceType">
+    </part>
+  </message>
+  <message name="get_accountResponse">
+    <part name="return" element="tns:AccountRef">
+    </part>
+  </message>
+  <message name="find_accountResponse">
+    <part name="account_details" type="xsd:anyType">
+    </part>
+  </message>
+  <message name="find_account">
+    <part name="account_details" type="xsd:anyType">
+    </part>
+  </message>
+  <message name="create_epr_accountResponse">
+    <part name="return" type="wsa:EndpointReferenceType">
+    </part>
+  </message>
+  <message name="depositResponse">
+  </message>
+  <message name="create_account">
+    <part name="account_name" type="xsd:string">
+    </part>
+  </message>
+  <message name="create_accountResponse">
+    <part name="return" element="tns:AccountRef">
+    </part>
+  </message>
+  <message name="deposit">
+    <part name="addition" type="xsd:float">
+    </part>
+  </message>
+  <portType name="Account">
+    <operation name="get_balance">
+      <input name="get_balance" message="tns:get_balance">
+    </input>
+      <output name="get_balanceResponse" message="tns:get_balanceResponse">
+    </output>
+    </operation>
+    <operation name="deposit">
+      <input name="deposit" message="tns:deposit">
+    </input>
+      <output name="depositResponse" message="tns:depositResponse">
+    </output>
+    </operation>
+  </portType>
+  <portType name="Bank">
+    <operation name="create_account">
+      <input name="create_account" message="tns:create_account">
+    </input>
+      <output name="create_accountResponse" message="tns:create_accountResponse">
+    </output>
+    </operation>
+    <operation name="create_epr_account">
+      <input name="create_epr_account" message="tns:create_account">
+    </input>
+      <output name="create_epr_accountResponse" message="tns:create_epr_accountResponse">
+    </output>
+    </operation>
+    <operation name="get_account">
+      <input name="get_account" message="tns:get_account">
+    </input>
+      <output name="get_accountResponse" message="tns:get_accountResponse">
+    </output>
+    </operation>
+    <operation name="get_epr_account">
+      <input name="get_epr_account" message="tns:get_account">
+    </input>
+      <output name="get_epr_accountResponse" message="tns:get_epr_accountResponse">
+    </output>
+    </operation>
+    <operation name="get_account_epr_with_no_use_attribute">
+      <input name="get_epr_account" message="tns:get_account">
+    </input>
+      <output name="get_epr_accountResponse" message="tns:get_epr_accountResponse">
+    </output>
+    </operation>
+    <operation name="find_account">
+      <input name="find_account" message="tns:find_account">
+    </input>
+      <output name="find_accountResponse" message="tns:find_accountResponse">
+    </output>
+    </operation>
+  </portType>
+  <binding name="BankCORBABinding" type="tns:Bank">
+    <corba:binding xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" repositoryID="IDL:Bank:1.0" />
+    <operation name="create_account">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="create_account">
+        <corba:param mode="in" name="account_name" idltype="corba:string" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/yoko/idl/Bank/corba/typemap/" name="return" idltype="ns1:Account" />
+      </corba:operation>
+      <input name="create_account">
+      </input>
+      <output name="create_accountResponse">
+      </output>
+    </operation>
+    <operation name="create_epr_account">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="create_epr_account">
+        <corba:param mode="in" name="account_name" idltype="corba:string" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/yoko/idl/Bank/corba/typemap/" name="return" idltype="ns1:CORBA.Object" />
+      </corba:operation>
+      <input name="create_epr_account">
+      </input>
+      <output name="create_epr_accountResponse">
+      </output>
+    </operation>
+    <operation name="get_account">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="get_account">
+        <corba:param mode="in" name="account_name" idltype="corba:string" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/yoko/idl/Bank/corba/typemap/" name="return" idltype="ns1:Account" />
+      </corba:operation>
+      <input name="get_account">
+      </input>
+      <output name="get_accountResponse">
+      </output>
+    </operation>
+    <operation name="get_epr_account">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="get_epr_account">
+        <corba:param mode="in" name="account_name" idltype="corba:string" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/yoko/idl/Bank/corba/typemap/" name="return" idltype="ns1:CORBA.Object" />
+      </corba:operation>
+      <input name="get_epr_account">
+      </input>
+      <output name="get_epr_accountResponse">
+      </output>
+    </operation>
+    <operation name="get_account_epr_with_no_use_attribute">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="get_account_epr_with_no_use_attribute">
+        <corba:param mode="in" name="account_name" idltype="corba:string" />
+        <corba:return xmlns:ns1="http://schemas.apache.org/yoko/idl/Bank/corba/typemap/" name="return" idltype="ns1:CORBA.Object" />
+      </corba:operation>
+      <input name="get_epr_account">
+      </input>
+      <output name="get_epr_accountResponse">
+      </output>
+    </operation>
+    <operation name="find_account">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="find_account">
+        <corba:param mode="inout" name="account_details" idltype="corba:any" />
+      </corba:operation>
+      <input name="find_account">
+      </input>
+      <output name="find_accountResponse">
+      </output>
+    </operation>
+  </binding>
+  <binding name="AccountCORBABinding" type="tns:Account">
+    <corba:binding xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" repositoryID="IDL:Account:1.0" />
+    <operation name="get_balance">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="get_balance">
+        <corba:return name="balance" idltype="corba:float" />
+      </corba:operation>
+      <input name="get_balance">
+      </input>
+      <output name="get_balanceResponse">
+      </output>
+    </operation>
+    <operation name="deposit">
+      <corba:operation xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" name="deposit">
+        <corba:param mode="in" name="addition" idltype="corba:float" />
+      </corba:operation>
+      <input name="deposit">
+      </input>
+      <output name="depositResponse">
+      </output>
+    </operation>
+  </binding>
+  <service name="BankCORBAService">
+    <port name="BankCORBAPort" binding="tns:BankCORBABinding">
+      <corba:address xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" location="corbaloc::localhost:40000/Bank" />
+    </port>
+  </service>
+  <service name="AccountCORBAService">
+    <port name="AccountCORBAPort" binding="tns:AccountCORBABinding">
+      <corba:address xmlns:ns3="http://schemas.xmlsoap.org/wsdl/" location="corbaloc::localhost:60000/Account" />
+    </port>
+  </service>
+</definitions>

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/BankWS-corba.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/README.txt
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/README.txt?view=diff&rev=538268&r1=538267&r2=538268
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/README.txt (original)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/README.txt Tue May 15 11:01:26 2007
@@ -57,29 +57,7 @@
 
 1. Open a command prompt and move into the directory <YOKO_HOME>/samples/ws/bank_ws_addressing
 
-2. Enter the following command (UNIX or Windows):
-
-     ant generate.corba.wsdl
-
-   This command adds a CORBA binding to the samples/ws/resources/BankWS.wsdl file,
-   generating an output file, samples/ws/resources/BankWS-corba.wsdl.
-
-3. Open the BankWS-corba.wsdl file using your favorite text editor and change the
-   corba address location in the BankCORBAService definition:
-  
-   <wsdl:service name="BankCORBAService">
-     <wsdl:port name="BankCORBAPort" binding="tns:BankCORBABinding">
-        <corba:address location="corbaloc::localhost:40000/Bank" />
-     </wsdl:port>
-   </wsdl:service>
-
-   The address specified here, localhost:40000, assumes that the client and server
-   both run on the same host. If you change this address, you should make sure it is
-   consistent with the address coded in the
-   bank_ws_addressing/src/yoko/server/Server.java, bank_ws_addressing/src/corba/server/Server.java 
-   and bank_ws_addressing/src/corba/client/Client.java files.
-
-4. From the samples/ws/bank_ws_addressing directory, enter the following command (UNIX or Windows):
+2. From the samples/ws/bank_ws_addressing directory, enter the following command (UNIX or Windows):
 
      ant build
 

Modified: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/client/Client.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/client/Client.java?view=diff&rev=538268&r1=538267&r2=538268
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/client/Client.java (original)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/client/Client.java Tue May 15 11:01:26 2007
@@ -59,6 +59,13 @@
         Account account1 = getAccountFromEPR(epr1);
         System.out.println("Depositing 100.00 into account \'Account1\"");
         account1.deposit(100.00f);
+
+        // NOTE: This is a work around for an issue in CXF.  This should only need to be set once
+        // (in the getAccountFromEPR) and its value should hold for all invocations.  Right now,
+        // it doesn't.  For now, this needs to be done before invocations on port instances.
+        Map<String, Object> requestContext = ((BindingProvider)account1).getRequestContext();
+        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr1.getAddress().getValue());
+
         System.out.println("Current balance of account \"Account1\" is " + account1.getBalance());
         System.out.println();
 
@@ -68,6 +75,11 @@
         Account account2 = getAccountFromEPR(epr2);
         System.out.println("Depositing 5.00 into account \'Account2\"");
         account2.deposit(5.00f);
+        
+        // WORKAROUND
+        requestContext = ((BindingProvider)account2).getRequestContext();
+        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr2.getAddress().getValue());
+
         System.out.println("Current balance of account \"Account2\" is " + account2.getBalance());
         System.out.println();
 
@@ -83,7 +95,17 @@
         Account account3 = getAccountFromEPR(epr3);
         System.out.println("Current balance for \"Account3\" is " + account3.getBalance());
         System.out.println("Depositing 10.00 into account \"Account3\"");
+
+        // WORKAROUND
+        requestContext = ((BindingProvider)account3).getRequestContext();
+        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr3.getAddress().getValue());
+
         account3.deposit(10.00f);
+
+        // WORKAROUND
+        requestContext = ((BindingProvider)account3).getRequestContext();
+        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr3.getAddress().getValue());
+
         System.out.println("New balance for account \"Account3\" is " + account3.getBalance());
         System.out.println();
 
@@ -93,7 +115,17 @@
         Account account4 = getAccountFromEPR(epr4);
         System.out.println("Current balance for account \"Account4\" is " + account4.getBalance());
         System.out.println("Withdrawing 150.00 into account \"Account4\"");
+
+        // WORKAROUND
+        requestContext = ((BindingProvider)account4).getRequestContext();
+        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr4.getAddress().getValue());
+        
         account4.deposit(-150.00f);
+        
+        // WORKAROUND
+        requestContext = ((BindingProvider)account4).getRequestContext();
+        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr4.getAddress().getValue());
+
         System.out.println("New balance for account \"Account4\" is " + account4.getBalance());
         System.out.println();
         
@@ -144,7 +176,7 @@
         // TODO: Revisit.  Is this the correct way to handle EPRs for 
         //       port objects?
         Map<String, Object> requestContext = ((BindingProvider)account).getRequestContext();
-        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr);
+        requestContext.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, epr.getAddress().getValue());
 
         return account;
     }

Modified: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/server/AccountImpl.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/server/AccountImpl.java?view=diff&rev=538268&r1=538267&r2=538268
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/server/AccountImpl.java (original)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/src/yoko/server/AccountImpl.java Tue May 15 11:01:26 2007
@@ -32,7 +32,7 @@
     public float getBalance() {
         System.out.println("[Account] Called AccountImpl.getBalance()...");
         System.out.println();
-        
+
         return balance;
     }
 

Added: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd?view=auto&rev=538268
==============================================================================
--- incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd (added)
+++ incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd Tue May 15 11:01:26 2007
@@ -0,0 +1,145 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2005/08/addressing" targetNamespace="http://www.w3.org/2005/08/addressing" blockDefault="#all" elementFormDefault="qualified" finalDefault="" attributeFormDefault="unqualified">
+	
+	<!-- Constructs from the WS-Addressing Core -->
+
+	<xs:element name="EndpointReference" type="tns:EndpointReferenceType"/>
+	<xs:complexType name="EndpointReferenceType" mixed="false">
+		<xs:sequence>
+			<xs:element name="Address" type="tns:AttributedURIType"/>
+			<xs:element name="ReferenceParameters" type="tns:ReferenceParametersType" minOccurs="0"/>
+			<xs:element ref="tns:Metadata" minOccurs="0"/>
+			<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:complexType name="ReferenceParametersType" mixed="false">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:element name="Metadata" type="tns:MetadataType"/>
+	<xs:complexType name="MetadataType" mixed="false">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:element name="MessageID" type="tns:AttributedURIType"/>
+	<xs:element name="RelatesTo" type="tns:RelatesToType"/>
+	<xs:complexType name="RelatesToType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:attribute name="RelationshipType" type="tns:RelationshipTypeOpenEnum" use="optional" default="http://www.w3.org/2005/08/addressing/reply"/>
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<xs:simpleType name="RelationshipTypeOpenEnum">
+		<xs:union memberTypes="tns:RelationshipType xs:anyURI"/>
+	</xs:simpleType>
+	
+	<xs:simpleType name="RelationshipType">
+		<xs:restriction base="xs:anyURI">
+			<xs:enumeration value="http://www.w3.org/2005/08/addressing/reply"/>
+		</xs:restriction>
+	</xs:simpleType>
+	
+	<xs:element name="ReplyTo" type="tns:EndpointReferenceType"/>
+	<xs:element name="From" type="tns:EndpointReferenceType"/>
+	<xs:element name="FaultTo" type="tns:EndpointReferenceType"/>
+	<xs:element name="To" type="tns:AttributedURIType"/>
+	<xs:element name="Action" type="tns:AttributedURIType"/>
+
+	<xs:complexType name="AttributedURIType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:anyURI">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<!-- Constructs from the WS-Addressing SOAP binding -->
+
+	<xs:attribute name="IsReferenceParameter" type="xs:boolean"/>
+	
+	<xs:simpleType name="FaultCodesOpenEnumType">
+		<xs:union memberTypes="tns:FaultCodesType xs:QName"/>
+	</xs:simpleType>
+	
+	<xs:simpleType name="FaultCodesType">
+		<xs:restriction base="xs:QName">
+			<xs:enumeration value="tns:InvalidAddressingHeader"/>
+			<xs:enumeration value="tns:InvalidAddress"/>
+			<xs:enumeration value="tns:InvalidEPR"/>
+			<xs:enumeration value="tns:InvalidCardinality"/>
+			<xs:enumeration value="tns:MissingAddressInEPR"/>
+			<xs:enumeration value="tns:DuplicateMessageID"/>
+			<xs:enumeration value="tns:ActionMismatch"/>
+			<xs:enumeration value="tns:MessageAddressingHeaderRequired"/>
+			<xs:enumeration value="tns:DestinationUnreachable"/>
+			<xs:enumeration value="tns:ActionNotSupported"/>
+			<xs:enumeration value="tns:EndpointUnavailable"/>
+		</xs:restriction>
+	</xs:simpleType>
+	
+	<xs:element name="RetryAfter" type="tns:AttributedUnsignedLongType"/>
+	<xs:complexType name="AttributedUnsignedLongType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:unsignedLong">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<xs:element name="ProblemHeaderQName" type="tns:AttributedQNameType"/>
+	<xs:complexType name="AttributedQNameType" mixed="false">
+		<xs:simpleContent>
+			<xs:extension base="xs:QName">
+				<xs:anyAttribute namespace="##other" processContents="lax"/>
+			</xs:extension>
+		</xs:simpleContent>
+	</xs:complexType>
+	
+	<xs:element name="ProblemHeader" type="tns:AttributedAnyType"/>
+	<xs:complexType name="AttributedAnyType" mixed="false">
+		<xs:sequence>
+			<xs:any namespace="##any" processContents="lax" minOccurs="1" maxOccurs="1"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+	<xs:element name="ProblemIRI" type="tns:AttributedURIType"/>
+	
+	<xs:element name="ProblemAction" type="tns:ProblemActionType"/>
+	<xs:complexType name="ProblemActionType" mixed="false">
+		<xs:sequence>
+			<xs:element ref="tns:Action" minOccurs="0"/>
+			<xs:element name="SoapAction" minOccurs="0" type="xs:anyURI"/>
+		</xs:sequence>
+		<xs:anyAttribute namespace="##other" processContents="lax"/>
+	</xs:complexType>
+	
+</xs:schema>

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd
------------------------------------------------------------------------------
    svn:executable = *

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/trunk/distribution/src/main/samples/ws/bank_ws_addressing/ws-addr.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml