ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ruchi...@apache.org
Subject svn commit: r391281 - in /webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj: SOAPElementImpl.java SOAPFaultImpl.java TextImplEx.java
Date Tue, 04 Apr 2006 12:04:12 GMT
Author: ruchithf
Date: Tue Apr  4 05:04:11 2006
New Revision: 391281

URL: http://svn.apache.org/viewcvs?rev=391281&view=rev
Log:
Getting the Axis2 build to compile

Modified:
    webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPElementImpl.java
    webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPFaultImpl.java
    webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java

Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPElementImpl.java?rev=391281&r1=391280&r2=391281&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPElementImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPElementImpl.java
Tue Apr  4 05:04:11 2006
@@ -66,15 +66,15 @@
     /* (non-Javadoc)
       * @see org.apache.axiom.om.OMNode#serialize(org.apache.axiom.om.impl.OMOutputImpl)
       */
-    public void serialize(OMOutputImpl omOutput) throws XMLStreamException {
-        element.serialize(omOutput);
+    public void internalSerialize(OMOutputImpl omOutput) throws XMLStreamException {
+        element.internalSerialize(omOutput);
     }
 
     /* (non-Javadoc)
       * @see org.apache.axiom.om.OMNode#serializeAndConsume(org.apache.axiom.om.impl.OMOutputImpl)
       */
-    public void serializeAndConsume(OMOutputImpl omOutput) throws XMLStreamException {
-        element.serializeAndConsume(omOutput);
+    public void internalSerializeAndConsume(OMOutputImpl omOutput) throws XMLStreamException
{
+        element.internalSerializeAndConsume(omOutput);
     }
 
     /**

Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPFaultImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPFaultImpl.java?rev=391281&r1=391280&r2=391281&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPFaultImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/SOAPFaultImpl.java
Tue Apr  4 05:04:11 2006
@@ -119,14 +119,14 @@
     public void setFaultString(String faultString) throws SOAPException {
         if (this.fault.getReason() != null) {
             SOAPFaultReason reason = this.fault.getReason();
-            if (reason.getSOAPText() != null) {
-                reason.getSOAPText().getFirstOMChild().detach();
-                reason.getSOAPText().setText(faultString);
+            if (reason.getFirstSOAPText() != null) {
+                reason.getFirstSOAPText().getFirstOMChild().detach();
+                reason.getFirstSOAPText().setText(faultString);
             } else {
                 SOAPFaultText text = new SOAP11FaultTextImpl(reason,
                         (SOAPFactory) this.element.getOMFactory());
                 text.setText(faultString);
-                reason.setSOAPText(text);
+                reason.addSOAPText(text);
             }
         } else {
             org.apache.axiom.soap.SOAPFactory soapFactory =
@@ -134,7 +134,7 @@
             SOAPFaultReason fReason = soapFactory.createSOAPFaultReason(fault);
             SOAPFaultText fText = soapFactory.createSOAPFaultText(fReason);
             fText.setText(faultString);
-            fReason.setSOAPText(fText);
+            fReason.addSOAPText(fText);
         }
     }
 
@@ -142,8 +142,8 @@
       * @see javax.xml.soap.SOAPFault#getFaultString()
       */
     public String getFaultString() {
-        if (this.fault.getReason() != null && this.fault.getReason().getSOAPText()
!= null) {
-            return this.fault.getReason().getSOAPText().getText();
+        if (this.fault.getReason() != null && this.fault.getReason().getFirstSOAPText()
!= null) {
+            return this.fault.getReason().getFirstSOAPText().getText();
         }
         return null;
     }
@@ -192,15 +192,15 @@
     public void setFaultString(String faultString, Locale locale) throws SOAPException {
         if (this.fault.getReason() != null) {
             SOAPFaultReason reason = this.fault.getReason();
-            if (reason.getSOAPText() != null) {
-                reason.getSOAPText().setText(faultString);
-                reason.getSOAPText().setLang(locale.getLanguage());
+            if (reason.getFirstSOAPText() != null) {
+                reason.getFirstSOAPText().setText(faultString);
+                reason.getFirstSOAPText().setLang(locale.getLanguage());
             } else {
                 SOAPFaultText text = new SOAP11FaultTextImpl(reason,
                         (SOAPFactory) this.element.getOMFactory());
                 text.setText(faultString);
                 text.setLang(locale.getLanguage());
-                reason.setSOAPText(text);
+                reason.addSOAPText(text);
             }
         } else {
             SOAPFaultReason reason = new SOAP11FaultReasonImpl(this.fault,
@@ -209,7 +209,7 @@
                     (SOAPFactory) this.element.getOMFactory());
             text.setText(faultString);
             text.setLang(locale.getLanguage());
-            reason.setSOAPText(text);
+            reason.addSOAPText(text);
             this.fault.setReason(reason);
         }
         this.faultReasonLocale = locale;

Modified: webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java?rev=391281&r1=391280&r2=391281&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java (original)
+++ webservices/axis2/trunk/java/modules/saaj/src/org/apache/axis2/saaj/TextImplEx.java Tue
Apr  4 05:04:11 2006
@@ -267,15 +267,15 @@
     /* (non-Javadoc)
       * @see org.apache.axiom.om.OMNode#serialize(org.apache.axiom.om.impl.OMOutputImpl)
       */
-    public void serialize(OMOutputImpl omOutput) throws XMLStreamException {
-        textNode.serialize(omOutput);
+    public void internalSerialize(OMOutputImpl omOutput) throws XMLStreamException {
+        textNode.internalSerialize(omOutput);
     }
 
     /* (non-Javadoc)
       * @see org.apache.axiom.om.OMNode#serializeAndConsume(org.apache.axiom.om.impl.OMOutputImpl)
       */
-    public void serializeAndConsume(OMOutputImpl omOutput) throws XMLStreamException {
-        textNode.serializeAndConsume(omOutput);
+    public void internalSerializeAndConsume(OMOutputImpl omOutput) throws XMLStreamException
{
+        textNode.internalSerializeAndConsume(omOutput);
     }
 
     /**



Mime
View raw message