Author: ericjohnson
Date: Mon May  2 17:07:06 2011
New Revision: 1098666

URL: http://svn.apache.org/viewvc?rev=1098666&view=rev
Log:
updated tool spec for wsdl2service with better help and added a comment 
explaining faultStackTraceEnabled property

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/message/Message.java
    
cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/wsdl2service.xml

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/message/Message.java
URL: 
http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/message/Message.java?rev=1098666&r1=1098665&r2=1098666&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/message/Message.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/message/Message.java Mon May  2 
17:07:06 2011
@@ -88,8 +88,18 @@ public interface Message extends StringM
     String MTOM_ENABLED = "mtom-enabled";
     String MTOM_THRESHOLD = "mtom-threshold";
     String SCHEMA_VALIDATION_ENABLED = "schema-validation-enabled";
+
+    /**
+     * Boolean property specifying if the Java stack trace is returned as a  
+     * SOAP fault message.
+     */
     String FAULT_STACKTRACE_ENABLED = "faultStackTraceEnabled";
+    /**
+     * Boolean property specifying if the name of the exception that caused 
+     * the Java stack trace is returned.
+     */
     String EXCEPTION_MESSAGE_CAUSE_ENABLED = "exceptionMessageCauseEnabled";
+
     String CONTENT_TYPE = "Content-Type";    
     String ACCEPT_CONTENT_TYPE = "Accept";
     String BASE_PATH = Message.class.getName() + ".BASE_PATH";

Modified: 
cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/wsdl2service.xml
URL: 
http://svn.apache.org/viewvc/cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/wsdl2service.xml?rev=1098666&r1=1098665&r2=1098666&view=diff
==============================================================================
--- 
cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/wsdl2service.xml
 (original)
+++ 
cxf/trunk/tools/wsdlto/misc/src/main/java/org/apache/cxf/tools/misc/wsdl2service.xml
 Mon May  2 17:07:06 2011
@@ -35,13 +35,14 @@ wsdl2service -transport http -e servicen
        
                    <option id="transport" maxOccurs="1">
                       <annotation>
-                           If the payload being sent over the wire is jms, use 
-                           -transport jms. For all other payloads use 
-transport http.
+                           Specifies the transport to use. If the payload 
being sent over the 
+                           wire using jms, use -transport jms. All other 
payloads settings 
+                           assume that HTTP is being used.
                       </annotation>
                                <switch>transport</switch>
                                <associatedArgument placement="afterSpace">
-                                   <annotation>soap/xml/jms</annotation>
-                                       <valueenum>soap|xml|jms</valueenum>
+                                   <annotation>soap/xml/jms/http</annotation>
+                                       <valueenum>soap|xml|jms|http</valueenum>
                                </associatedArgument>
                    </option>
        
@@ -87,10 +88,9 @@ wsdl2service -transport http -e servicen
                                </associatedArgument>
                </option>
 
-
                <option id="soap12" maxOccurs="1">
                    <annotation>
-                       Specifies the SOAP version to SOAP 1.2
+                       Specifies to use SOAP 1.2
                    </annotation>
                    <switch>soap12</switch>
                </option>


Reply via email to