incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dmidd...@apache.org
Subject svn commit: r514845 - in /incubator/yoko/trunk/bindings/src/test: java/org/apache/yoko/bindings/corba/CorbaObjectReaderTest.java resources/references/ resources/references/account.ref resources/references/bank.ref resources/wsdl/Bank.wsdl
Date Mon, 05 Mar 2007 20:06:00 GMT
Author: dmiddlem
Date: Mon Mar  5 12:05:59 2007
New Revision: 514845

URL: http://svn.apache.org/viewvc?view=rev&rev=514845
Log:
Committing files missing from commit revision 514833 (YOKO-270)

Added:
    incubator/yoko/trunk/bindings/src/test/resources/references/
    incubator/yoko/trunk/bindings/src/test/resources/references/account.ref
    incubator/yoko/trunk/bindings/src/test/resources/references/bank.ref
    incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl   (with props)
Modified:
    incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReaderTest.java

Modified: incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReaderTest.java
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReaderTest.java?view=diff&rev=514845&r1=514844&r2=514845
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReaderTest.java
(original)
+++ incubator/yoko/trunk/bindings/src/test/java/org/apache/yoko/bindings/corba/CorbaObjectReaderTest.java
Mon Mar  5 12:05:59 2007
@@ -514,7 +514,6 @@
         OutputStream oStream = new OutputStream(buf);
         
         URL refUrl = getClass().getResource("/references/account.ref");
-        System.out.println("DEBUG > Path = " + refUrl.getPath());
         org.omg.CORBA.Object objRef = orb.string_to_object("file://" + refUrl.getPath());
         assertNotNull(objRef);
         oStream.write_Object(objRef);

Added: incubator/yoko/trunk/bindings/src/test/resources/references/account.ref
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/resources/references/account.ref?view=auto&rev=514845
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/resources/references/account.ref (added)
+++ incubator/yoko/trunk/bindings/src/test/resources/references/account.ref Mon Mar  5 12:05:59
2007
@@ -0,0 +1 @@
+IOR:000000000000001049444c3a4163636f756e743a312e3000000000010000000000000070000102000000000f6875676f2e6f6f632e6e662e63610000e622000000000025abacab3131313731343730353835005f526f6f74504f410000cafebabe45d338f90000000000000000000001000000010000001c00000000000100010000000200010020050100010001010900000000

Added: incubator/yoko/trunk/bindings/src/test/resources/references/bank.ref
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/resources/references/bank.ref?view=auto&rev=514845
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/resources/references/bank.ref (added)
+++ incubator/yoko/trunk/bindings/src/test/resources/references/bank.ref Mon Mar  5 12:05:59
2007
@@ -0,0 +1 @@
+IOR:000000000000000d49444c3a42616e6b3a312e3000000000000000010000000000000070000102000000000f6875676f2e6f6f632e6e662e63610000e61f000000000025abacab3131313731343730353738005f526f6f74504f410000cafebabe45d338f20000000000000000000001000000010000001c00000000000100010000000200010020050100010001010900000000

Added: incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl
URL: http://svn.apache.org/viewvc/incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl?view=auto&rev=514845
==============================================================================
--- incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl (added)
+++ incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl Mon Mar  5 12:05:59 2007
@@ -0,0 +1,338 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://schemas.apache.org/yoko/idl/Bank" xmlns:tns="http://schemas.apache.org/yoko/idl/Bank"
xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:corba="http://schemas.apache.org/yoko/bindings/corba"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+  
+    
+    
+  
+<corba:typeMapping targetNamespace="http://schemas.apache.org/yoko/idl/Bank/typemap"><corba:object
xmlns:ns5="http://www.w3.org/2005/08/addressing" xmlns:ns6="http://schemas.apache.org/yoko/idl/Bank"
binding="ns6:AccountCORBABinding" repositoryID="IDL:Account:1.0" name="Account" type="ns5:EndpointReferenceType"/><corba:object
xmlns:ns5="http://www.w3.org/2005/08/addressing" binding="" repositoryID="IDL:omg.org/CORBA/Object/1.0"
name="CORBA.Object" type="ns5:EndpointReferenceType" /></corba:typeMapping>  <wsdl:types>
+    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://schemas.apache.org/yoko/idl/Bank"
xmlns="http://schemas.apache.org/yoko/idl/Bank" xmlns:wsa="http://www.w3.org/2005/08/addressing"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+      <xs:import namespace="http://www.w3.org/2005/08/addressing" schemaLocation="/schemas/wsdl/ws-addr.xsd">
+      </xs:import>
+      <xs:element name="_get_name">
+        <xs:complexType>
+          <xs:sequence>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="_get_nameResult">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="return" type="xs:string">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="_set_name">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="_arg" type="xs:string">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="_set_nameResult">
+        <xs:complexType>
+          <xs:sequence>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="_get_id">
+        <xs:complexType>
+          <xs:sequence>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="_get_idResult">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="return" type="xs:string">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="_set_id">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="_arg" type="xs:string">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="_set_idResult">
+        <xs:complexType>
+          <xs:sequence>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="addAccount">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element ref="AccountRef">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="addAccountResponse">
+        <xs:complexType>
+          <xs:sequence>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="AccountRef" type="wsa:EndpointReferenceType">
+        <xs:annotation>
+          <xs:appinfo>
+          </xs:appinfo>
+        </xs:annotation>
+      </xs:element>
+      <xs:element name="getAccountByName">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="name" type="xs:string">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="getAccountByNameResponse">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element ref="AccountRef">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="addObject">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="o" type="wsa:EndpointReferenceType">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="addObjectResponse">
+        <xs:complexType>
+          <xs:sequence>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="getObject">
+        <xs:complexType>
+          <xs:sequence>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+      <xs:element name="getObjectResponse">
+        <xs:complexType>
+          <xs:sequence>
+            <xs:element name="return" type="wsa:EndpointReferenceType">
+            </xs:element>
+          </xs:sequence>
+        </xs:complexType>
+      </xs:element>
+    </xs:schema>
+  </wsdl:types>
+  <wsdl:message name="getObjectResponse">
+    <wsdl:part name="outparameter" element="tns:getObjectResponse">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_get_id">
+    <wsdl:part name="parameters" element="tns:_get_id">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_set_idResponse">
+    <wsdl:part name="parameters" element="tns:_set_idResult">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="getAccountByName">
+    <wsdl:part name="inparameter" element="tns:getAccountByName">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="addObject">
+    <wsdl:part name="inparameter" element="tns:addObject">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_get_name">
+    <wsdl:part name="parameters" element="tns:_get_name">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_set_name">
+    <wsdl:part name="parameters" element="tns:_set_name">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="getObject">
+    <wsdl:part name="inparameter" element="tns:getObject">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="addObjectResponse">
+    <wsdl:part name="outparameter" element="tns:addObjectResponse">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_set_nameResponse">
+    <wsdl:part name="parameters" element="tns:_set_nameResult">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_set_id">
+    <wsdl:part name="parameters" element="tns:_set_id">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="addAccountResponse">
+    <wsdl:part name="outparameter" element="tns:addAccountResponse">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="getAccountByNameResponse">
+    <wsdl:part name="outparameter" element="tns:getAccountByNameResponse">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_get_nameResponse">
+    <wsdl:part name="parameters" element="tns:_get_nameResult">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="_get_idResponse">
+    <wsdl:part name="parameters" element="tns:_get_idResult">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:message name="addAccount">
+    <wsdl:part name="inparameter" element="tns:addAccount">
+    </wsdl:part>
+  </wsdl:message>
+  <wsdl:portType name="Account">
+    <wsdl:operation name="_get_name">
+      <wsdl:input name="_get_name" message="tns:_get_name">
+    </wsdl:input>
+      <wsdl:output name="_get_nameResponse" message="tns:_get_nameResponse">
+    </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="_set_name">
+      <wsdl:input name="_set_name" message="tns:_set_name">
+    </wsdl:input>
+      <wsdl:output name="_set_nameResponse" message="tns:_set_nameResponse">
+    </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="_get_id">
+      <wsdl:input name="_get_id" message="tns:_get_id">
+    </wsdl:input>
+      <wsdl:output name="_get_idResponse" message="tns:_get_idResponse">
+    </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="_set_id">
+      <wsdl:input name="_set_id" message="tns:_set_id">
+    </wsdl:input>
+      <wsdl:output name="_set_idResponse" message="tns:_set_idResponse">
+    </wsdl:output>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:portType name="Bank">
+    <wsdl:operation name="addAccount">
+      <wsdl:input name="addAccountRequest" message="tns:addAccount">
+    </wsdl:input>
+      <wsdl:output name="addAccountResponse" message="tns:addAccountResponse">
+    </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getAccountByName">
+      <wsdl:input name="getAccountByNameRequest" message="tns:getAccountByName">
+    </wsdl:input>
+      <wsdl:output name="getAccountByNameResponse" message="tns:getAccountByNameResponse">
+    </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="addObject">
+      <wsdl:input name="addObjectRequest" message="tns:addObject">
+    </wsdl:input>
+      <wsdl:output name="addObjectResponse" message="tns:addObjectResponse">
+    </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getObject">
+      <wsdl:input name="getObjectRequest" message="tns:getObject">
+    </wsdl:input>
+      <wsdl:output name="getObjectResponse" message="tns:getObjectResponse">
+    </wsdl:output>
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="BankCORBABinding" type="tns:Bank">
+    
+<corba:binding repositoryID="IDL:Bank:1.0" />    <wsdl:operation name="addAccount">
+      
+        
+      
+<corba:operation name="addAccount"><corba:param xmlns="http://schemas.apache.org/yoko/idl/Bank/typemap"
mode="in" name="a" idltype="Account" /></corba:operation>      <wsdl:input name="addAccountRequest">
+      </wsdl:input>
+      <wsdl:output name="addAccountResponse">
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getAccountByName">
+      
+        
+        
+      
+<corba:operation name="getAccountByName"><corba:param mode="in" name="name" idltype="corba:string"
/><corba:return xmlns="http://schemas.apache.org/yoko/idl/Bank/typemap" name="return"
idltype="Account" /></corba:operation>      <wsdl:input name="getAccountByNameRequest">
+      </wsdl:input>
+      <wsdl:output name="getAccountByNameResponse">
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="addObject">
+      
+        
+      
+<corba:operation name="addObject"><corba:param xmlns="http://schemas.apache.org/yoko/idl/Bank/typemap"
mode="in" name="o" idltype="CORBA.Object" /></corba:operation>      <wsdl:input
name="addObjectRequest">
+      </wsdl:input>
+      <wsdl:output name="addObjectResponse">
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="getObject">
+      
+        
+      
+<corba:operation name="getObject"><corba:return xmlns="http://schemas.apache.org/yoko/idl/Bank/typemap"
name="return" idltype="CORBA.Object" /></corba:operation>      <wsdl:input name="getObjectRequest">
+      </wsdl:input>
+      <wsdl:output name="getObjectResponse">
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="AccountCORBABinding" type="tns:Account">
+    
+<corba:binding repositoryID="IDL:Account:1.0" />    <wsdl:operation name="_get_name">
+      
+        
+      
+<corba:operation name="_get_name"><corba:return name="return" idltype="corba:string"
/></corba:operation>      <wsdl:input name="_get_name">
+      </wsdl:input>
+      <wsdl:output name="_get_nameResponse">
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="_set_name">
+      
+        
+      
+<corba:operation name="_set_name"><corba:param mode="in" name="_arg" idltype="corba:string"
/></corba:operation>      <wsdl:input name="_set_name">
+      </wsdl:input>
+      <wsdl:output name="_set_nameResponse">
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="_get_id">
+      
+        
+      
+<corba:operation name="_get_id"><corba:return name="return" idltype="corba:string"
/></corba:operation>      <wsdl:input name="_get_id">
+      </wsdl:input>
+      <wsdl:output name="_get_idResponse">
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="_set_id">
+      
+        
+      
+<corba:operation name="_set_id"><corba:param mode="in" name="_arg" idltype="corba:string"
/></corba:operation>      <wsdl:input name="_set_id">
+      </wsdl:input>
+      <wsdl:output name="_set_idResponse">
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="BankCORBAService">
+    <wsdl:port name="BankCORBAPort" binding="tns:BankCORBABinding">
+      
+<corba:address location="relfile:./Bank.ref" />    </wsdl:port>
+  </wsdl:service>
+  <wsdl:service name="AccountCORBAService">
+    <wsdl:port name="AccountCORBAPort" binding="tns:AccountCORBABinding">
+      
+<corba:address location="corbaloc::localhost:60000/Account" />    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>

Propchange: incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/trunk/bindings/src/test/resources/wsdl/Bank.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message