tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgenen...@apache.org
Subject svn commit: r512530 - in /incubator/openejb/trunk/openejb3/container/openejb-jee/src: main/java/org/apache/openejb/jee/ServiceRefHandler.java test/resources/application-client-example.xml test/resources/ejb-jar-example1.xml
Date Wed, 28 Feb 2007 00:45:45 GMT
Author: jgenender
Date: Tue Feb 27 16:45:44 2007
New Revision: 512530

URL: http://svn.apache.org/viewvc?view=rev&rev=512530
Log:
Convert soap-header to qname from String

Modified:
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ServiceRefHandler.java
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/application-client-example.xml
    incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/ejb-jar-example1.xml

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ServiceRefHandler.java
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ServiceRefHandler.java?view=diff&rev=512530&r1=512529&r2=512530
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ServiceRefHandler.java
(original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/main/java/org/apache/openejb/jee/ServiceRefHandler.java
Tue Feb 27 16:45:44 2007
@@ -26,6 +26,8 @@
 import javax.xml.bind.annotation.XmlType;
 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
+import javax.xml.namespace.QName;
+
 import java.util.ArrayList;
 import java.util.List;
 
@@ -65,7 +67,7 @@
     @XmlElement(name = "init-param", required = true)
     protected List<ParamValue> initParam;
     @XmlElement(name = "soap-header", required = true)
-    protected List<String> soapHeader;
+    protected List<QName> soapHeader;
     @XmlElement(name = "soap-role", required = true)
     protected List<String> soapRole;
     @XmlElement(name = "port-name", required = true)
@@ -119,9 +121,9 @@
         return this.initParam;
     }
 
-    public List<String> getSoapHeader() {
+    public List<QName> getSoapHeader() {
         if (soapHeader == null) {
-            soapHeader = new ArrayList<String>();
+            soapHeader = new ArrayList<QName>();
         }
         return this.soapHeader;
     }

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/application-client-example.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/application-client-example.xml?view=diff&rev=512530&r1=512529&r2=512530
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/application-client-example.xml
(original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/application-client-example.xml
Tue Feb 27 16:45:44 2007
@@ -62,7 +62,7 @@
                 <param-name>token</param-name>
                 <param-value>String</param-value>
             </init-param>
-            <soap-header>q:name</soap-header>
+            <soap-header xmlns:q="http//extra-stuff.org">q:name</soap-header>
             <soap-role>token</soap-role>
             <port-name>token</port-name>
         </handler>

Modified: incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/ejb-jar-example1.xml
URL: http://svn.apache.org/viewvc/incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/ejb-jar-example1.xml?view=diff&rev=512530&r1=512529&r2=512530
==============================================================================
--- incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/ejb-jar-example1.xml
(original)
+++ incubator/openejb/trunk/openejb3/container/openejb-jee/src/test/resources/ejb-jar-example1.xml
Tue Feb 27 16:45:44 2007
@@ -172,7 +172,7 @@
                         <param-name>token</param-name>
                         <param-value>String</param-value>
                     </init-param>
-                    <soap-header>q:name</soap-header>
+                    <soap-header xmlns:q="http//extra-stuff.org">q:name</soap-header>
                     <soap-role>token</soap-role>
                     <port-name>token</port-name>
                 </handler>
@@ -213,7 +213,7 @@
                         <param-name>token</param-name>
                         <param-value>String</param-value>
                     </init-param>
-                    <soap-header>q:name</soap-header>
+                    <soap-header xmlns:q="http//extra-stuff.org">q:name</soap-header>
                     <soap-role>token</soap-role>
                     <port-name>token</port-name>
                 </handler>
@@ -387,7 +387,7 @@
                         <param-name>token</param-name>
                         <param-value>String</param-value>
                     </init-param>
-                    <soap-header>q:name</soap-header>
+                    <soap-header xmlns:q="http//extra-stuff.org">q:name</soap-header>
                     <soap-role>token</soap-role>
                     <port-name>token</port-name>
                 </handler>



Mime
View raw message