cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1516724 - in /cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools: fortest/exception/MyException.java java2wsdl/processor/JavaToProcessorTest.java
Date Fri, 23 Aug 2013 07:53:23 GMT
Author: ema
Date: Fri Aug 23 07:53:23 2013
New Revision: 1516724

URL: http://svn.apache.org/r1516724
Log:
[CXF-5230]:Message element is not generated for exception class which extends Exception

Modified:
    cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/exception/MyException.java
    cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java

Modified: cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/exception/MyException.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/exception/MyException.java?rev=1516724&r1=1516723&r2=1516724&view=diff
==============================================================================
--- cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/exception/MyException.java
(original)
+++ cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/fortest/exception/MyException.java
Fri Aug 23 07:53:23 2013
@@ -23,7 +23,7 @@ import javax.xml.bind.annotation.XmlType
 @javax.xml.ws.WebFault
 @XmlType(namespace = "http://cxf.apache.org/test/HelloService",
          name = "MyException", 
-         propOrder = { "summary", "from", "id" })
+         propOrder = { "summary", "from", "id", "message" })
 public class MyException extends SuperException {
     private static final long serialVersionUID = 8575109064272599936L;
     private String summary;

Modified: cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java?rev=1516724&r1=1516723&r2=1516724&view=diff
==============================================================================
--- cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
(original)
+++ cxf/trunk/tools/javato/ws/src/test/java/org/apache/cxf/tools/java2wsdl/processor/JavaToProcessorTest.java
Fri Aug 23 07:53:23 2013
@@ -707,6 +707,7 @@ public class JavaToProcessorTest extends
     @Test
     public void testPropOrderInException() throws Exception {
         env.put(ToolConstants.CFG_OUTPUTFILE, output.getPath() + "/exception_prop_order.wsdl");
+        //env.put(ToolConstants.CFG_OUTPUTFILE, "/x1/tmp/exception_prop_order.wsdl");
         env.put(ToolConstants.CFG_CLASSNAME, "org.apache.cxf.tools.fortest.exception.EchoImpl");
         env.put(ToolConstants.CFG_VERBOSE, ToolConstants.CFG_VERBOSE);
         try {



Mime
View raw message