[jboss-svn-commits] JBL Code SVN: r6918 - labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Oct 19 13:33:22 EDT 2006


Author: kevin.conner at jboss.com
Date: 2006-10-19 13:33:19 -0400 (Thu, 19 Oct 2006)
New Revision: 6918

Modified:
   labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap11Details.java
   labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap12Details.java
   labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/SoapDetails.java
Log:
Add getMustUnderstandValue method: JBTM-148

Modified: labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap11Details.java
===================================================================
--- labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap11Details.java	2006-10-19 16:57:57 UTC (rev 6917)
+++ labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap11Details.java	2006-10-19 17:33:19 UTC (rev 6918)
@@ -64,6 +64,10 @@
      * The SOAP 1.1 last role.
      */
     private static final String LAST_ROLE = null ;
+    /**
+     * The SOAP 1.1 must understand value.
+     */
+    private final static String MUST_UNDERSTAND_VALUE = "1" ;
     
     /**
      * The qualified SOAP 1.1 MustUnderstand name.
@@ -172,7 +176,7 @@
     
     /**
      * Get the qualified name of the must understand attribute.
-     * @return The must understand qualified name,
+     * @return The must understand qualified name.
      */
     public QName getMustUnderstandQName()
     {
@@ -180,6 +184,15 @@
     }
     
     /**
+     * Get the value of the must understand attribute.
+     * @return The must understand value.
+     */
+    public String getMustUnderstandValue()
+    {
+        return MUST_UNDERSTAND_VALUE ;
+    }
+    
+    /**
      * Write SOAP fault headers to the stream.
      * @param streamWriter The output stream.
      * @param soapFault The soap fault.

Modified: labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap12Details.java
===================================================================
--- labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap12Details.java	2006-10-19 16:57:57 UTC (rev 6917)
+++ labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/Soap12Details.java	2006-10-19 17:33:19 UTC (rev 6918)
@@ -71,6 +71,10 @@
      * The SOAP 1.2 last role.
      */
     private final static String LAST_ROLE = NAMESPACE_URI + "/role/ultimateReceiver" ;
+    /**
+     * The SOAP 1.2 must understand value.
+     */
+    private final static String MUST_UNDERSTAND_VALUE = "true" ;
     
     /**
      * The qualified SOAP 1.2 MustUnderstand name.
@@ -225,6 +229,15 @@
     }
     
     /**
+     * Get the value of the must understand attribute.
+     * @return The must understand value.
+     */
+    public String getMustUnderstandValue()
+    {
+        return MUST_UNDERSTAND_VALUE ;
+    }
+    
+    /**
      * Write SOAP fault headers to the stream.
      * @param streamWriter The output stream.
      * @param soapFault The soap fault.

Modified: labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/SoapDetails.java
===================================================================
--- labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/SoapDetails.java	2006-10-19 16:57:57 UTC (rev 6917)
+++ labs/jbosstm/trunk/XTS/WS-C/dev/src/com/arjuna/webservices/soap/SoapDetails.java	2006-10-19 17:33:19 UTC (rev 6918)
@@ -88,11 +88,17 @@
     
     /**
      * Get the qualified name of the must understand attribute.
-     * @return The must understand qualified name,
+     * @return The must understand qualified name.
      */
     public QName getMustUnderstandQName() ;
     
     /**
+     * Get the value of the must understand attribute.
+     * @return The must understand value.
+     */
+    public String getMustUnderstandValue() ;
+    
+    /**
      * Write SOAP fault headers to the stream.
      * @param streamWriter The output stream.
      * @param soapFault The soap fault.




More information about the jboss-svn-commits mailing list