axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chinth...@apache.org
Subject svn commit: r156413 - in webservices/axis/trunk/java/modules: core/src/java/org/apache/axis/context/MessageContext.java om/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java om/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
Date Mon, 07 Mar 2005 10:11:41 GMT
Author: chinthaka
Date: Mon Mar  7 02:11:38 2005
New Revision: 156413

URL: http://svn.apache.org/viewcvs?view=rev&rev=156413
Log: (empty)


Modified:
    webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
    webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java
    webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java

Modified: webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java?view=diff&r1=156412&r2=156413
==============================================================================
--- webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
(original)
+++ webservices/axis/trunk/java/modules/core/src/java/org/apache/axis/context/MessageContext.java
Mon Mar  7 02:11:38 2005
@@ -91,6 +91,8 @@
      */
     private boolean processingFault = false;
 
+
+
     /**
      * Addressing Information for Axis 2
      * Following Properties will be kept inside this, these fields will be initially filled
by
@@ -511,5 +513,13 @@
     }
     public String getWSAMessageId(){
         return messageInformationHeaders.getMessageId();
+    }
+
+    public MessageInformationHeadersCollection getMessageInformationHeaders() {
+        return messageInformationHeaders;
+    }
+
+    public void setMessageInformationHeaders(MessageInformationHeadersCollection messageInformationHeaders)
{
+        this.messageInformationHeaders = messageInformationHeaders;
     }
 }

Modified: webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java?view=diff&r1=156412&r2=156413
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java
(original)
+++ webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/OMElementImpl.java
Mon Mar  7 02:11:38 2005
@@ -690,12 +690,14 @@
                     }
                 }
             } else {
-                throw new OMException(
-                        "Non namespace qualified elements are not allowed");
+                writer.writeStartElement(this.getLocalName());
+//                throw new OMException(
+//                        "Non namespace qualified elements are not allowed");
             }
         } else {
-            throw new OMException(
-                    "Non namespace qualified elements are not allowed");
+            writer.writeStartElement(this.getLocalName());
+//            throw new OMException(
+//                    "Non namespace qualified elements are not allowed");
         }
 
         // add the elements attributes

Modified: webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java?view=diff&r1=156412&r2=156413
==============================================================================
--- webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
(original)
+++ webservices/axis/trunk/java/modules/om/src/java/org/apache/axis/om/impl/llom/builder/StAXSOAPModelBuilder.java
Mon Mar  7 02:11:38 2005
@@ -201,7 +201,7 @@
         } else {
 
             // this is neither of above. Just create an element
-            element = ombuilderFactory.createOMElement(elementName, parent.getNamespace(),
+            element = ombuilderFactory.createOMElement(elementName, null,
                     parent, this);
             processNamespaceData(element, false);
         }
@@ -295,7 +295,7 @@
         // throw new OMException("All elements must be namespace qualified!");
         // }
         if (isSOAPElement) {
-            if (!node.getNamespace().getName().equals(
+            if (node.getNamespace() != null && !node.getNamespace().getName().equals(
                     OMConstants.SOAP_ENVELOPE_NAMESPACE_URI)) {
                 throw new OMBuilderException("invalid SOAP namespace URI");
             }



Mime
View raw message