cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r760582 - in /cxf/trunk: rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
Date Tue, 31 Mar 2009 20:06:32 GMT
Author: dkulp
Date: Tue Mar 31 20:06:31 2009
New Revision: 760582

URL: http://svn.apache.org/viewvc?rev=760582&view=rev
Log:
[CXF-2138] Add parameterOrder attribute to doc/lit/bare things

Modified:
    cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
    cxf/trunk/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl

Modified: cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java?rev=760582&r1=760581&r2=760582&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
(original)
+++ cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java
Tue Mar 31 20:06:31 2009
@@ -1454,7 +1454,7 @@
     }
     
     private void setParameterOrder(Method method, Class[] paramClasses, OperationInfo op)
{
-        if (isRPC(method)) {
+        if (isRPC(method) || !isWrapped(method)) {
             List<String> paramOrdering = new LinkedList<String>();
             boolean hasOut = false;
             for (int j = 0; j < paramClasses.length; j++) {

Modified: cxf/trunk/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl?rev=760582&r1=760581&r2=760582&view=diff
==============================================================================
--- cxf/trunk/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
(original)
+++ cxf/trunk/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/internal/jaxws/expected/soap_header.wsdl
Tue Mar 31 20:06:31 2009
@@ -104,7 +104,7 @@
     </wsdl:part>
   </wsdl:message>
   <wsdl:portType name="headerTester">
-    <wsdl:operation name="outHeader">
+    <wsdl:operation name="outHeader" parameterOrder="me the_response header_info">
       <wsdl:input name="outHeader" message="tns:outHeader">
     </wsdl:input>
       <wsdl:output name="outHeaderResponse" message="tns:outHeaderResponse">
@@ -116,7 +116,7 @@
       <wsdl:output name="inHeaderResponse" message="tns:inHeaderResponse">
     </wsdl:output>
     </wsdl:operation>
-    <wsdl:operation name="inoutHeader">
+    <wsdl:operation name="inoutHeader" parameterOrder="me header_info">
       <wsdl:input name="inoutHeader" message="tns:inoutHeader">
     </wsdl:input>
       <wsdl:output name="inoutHeaderResponse" message="tns:inoutHeaderResponse">



Mime
View raw message