incubator-yoko-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r466125 - in /incubator/yoko/branches/cxf_port: api/src/main/java/org/apache/yoko/wsdl/ bindings/src/main/resources/ bindings/src/main/resources/META-INF/ bindings/src/main/resources/META-INF/cxf/
Date Fri, 20 Oct 2006 14:36:04 GMT
Author: bravi
Date: Fri Oct 20 07:36:03 2006
New Revision: 466125

URL: http://svn.apache.org/viewvc?view=rev&rev=466125
Log:
[YOKO-170] - Updates to the cxf_port branch. Also added the CorbaConstants file missed in
my earlier commit.

Added:
    incubator/yoko/branches/cxf_port/api/src/main/java/org/apache/yoko/wsdl/CorbaConstants.java
  (with props)
    incubator/yoko/branches/cxf_port/bindings/src/main/resources/
    incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/
    incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml
  (with props)
    incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/
    incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml
  (with props)
    incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml 
 (with props)

Added: incubator/yoko/branches/cxf_port/api/src/main/java/org/apache/yoko/wsdl/CorbaConstants.java
URL: http://svn.apache.org/viewvc/incubator/yoko/branches/cxf_port/api/src/main/java/org/apache/yoko/wsdl/CorbaConstants.java?view=auto&rev=466125
==============================================================================
--- incubator/yoko/branches/cxf_port/api/src/main/java/org/apache/yoko/wsdl/CorbaConstants.java
(added)
+++ incubator/yoko/branches/cxf_port/api/src/main/java/org/apache/yoko/wsdl/CorbaConstants.java
Fri Oct 20 07:36:03 2006
@@ -0,0 +1,107 @@
+/**
+ * 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.
+*/
+
+package org.apache.yoko.wsdl;
+
+import javax.xml.namespace.QName;
+
+public interface CorbaConstants {
+
+    String IDL_VERSION = ":1.0";
+    String REPO_STRING = "IDL:";
+
+    String NS_CORBA_TYPEMAP = "typemap";
+    String NP_WSDL_CORBA = "corba";
+    String NU_WSDL_CORBA = "http://schemas.apache.org/yoko/bindings/corba";
+    String NP_TM_CORBA = "corbatm";
+    String NU_TM_CORBA = "http://schemas.apache.org/yoko/typemap/corba/";
+    String SCHEMA_NS_URI = "http://schemas.apache.org/yoko/idltypes/";
+    String WSDL_NS_URI = "http://schemas.apache.org/yoko/idl/";
+    
+    // CORBA Binding Extensibility Elements
+    QName NE_CORBA_ADDRESS = new QName(NU_WSDL_CORBA, "address", NP_WSDL_CORBA);
+    QName NE_CORBA_POLICY = new QName(NU_WSDL_CORBA, "policy", NP_WSDL_CORBA);
+    QName NE_CORBA_BINDING = new QName(NU_WSDL_CORBA, "binding", NP_WSDL_CORBA);
+    QName NE_CORBA_OPERATION = new QName(NU_WSDL_CORBA, "operation", NP_WSDL_CORBA);
+    QName NE_CORBA_PARAM = new QName(NU_WSDL_CORBA, "param", NP_WSDL_CORBA);
+    QName NE_CORBA_RETURN = new QName(NU_WSDL_CORBA, "return", NP_WSDL_CORBA);
+    QName NE_CORBA_RAISES = new QName(NU_WSDL_CORBA, "raises", NP_WSDL_CORBA);
+
+    // CORBA Type Mapping Extensiblity Elements
+    QName NE_CORBA_TYPEMAPPING = new QName(NU_WSDL_CORBA, "typeMapping", NP_WSDL_CORBA);
+    QName NE_CORBA_STRUCT = new QName(NU_WSDL_CORBA, "struct", NP_WSDL_CORBA);
+    QName NE_CORBA_STRUCT_MEM = new QName(NU_WSDL_CORBA, "member", NP_WSDL_CORBA);
+    QName NE_CORBA_UNION = new QName(NU_WSDL_CORBA, "union", NP_WSDL_CORBA);
+    QName NE_CORBA_UNION_BRANCH = new QName(NU_WSDL_CORBA, "unionbranch", NP_WSDL_CORBA);
+    QName NE_CORBA_UNION_CASE = new QName(NU_WSDL_CORBA, "case", NP_WSDL_CORBA);
+    QName NE_CORBA_ALIAS = new QName(NU_WSDL_CORBA, "alias", NP_WSDL_CORBA);
+    QName NE_CORBA_FIXED = new QName(NU_WSDL_CORBA, "fixed", NP_WSDL_CORBA);
+    QName NE_CORBA_ANONFIXED = new QName(NU_WSDL_CORBA, "anonfixed", NP_WSDL_CORBA);
+    QName NE_CORBA_CONST = new QName(NU_WSDL_CORBA, "const", NP_WSDL_CORBA);
+    QName NE_CORBA_ENUM = new QName(NU_WSDL_CORBA, "enum", NP_WSDL_CORBA);
+    QName NE_CORBA_ENUMERATOR = new QName(NU_WSDL_CORBA, "enumerator", NP_WSDL_CORBA);
+    QName NE_CORBA_SEQUENCE = new QName(NU_WSDL_CORBA, "sequence", NP_WSDL_CORBA);
+    QName NE_CORBA_ANONSEQUENCE = new QName(NU_WSDL_CORBA, "anonsequence", NP_WSDL_CORBA);
+    QName NE_CORBA_ARRAY = new QName(NU_WSDL_CORBA, "array", NP_WSDL_CORBA);
+    QName NE_CORBA_ANONARRAY = new QName(NU_WSDL_CORBA, "anonarray", NP_WSDL_CORBA);
+    QName NE_CORBA_ANONSTRING = new QName(NU_WSDL_CORBA, "anonstring", NP_WSDL_CORBA);
+    QName NE_CORBA_ANONWSTRING = new QName(NU_WSDL_CORBA, "anonwstring", NP_WSDL_CORBA);
+    QName NE_CORBA_EXCEPTION = new QName(NU_WSDL_CORBA, "exception", NP_WSDL_CORBA);
+    QName NE_CORBA_INTERFACE = new QName(NU_WSDL_CORBA, "object", NP_WSDL_CORBA);
+
+    // CORBA Primitive Types
+    QName NT_CORBA_LONG = new QName(NU_WSDL_CORBA, "long", NP_WSDL_CORBA);
+    QName NT_CORBA_ULONG = new QName(NU_WSDL_CORBA, "ulong", NP_WSDL_CORBA);
+    QName NT_CORBA_LONGLONG = new QName(NU_WSDL_CORBA, "longlong", NP_WSDL_CORBA);
+    QName NT_CORBA_ULONGLONG = new QName(NU_WSDL_CORBA, "ulonglong", NP_WSDL_CORBA);
+    QName NT_CORBA_SHORT = new QName(NU_WSDL_CORBA, "short", NP_WSDL_CORBA);
+    QName NT_CORBA_USHORT = new QName(NU_WSDL_CORBA, "ushort", NP_WSDL_CORBA);
+    QName NT_CORBA_FLOAT = new QName(NU_WSDL_CORBA, "float", NP_WSDL_CORBA);
+    QName NT_CORBA_DOUBLE = new QName(NU_WSDL_CORBA, "double", NP_WSDL_CORBA);
+    QName NT_CORBA_CHAR = new QName(NU_WSDL_CORBA, "char", NP_WSDL_CORBA);
+    QName NT_CORBA_WCHAR = new QName(NU_WSDL_CORBA, "wchar", NP_WSDL_CORBA);
+    QName NT_CORBA_BOOLEAN = new QName(NU_WSDL_CORBA, "boolean", NP_WSDL_CORBA);
+    QName NT_CORBA_OCTET = new QName(NU_WSDL_CORBA, "octet", NP_WSDL_CORBA);
+    QName NT_CORBA_STRING = new QName(NU_WSDL_CORBA, "string", NP_WSDL_CORBA);
+    QName NT_CORBA_WSTRING = new QName(NU_WSDL_CORBA, "wstring", NP_WSDL_CORBA);
+    QName NT_CORBA_ANY = new QName(NU_WSDL_CORBA, "any", NP_WSDL_CORBA);
+    QName NT_CORBA_DATETIME = new QName(NU_WSDL_CORBA, "dateTime", NP_WSDL_CORBA);
+    QName NT_CORBA_LONGDOUBLE = new QName(NU_WSDL_CORBA, "longdouble", NP_WSDL_CORBA);
+
+    QName NT_CORBA_DATE = new QName(NU_WSDL_CORBA, "date", NP_WSDL_CORBA);
+    QName NT_CORBA_TIME = new QName(NU_WSDL_CORBA, "time", NP_WSDL_CORBA);
+
+    QName NT_CORBA_PINT = new QName(NU_WSDL_CORBA, "positiveInteger", NP_WSDL_CORBA);
+    QName NT_CORBA_NPINT = new QName(NU_WSDL_CORBA, "nonPositiveInteger", NP_WSDL_CORBA);
+    QName NT_CORBA_NINT = new QName(NU_WSDL_CORBA, "negativeInteger", NP_WSDL_CORBA);
+    QName NT_CORBA_NNINT = new QName(NU_WSDL_CORBA, "nonNegativeInteger", NP_WSDL_CORBA);
+
+    // CORBA Binding Attribute Constants
+    String REPO_ID = "repositoryID";
+    String NAME = "name";
+    String IDLTYPE = "idltype";
+    String MODE = "mode";
+    String EXCEPTION = "exception";
+    String SERVICE_ID = "serviceid";    
+    String BASES = "bases";
+    String CORBA_ENDPOINT_OBJECT = "endpoint";
+
+    String getValue(String value);
+
+}

Propchange: incubator/yoko/branches/cxf_port/api/src/main/java/org/apache/yoko/wsdl/CorbaConstants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/branches/cxf_port/api/src/main/java/org/apache/yoko/wsdl/CorbaConstants.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml
URL: http://svn.apache.org/viewvc/incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml?view=auto&rev=466125
==============================================================================
--- incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml
(added)
+++ incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml
Fri Oct 20 07:36:03 2006
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<extensions xmlns="http://cxf.apache.org/bus/extension">
+
+    <extension class="org.apache.yoko.bindings.corba2.CorbaBindingFactory" deferred="true">
+        <namespace>http://schemas.apache.org/yoko/bindings/corba</namespace>
+    </extension>
+     
+    <extension class="org.apache.yoko.bindings.corba2.CorbaBindingFactory" deferred="true">
+        <namespace>http://schemas.apache.org/yoko/bindings/corba</namespace>
+    </extension>    
+</extensions>

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/bus-extensions.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml
URL: http://svn.apache.org/viewvc/incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml?view=auto&rev=466125
==============================================================================
--- incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml
(added)
+++ incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml
Fri Oct 20 07:36:03 2006
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xmlns:foo="http://cxf.apache.org/configuration/foo"
+       xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+    
+    <bean class="org.apache.yoko.bindings.corba2.CorbaBindingFactory" lazy-init="true">
+        <property name="bus" ref="cxf"/>
+        <property name="activationNamespaces">
+            <set>
+                <value>http://schemas.apache.org/yoko/bindings/corba</value>
+            </set>
+        </property>
+    </bean>   
+    
+    <bean class="org.apache.yoko.bindings.corba2.CorbaBindingFactory" lazy-init="true">
+        <property name="bus" ref="cxf"/>
+        <property name="activationNamespaces">
+            <set>
+                <value>http://schemas.apache.org/yoko/bindings/corba</value>
+            </set>
+        </property>
+    </bean>
+</beans>

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/cxf/cxf-extension.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml
URL: http://svn.apache.org/viewvc/incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml?view=auto&rev=466125
==============================================================================
--- incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml (added)
+++ incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml Fri
Oct 20 07:36:03 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
+<properties>
+    <entry key="org.apache.yoko.bindings.corba-1">javax.wsdl.Binding=org.apache.schemas.yoko.bindings.corba.BindingType</entry>
+    <entry key="org.apache.yoko.bindings.corba-2">javax.wsdl.BindingOperation=org.apache.schemas.yoko.bindings.corba.OperationType</entry>
+    <entry key="org.apache.yoko.bindings.corba-3">javax.wsdl.Definition=org.apache.schemas.yoko.bindings.corba.TypeMappingType</entry>
+    <entry key="org.apache.yoko.bindings.corba-4">javax.wsdl.Port=org.apache.schemas.yoko.bindings.corba.AddressType</entry>
+</properties>

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/yoko/branches/cxf_port/bindings/src/main/resources/META-INF/extensions.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message