You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by gd...@apache.org on 2005/07/11 17:49:55 UTC

svn commit: r210150 [33/35] - in /webservices/axis/trunk/java: ./ etc/ modules/addressing/ modules/addressing/src/org/apache/axis2/handlers/addressing/ modules/addressing/test-resources/ modules/addressing/test/org/apache/axis2/handlers/addressing/ mod...

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultTextImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultTextImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultTextImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultTextImpl.java Mon Jul 11 08:49:30 2005
@@ -29,7 +29,7 @@
  */
 public abstract class SOAPFaultTextImpl extends SOAPElement implements SOAPFaultText {
     protected OMAttribute langAttr;
-    protected OMNamespace langNamespace = OMAbstractFactory.getOMFactory().createOMNamespace(SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI,SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
+    protected OMNamespace langNamespace = OMAbstractFactory.getOMFactory().createOMNamespace(SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_URI, SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX);
 
     protected SOAPFaultTextImpl(SOAPFaultReason parent) throws SOAPProcessingException {
         super(parent, SOAP12Constants.SOAP_FAULT_TEXT_LOCAL_NAME, true);
@@ -49,7 +49,7 @@
     public String getLang() {
         if (langAttr == null) {
             //langAttr = this.getFirstAttribute(new QName(SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME, parent.getNamespace().getName()));
-            langAttr = this.getFirstAttribute(new QName(langNamespace.getName(),SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME,SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX ));
+            langAttr = this.getFirstAttribute(new QName(langNamespace.getName(), SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_LOCAL_NAME, SOAP12Constants.SOAP_FAULT_TEXT_LANG_ATTR_NS_PREFIX));
         }
 
         return langAttr == null ? null : langAttr.getValue();

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultValueImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultValueImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultValueImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPFaultValueImpl.java Mon Jul 11 08:49:30 2005
@@ -23,7 +23,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public abstract class SOAPFaultValueImpl extends SOAPElement implements SOAPFaultValue{
+public abstract class SOAPFaultValueImpl extends SOAPElement implements SOAPFaultValue {
 
     protected SOAPFaultValueImpl(OMElement parent) throws SOAPProcessingException {
         super(parent, SOAP12Constants.SOAP_FAULT_VALUE_LOCAL_NAME, true);

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderBlockImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderBlockImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderBlockImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderBlockImpl.java Mon Jul 11 08:49:30 2005
@@ -34,6 +34,7 @@
         implements SOAPHeaderBlock {
 
     private boolean processed = false;
+
     /**
      * @param localName
      * @param ns
@@ -62,16 +63,13 @@
      * @param attrValue
      */
     protected void setAttribute(String attributeName, String attrValue, String soapEnvelopeNamespaceURI) {
-        OMAttribute omAttribute = this.getFirstAttribute(
-                new QName(soapEnvelopeNamespaceURI, attributeName));
+        OMAttribute omAttribute = this.getFirstAttribute(new QName(soapEnvelopeNamespaceURI, attributeName));
         if (omAttribute != null) {
             omAttribute.setValue(attrValue);
         } else {
-            OMAttribute attribute = new OMAttributeImpl(
-                    attributeName,
-                    new OMNamespaceImpl(
-                            soapEnvelopeNamespaceURI,
-                            SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX), attrValue);
+            OMAttribute attribute = new OMAttributeImpl(attributeName,
+                                                        new OMNamespaceImpl(soapEnvelopeNamespaceURI,
+                                                                            SOAPConstants.SOAP_DEFAULT_NAMESPACE_PREFIX), attrValue);
             this.addAttribute(attribute);
         }
     }
@@ -83,8 +81,7 @@
      * @return
      */
     protected String getAttribute(String attrName, String soapEnvelopeNamespaceURI) {
-        OMAttribute omAttribute = this.getFirstAttribute(
-                new QName(soapEnvelopeNamespaceURI, attrName));
+        OMAttribute omAttribute = this.getFirstAttribute(new QName(soapEnvelopeNamespaceURI, attrName));
         return (omAttribute != null)
                 ? omAttribute.getValue()
                 : null;

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPHeaderImpl.java Mon Jul 11 08:49:30 2005
@@ -42,7 +42,7 @@
      * @param builder
      */
     public SOAPHeaderImpl(SOAPEnvelope envelope, OMXMLParserWrapper builder) {
-        super(envelope,  SOAPConstants.HEADER_LOCAL_NAME, builder);
+        super(envelope, SOAPConstants.HEADER_LOCAL_NAME, builder);
     }
 
     /**
@@ -53,7 +53,8 @@
      * @param ns
      * @return the new <CODE>SOAPHeaderBlock</CODE> object that was inserted
      *         into this <CODE>SOAPHeader</CODE> object
-     * @throws org.apache.axis2.om.OMException if a SOAP error occurs
+     * @throws org.apache.axis2.om.OMException
+     *                     if a SOAP error occurs
      * @throws OMException
      */
     public abstract SOAPHeaderBlock addHeaderBlock(String localName, OMNamespace ns)
@@ -119,7 +120,7 @@
      *         <code>SOAPHeaderBlock</code> objects that contain the specified
      *         actor and are marked as MustUnderstand
      */
-    public Iterator examineMustUnderstandHeaderBlocks(String actor){
+    public Iterator examineMustUnderstandHeaderBlocks(String actor) {
         Iterator headerBlocksIter = this.getChildren();
         ArrayList mustUnderstandHeadersWithGivenActor = new ArrayList();
         while (headerBlocksIter.hasNext()) {

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPTextImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPTextImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPTextImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/SOAPTextImpl.java Mon Jul 11 08:49:30 2005
@@ -20,7 +20,7 @@
  * the License.
  * <p/>
  */
-public class SOAPTextImpl extends SOAPElement{
+public class SOAPTextImpl extends SOAPElement {
 
     protected SOAPTextImpl(OMElement parent) throws SOAPProcessingException {
         super(parent, SOAP12Constants.SOAP_FAULT_TEXT_LOCAL_NAME, true);

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAP12BuilderHelper.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAP12BuilderHelper.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAP12BuilderHelper.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAP12BuilderHelper.java Mon Jul 11 08:49:30 2005
@@ -229,7 +229,7 @@
             }
         }
 
-        processNamespaceData(element,  false);
+        processNamespaceData(element, false);
         processAttributes(element);
         return element;
     }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAPBuilderHelper.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAPBuilderHelper.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAPBuilderHelper.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/SOAPBuilderHelper.java Mon Jul 11 08:49:30 2005
@@ -35,13 +35,13 @@
         this.builder = builder;
     }
 
-    public abstract OMElement handleEvent(XMLStreamReader parser, OMElement element, int elementLevel) throws SOAPProcessingException ;
+    public abstract OMElement handleEvent(XMLStreamReader parser, OMElement element, int elementLevel) throws SOAPProcessingException;
 
     protected void processNamespaceData(OMElement node, boolean isSOAPElement) {
         int namespaceCount = parser.getNamespaceCount();
         for (int i = 0; i < namespaceCount; i++) {
             node.declareNamespace(parser.getNamespaceURI(i),
-                    parser.getNamespacePrefix(i));
+                                  parser.getNamespacePrefix(i));
         }
 
         // set the own namespace
@@ -85,13 +85,13 @@
             String uri = parser.getAttributeNamespace(i);
             if (uri.hashCode() != 0) {
                 ns = node.findNamespace(uri,
-                        parser.getAttributePrefix(i));
+                                        parser.getAttributePrefix(i));
             }
 
             // todo if the attributes are supposed to namespace qualified all the time
             // todo then this should throw an exception here
             node.addAttribute(parser.getAttributeLocalName(i),
-                    parser.getAttributeValue(i), ns);
+                              parser.getAttributeValue(i), ns);
         }
     }
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/builder/StAXSOAPModelBuilder.java Mon Jul 11 08:49:30 2005
@@ -163,7 +163,7 @@
         if (lastNode == null) {
             node = constructNode(null, elementName, true);
         } else if (lastNode.isComplete()) {
-            node = constructNode((OMElement)lastNode.getParent(), elementName, false);
+            node = constructNode((OMElement) lastNode.getParent(), elementName, false);
             lastNode.setNextSibling(node);
             node.setPreviousSibling(lastNode);
         } else {
@@ -191,7 +191,7 @@
         if (parent == null) {
             if (!elementName.equalsIgnoreCase(SOAPConstants.SOAPENVELOPE_LOCAL_NAME)) {
                 throw new OMException("First Element must contain the local name, "
-                        + SOAPConstants.SOAPENVELOPE_LOCAL_NAME);
+                                      + SOAPConstants.SOAPENVELOPE_LOCAL_NAME);
             }
             envelope =
                     (SOAPEnvelopeImpl) soapFactory.createSOAPEnvelope(this);
@@ -213,7 +213,7 @@
                 headerPresent = true;
                 element =
                         soapFactory.createSOAPHeader((SOAPEnvelope) parent,
-                                this);
+                                                     this);
 
                 // envelope.setHeader((SOAPHeader)element);
                 processNamespaceData(element, true);
@@ -226,7 +226,7 @@
                 bodyPresent = true;
                 element =
                         soapFactory.createSOAPBody((SOAPEnvelope) parent,
-                                this);
+                                                   this);
 
                 // envelope.setBody((SOAPBody)element);
                 processNamespaceData(element, true);
@@ -234,7 +234,7 @@
 
             } else {
                 throw new OMBuilderException(elementName
-                        + " is not supported here. Envelope can not have elements other than Header and Body.");
+                                             + " is not supported here. Envelope can not have elements other than Header and Body.");
             }
         } else if ((elementLevel == 3)
                 && parent.getLocalName().equalsIgnoreCase(SOAPConstants.HEADER_LOCAL_NAME)) {
@@ -242,7 +242,7 @@
             // this is a headerblock
             try {
                 element = soapFactory.createSOAPHeaderBlock(elementName, null,
-                        (SOAPHeader) parent, this);
+                                                            (SOAPHeader) parent, this);
             } catch (SOAPProcessingException e) {
                 throw new OMBuilderException(e);
             }
@@ -273,7 +273,7 @@
 
             // this is neither of above. Just create an element
             element = soapFactory.createOMElement(elementName, null,
-                    parent, this);
+                                                  parent, this);
             processNamespaceData(element, false);
             processAttributes(element);
 
@@ -306,7 +306,7 @@
                     break;
                 case XMLStreamConstants.END_ELEMENT:
                     if (lastNode.isComplete()) {
-                        OMElement parent = (OMElement)lastNode.getParent();
+                        OMElement parent = (OMElement) lastNode.getParent();
 
 //                        //added
 //                        /*check whether all mandatory fault elements are present
@@ -365,7 +365,7 @@
         int namespaceCount = parser.getNamespaceCount();
         for (int i = 0; i < namespaceCount; i++) {
             node.declareNamespace(parser.getNamespaceURI(i),
-                    parser.getNamespacePrefix(i));
+                                  parser.getNamespacePrefix(i));
         }
 
         // set the own namespace

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/factory/SOAPLinkedListImplFactory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/factory/SOAPLinkedListImplFactory.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/factory/SOAPLinkedListImplFactory.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/factory/SOAPLinkedListImplFactory.java Mon Jul 11 08:49:30 2005
@@ -29,7 +29,7 @@
      */
 
 
-    public SOAPEnvelope createSOAPEnvelope(OMXMLParserWrapper builder){
+    public SOAPEnvelope createSOAPEnvelope(OMXMLParserWrapper builder) {
         return new SOAPEnvelopeImpl(builder);
     }
 

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11BodyImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11BodyImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11BodyImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11BodyImpl.java Mon Jul 11 08:49:30 2005
@@ -25,7 +25,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP11BodyImpl extends SOAPBodyImpl{
+public class SOAP11BodyImpl extends SOAPBodyImpl {
     /**
      * @param envelope
      */
@@ -43,8 +43,8 @@
         super(envelope, builder);
     }
 
-    public SOAPFault addFault(Exception e) throws OMException  {
-        SOAPFault soapFault =  new SOAP11Factory().createSOAPFault(this, e);
+    public SOAPFault addFault(Exception e) throws OMException {
+        SOAPFault soapFault = new SOAP11Factory().createSOAPFault(this, e);
         return soapFault;
     }
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Constants.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Constants.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Constants.java Mon Jul 11 08:49:30 2005
@@ -18,32 +18,32 @@
  * the License.
  * <p/>
  */
-public interface SOAP11Constants extends SOAPConstants{
+public interface SOAP11Constants extends SOAPConstants {
     /**
      * Eran Chinthaka (chinthaka@apache.org)
      */
-   public static final String SOAP_ENVELOPE_NAMESPACE_URI = "http://schemas.xmlsoap.org/soap/envelope/";
-   
-   /**
-    * Field ATTR_ACTOR
-    */
-   public static final String ATTR_ACTOR = "actor";
-   
-   /**
-    * Field SOAP_FAULT_CODE_LOCAL_NAME
-    */
-   public static final String SOAP_FAULT_CODE_LOCAL_NAME = "faultcode";
-   /**
-    * Field SOAP_FAULT_STRING_LOCAL_NAME
-    */
-   public static final String SOAP_FAULT_STRING_LOCAL_NAME = "faultstring";
-   /**
-    * Field SOAP_FAULT_ACTOR_LOCAL_NAME
-    */
-   public static final String SOAP_FAULT_ACTOR_LOCAL_NAME = "faultactor";
+    public static final String SOAP_ENVELOPE_NAMESPACE_URI = "http://schemas.xmlsoap.org/soap/envelope/";
 
-   public static final String SOAP_FAULT_DETAIL_LOCAL_NAME = "detail";
-   
-   //SOAP 1.2 Content Type
-   public static final String SOAP_11_CONTENT_TYPE = "text/xml";
+    /**
+     * Field ATTR_ACTOR
+     */
+    public static final String ATTR_ACTOR = "actor";
+
+    /**
+     * Field SOAP_FAULT_CODE_LOCAL_NAME
+     */
+    public static final String SOAP_FAULT_CODE_LOCAL_NAME = "faultcode";
+    /**
+     * Field SOAP_FAULT_STRING_LOCAL_NAME
+     */
+    public static final String SOAP_FAULT_STRING_LOCAL_NAME = "faultstring";
+    /**
+     * Field SOAP_FAULT_ACTOR_LOCAL_NAME
+     */
+    public static final String SOAP_FAULT_ACTOR_LOCAL_NAME = "faultactor";
+
+    public static final String SOAP_FAULT_DETAIL_LOCAL_NAME = "detail";
+
+    //SOAP 1.2 Content Type
+    public static final String SOAP_11_CONTENT_TYPE = "text/xml";
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Factory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Factory.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Factory.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11Factory.java Mon Jul 11 08:49:30 2005
@@ -156,13 +156,12 @@
     public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException {
         OMNamespace ns =
                 new OMNamespaceImpl(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
-                        SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
+                                    SOAP11Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
         SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns);
         SOAPHeader headerImpl = createSOAPHeader(env);
         SOAPBody bodyImpl = createSOAPBody(env);
         return env;
     }
-
 
 
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultCodeImpl.java Mon Jul 11 08:49:30 2005
@@ -32,7 +32,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP11FaultCodeImpl extends SOAPFaultCodeImpl{
+public class SOAP11FaultCodeImpl extends SOAPFaultCodeImpl {
     /**
      * Constructor OMElementImpl
      *
@@ -68,13 +68,13 @@
         super.setValue(value);
     }
 
-     protected void checkParent(OMElement parent) throws SOAPProcessingException {
+    protected void checkParent(OMElement parent) throws SOAPProcessingException {
         if (!(parent instanceof SOAP11FaultImpl)) {
             throw new SOAPProcessingException("Expecting SOAP 1.1 implementation of SOAP Fault as the parent. But received some other implementation");
         }
     }
 
-     protected void serialize(OMOutput omOutput, boolean cache) throws XMLStreamException {
+    protected void serialize(OMOutput omOutput, boolean cache) throws XMLStreamException {
 
         // select the builder
         short builderType = PULL_TYPE_BUILDER;    // default is pull type
@@ -88,11 +88,11 @@
 
         XMLStreamWriter writer = omOutput.getXmlStreamWriter();
         if (this.getNamespace() != null) {
-           String prefix = this.getNamespace().getPrefix();
-        String nameSpaceName = this.getNamespace().getName();
-        writer.writeStartElement(prefix, SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME,
-                                nameSpaceName);
-        }else{
+            String prefix = this.getNamespace().getPrefix();
+            String nameSpaceName = this.getNamespace().getName();
+            writer.writeStartElement(prefix, SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME,
+                                     nameSpaceName);
+        } else {
             writer.writeStartElement(SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME);
         }
 
@@ -105,16 +105,16 @@
         writer.writeEndElement();
 
         //serilize siblings
-            if (this.nextSibling != null) {
-                nextSibling.serialize(omOutput);
-            } else if (this.parent != null) {
-                if (!this.parent.isComplete()) {
-                    builder.setCache(cache);
-                    builder.next();
-                }
+        if (this.nextSibling != null) {
+            nextSibling.serialize(omOutput);
+        } else if (this.parent != null) {
+            if (!this.parent.isComplete()) {
+                builder.setCache(cache);
+                builder.next();
             }
+        }
 
     }
 
-    
+
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultDetailImpl.java Mon Jul 11 08:49:30 2005
@@ -53,7 +53,7 @@
 //        throw new UnsupportedOperationException();
 //    }
 
-     public void serialize(OMOutput omOutput, boolean cache) throws XMLStreamException {
+    public void serialize(OMOutput omOutput, boolean cache) throws XMLStreamException {
 
         // select the builder
         short builderType = PULL_TYPE_BUILDER;    // default is pull type
@@ -66,11 +66,11 @@
         }
         XMLStreamWriter writer = omOutput.getXmlStreamWriter();
         if (this.getNamespace() != null) {
-           String prefix = this.getNamespace().getPrefix();
-        String nameSpaceName = this.getNamespace().getName();
-        writer.writeStartElement(prefix, SOAP11Constants.SOAP_FAULT_DETAIL_LOCAL_NAME,
-                                nameSpaceName);
-        }else{
+            String prefix = this.getNamespace().getPrefix();
+            String nameSpaceName = this.getNamespace().getName();
+            writer.writeStartElement(prefix, SOAP11Constants.SOAP_FAULT_DETAIL_LOCAL_NAME,
+                                     nameSpaceName);
+        } else {
             writer.writeStartElement(SOAP11Constants.SOAP_FAULT_DETAIL_LOCAL_NAME);
         }
         OMSerializerUtil.serializeAttributes(this, omOutput);
@@ -93,5 +93,5 @@
 
     }
 
-    
+
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultImpl.java Mon Jul 11 08:49:30 2005
@@ -68,6 +68,7 @@
         }
         super.setCode(soapFaultCode);
     }
+
     public void setReason(SOAPFaultReason reason) throws SOAPProcessingException {
         if (!(reason instanceof SOAP11FaultReasonImpl)) {
             throw new SOAPProcessingException("Expecting SOAP 1.1 implementation of SOAP Fault Reason. But received some other implementation");
@@ -81,6 +82,7 @@
         }
         super.setNode(node);
     }
+
     public void setRole(SOAPFaultRole role) throws SOAPProcessingException {
         if (!(role instanceof SOAP11FaultRoleImpl)) {
             throw new SOAPProcessingException("Expecting SOAP 1.1 implementation of SOAP Fault Role. But received some other implementation");

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultReasonImpl.java Mon Jul 11 08:49:30 2005
@@ -72,11 +72,11 @@
 
         XMLStreamWriter writer = omOutput.getXmlStreamWriter();
         if (this.getNamespace() != null) {
-           String prefix = this.getNamespace().getPrefix();
-        String nameSpaceName = this.getNamespace().getName();
-        writer.writeStartElement(prefix, SOAP11Constants.SOAP_FAULT_STRING_LOCAL_NAME,
-                                nameSpaceName);
-        }else{
+            String prefix = this.getNamespace().getPrefix();
+            String nameSpaceName = this.getNamespace().getName();
+            writer.writeStartElement(prefix, SOAP11Constants.SOAP_FAULT_STRING_LOCAL_NAME,
+                                     nameSpaceName);
+        } else {
             writer.writeStartElement(SOAP11Constants.SOAP_FAULT_STRING_LOCAL_NAME);
         }
         OMSerializerUtil.serializeAttributes(this, omOutput);
@@ -98,5 +98,5 @@
 
     }
 
-   
+
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultRoleImpl.java Mon Jul 11 08:49:30 2005
@@ -62,11 +62,11 @@
             String prefix = this.getNamespace().getPrefix();
             String nameSpaceName = this.getNamespace().getName();
             writer.writeStartElement(prefix, SOAP11Constants.SOAP_FAULT_ACTOR_LOCAL_NAME,
-                    nameSpaceName);
+                                     nameSpaceName);
         } else {
             writer.writeStartElement(SOAP11Constants.SOAP_FAULT_ACTOR_LOCAL_NAME);
         }
-        OMSerializerUtil.serializeAttributes(this,omOutput);
+        OMSerializerUtil.serializeAttributes(this, omOutput);
         OMSerializerUtil.serializeNamespaces(this, omOutput);
 
         String text = this.getText();
@@ -85,5 +85,5 @@
 
     }
 
-   
+
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultSubCodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultSubCodeImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultSubCodeImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultSubCodeImpl.java Mon Jul 11 08:49:30 2005
@@ -27,7 +27,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP11FaultSubCodeImpl extends SOAPFaultSubCodeImpl{
+public class SOAP11FaultSubCodeImpl extends SOAPFaultSubCodeImpl {
     //changed
     public SOAP11FaultSubCodeImpl(SOAPFaultCode parent) throws SOAPProcessingException {
         super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME);

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultTextImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultTextImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultTextImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultTextImpl.java Mon Jul 11 08:49:30 2005
@@ -24,7 +24,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP11FaultTextImpl extends SOAPFaultTextImpl{
+public class SOAP11FaultTextImpl extends SOAPFaultTextImpl {
     public SOAP11FaultTextImpl(SOAPFaultReason parent) throws SOAPProcessingException {
         super(parent);
     }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultValueImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultValueImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultValueImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11FaultValueImpl.java Mon Jul 11 08:49:30 2005
@@ -23,7 +23,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP11FaultValueImpl extends SOAPFaultValueImpl{
+public class SOAP11FaultValueImpl extends SOAPFaultValueImpl {
     public SOAP11FaultValueImpl(OMElement parent) throws SOAPProcessingException {
         super(parent);
     }
@@ -34,8 +34,8 @@
 
 
     protected void checkParent(OMElement parent) throws SOAPProcessingException {
-       if (!((parent instanceof SOAP11FaultSubCodeImpl)|| (parent instanceof SOAP11FaultCodeImpl))) {
-            throw new SOAPProcessingException("Expecting SOAP 1.1 implementation of SOAP FaultSubCode or SOAP FaultCode as the parent. But received some other implementation."+parent.getClass());
+        if (!((parent instanceof SOAP11FaultSubCodeImpl) || (parent instanceof SOAP11FaultCodeImpl))) {
+            throw new SOAPProcessingException("Expecting SOAP 1.1 implementation of SOAP FaultSubCode or SOAP FaultCode as the parent. But received some other implementation." + parent.getClass());
         }
     }
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11HeaderImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11HeaderImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11HeaderImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap11/SOAP11HeaderImpl.java Mon Jul 11 08:49:30 2005
@@ -68,13 +68,12 @@
 
     public Iterator extractHeaderBlocks(String role) {
         return new OMChildrenWithSpecificAttributeIterator(getFirstChild(),
-                new QName(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
-                        SOAP11Constants.ATTR_ACTOR),
-                role,
-                true);
+                                                           new QName(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
+                                                                     SOAP11Constants.ATTR_ACTOR),
+                                                           role,
+                                                           true);
 
     }
 
-    
 
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12BodyImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12BodyImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12BodyImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12BodyImpl.java Mon Jul 11 08:49:30 2005
@@ -25,7 +25,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP12BodyImpl extends SOAPBodyImpl{
+public class SOAP12BodyImpl extends SOAPBodyImpl {
     /**
      * @param envelope
      */
@@ -43,7 +43,7 @@
         super(envelope, builder);
     }
 
-    public SOAPFault addFault(Exception e) throws OMException  {
+    public SOAPFault addFault(Exception e) throws OMException {
         SOAPFault soapFault = new SOAP12FaultImpl(this, e);
         addFault(soapFault);
         return soapFault;

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Constants.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Constants.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Constants.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Constants.java Mon Jul 11 08:49:30 2005
@@ -18,10 +18,9 @@
  * the License.
  * <p/>
  */
-public interface SOAP12Constants extends SOAPConstants{
+public interface SOAP12Constants extends SOAPConstants {
     /**
      * Eran Chinthaka (chinthaka@apache.org)
-     *
      */
 
     public String SOAP_ENVELOPE_NAMESPACE_URI =
@@ -57,7 +56,7 @@
 
     // SOAP Fault Role
     public static final String SOAP_FAULT_ROLE_LOCAL_NAME = "Role";
-    
+
     //SOAP 1.2 Content Type
     public static final String SOAP_12_CONTENT_TYPE = "application/soap+xml";
 }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Factory.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Factory.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Factory.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12Factory.java Mon Jul 11 08:49:30 2005
@@ -156,7 +156,7 @@
     public SOAPEnvelope getDefaultEnvelope() throws SOAPProcessingException {
         OMNamespace ns =
                 new OMNamespaceImpl(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI,
-                        SOAP12Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
+                                    SOAP12Constants.SOAP_DEFAULT_NAMESPACE_PREFIX);
         SOAPEnvelopeImpl env = new SOAPEnvelopeImpl(ns);
         SOAPHeader headerImpl = createSOAPHeader(env);
         SOAPBody bodyImpl = createSOAPBody(env);

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultCodeImpl.java Mon Jul 11 08:49:30 2005
@@ -24,7 +24,7 @@
  * the License.
  * <p/>
  */
-public class SOAP12FaultCodeImpl extends SOAPFaultCodeImpl{
+public class SOAP12FaultCodeImpl extends SOAPFaultCodeImpl {
     /**
      * Eran Chinthaka (chinthaka@apache.org)
      */
@@ -48,7 +48,6 @@
         super(parent, true);
     }
 
-   
 
     public void setSubCode(SOAPFaultSubCode subCode) throws SOAPProcessingException {
         if (!(subCode instanceof SOAP12FaultSubCodeImpl)) {
@@ -64,7 +63,7 @@
         super.setValue(value);
     }
 
-     protected void checkParent(OMElement parent) throws SOAPProcessingException {
+    protected void checkParent(OMElement parent) throws SOAPProcessingException {
         if (!(parent instanceof SOAP12FaultImpl)) {
             throw new SOAPProcessingException("Expecting SOAP 1.2 implementation of SOAP Fault as the parent. But received some other implementation");
         }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultDetailImpl.java Mon Jul 11 08:49:30 2005
@@ -24,8 +24,8 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP12FaultDetailImpl extends SOAPFaultDetailImpl{
-      public SOAP12FaultDetailImpl(SOAPFault parent) throws SOAPProcessingException {
+public class SOAP12FaultDetailImpl extends SOAPFaultDetailImpl {
+    public SOAP12FaultDetailImpl(SOAPFault parent) throws SOAPProcessingException {
         super(parent, true);
     }
 

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java Mon Jul 11 08:49:30 2005
@@ -24,7 +24,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP12FaultNodeImpl extends SOAPFaultNodeImpl{
+public class SOAP12FaultNodeImpl extends SOAPFaultNodeImpl {
     public SOAP12FaultNodeImpl(SOAPFault parent) throws SOAPProcessingException {
         super(parent);
     }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultReasonImpl.java Mon Jul 11 08:49:30 2005
@@ -23,7 +23,7 @@
  * the License.
  * <p/>
  */
-public class SOAP12FaultReasonImpl extends SOAPFaultReasonImpl{
+public class SOAP12FaultReasonImpl extends SOAPFaultReasonImpl {
     /**
      * Eran Chinthaka (chinthaka@apache.org)
      */

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultRoleImpl.java Mon Jul 11 08:49:30 2005
@@ -24,8 +24,8 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP12FaultRoleImpl extends SOAPFaultRoleImpl{
-      public SOAP12FaultRoleImpl(SOAPFault parent) throws SOAPProcessingException {
+public class SOAP12FaultRoleImpl extends SOAPFaultRoleImpl {
+    public SOAP12FaultRoleImpl(SOAPFault parent) throws SOAPProcessingException {
         super(parent, true);
     }
 

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultSubCodeImpl.java Mon Jul 11 08:49:30 2005
@@ -26,7 +26,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP12FaultSubCodeImpl extends SOAPFaultSubCodeImpl{
+public class SOAP12FaultSubCodeImpl extends SOAPFaultSubCodeImpl {
     //changed
     public SOAP12FaultSubCodeImpl(SOAPFaultCode parent) throws SOAPProcessingException {
         super(parent, SOAP12Constants.SOAP_FAULT_SUB_CODE_LOCAL_NAME);

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultTextImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultTextImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultTextImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultTextImpl.java Mon Jul 11 08:49:30 2005
@@ -24,8 +24,8 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP12FaultTextImpl extends SOAPFaultTextImpl{
-   public SOAP12FaultTextImpl(SOAPFaultReason parent) throws SOAPProcessingException {
+public class SOAP12FaultTextImpl extends SOAPFaultTextImpl {
+    public SOAP12FaultTextImpl(SOAPFaultReason parent) throws SOAPProcessingException {
         super(parent);
     }
 

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultValueImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultValueImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultValueImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12FaultValueImpl.java Mon Jul 11 08:49:30 2005
@@ -23,7 +23,7 @@
  * author : Eran Chinthaka (chinthaka@apache.org)
  */
 
-public class SOAP12FaultValueImpl extends SOAPFaultValueImpl{
+public class SOAP12FaultValueImpl extends SOAPFaultValueImpl {
     public SOAP12FaultValueImpl(OMElement parent) throws SOAPProcessingException {
         super(parent);
     }
@@ -33,7 +33,7 @@
     }
 
     protected void checkParent(OMElement parent) throws SOAPProcessingException {
-        if (!((parent instanceof SOAP12FaultSubCodeImpl)|| (parent instanceof SOAP12FaultCodeImpl))) {
+        if (!((parent instanceof SOAP12FaultSubCodeImpl) || (parent instanceof SOAP12FaultCodeImpl))) {
             throw new SOAPProcessingException("Expecting SOAP 1.2 implementation of SOAP FaultSubCode or SOAP FaultCode as the parent. But received some other implementation");
         }
     }

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderBlockImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderBlockImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderBlockImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderBlockImpl.java Mon Jul 11 08:49:30 2005
@@ -47,7 +47,7 @@
      */
     public SOAP12HeaderBlockImpl(String localName, OMNamespace ns, SOAPHeader parent, OMXMLParserWrapper builder) {
         super(localName, ns, parent, builder);
-        
+
     }
 
     protected void checkParent(OMElement parent) throws SOAPProcessingException {
@@ -78,16 +78,16 @@
         }
     }
 
-    public boolean getMustUnderstand() throws SOAPProcessingException{
+    public boolean getMustUnderstand() throws SOAPProcessingException {
         String mustUnderstand = "";
         if ((mustUnderstand = getAttribute(SOAPConstants.ATTR_MUSTUNDERSTAND, SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI))
                 != null) {
             if (SOAPConstants.ATTR_MUSTUNDERSTAND_TRUE.equalsIgnoreCase(mustUnderstand) || SOAPConstants.ATTR_MUSTUNDERSTAND_1.equalsIgnoreCase(mustUnderstand)) {
                 return true;
-            }else if (SOAPConstants.ATTR_MUSTUNDERSTAND_FALSE.equalsIgnoreCase(mustUnderstand) || SOAPConstants.ATTR_MUSTUNDERSTAND_0.equalsIgnoreCase(mustUnderstand)) {
+            } else if (SOAPConstants.ATTR_MUSTUNDERSTAND_FALSE.equalsIgnoreCase(mustUnderstand) || SOAPConstants.ATTR_MUSTUNDERSTAND_0.equalsIgnoreCase(mustUnderstand)) {
                 return false;
-            }else{
-                throw new SOAPProcessingException("Invalid value found in mustUnderstand value of "+this.getLocalName() + " header block");
+            } else {
+                throw new SOAPProcessingException("Invalid value found in mustUnderstand value of " + this.getLocalName() + " header block");
             }
         }
         return false;

Modified: webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderImpl.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderImpl.java?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderImpl.java (original)
+++ webservices/axis/trunk/java/modules/xml/src/org/apache/axis2/soap/impl/llom/soap12/SOAP12HeaderImpl.java Mon Jul 11 08:49:30 2005
@@ -73,10 +73,10 @@
 
     public Iterator extractHeaderBlocks(String role) {
         return new OMChildrenWithSpecificAttributeIterator(getFirstChild(),
-                new QName(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI,
-                        SOAP12Constants.SOAP_ROLE),
-                role,
-                true);
+                                                           new QName(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI,
+                                                                     SOAP12Constants.SOAP_ROLE),
+                                                           role,
+                                                           true);
     }
 
 }

Modified: webservices/axis/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/badsoap/bodyNotQualified.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/badsoap/envelopeMissing.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-              xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/badsoap/haederBodyWrongOrder.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Body>
         <axis2:echoVoid xmlns:axis2="http://ws.apache.org/axis2">
         </axis2:echoVoid>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoBodymessage.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/badsoap/twoheaders.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/badsoap/wrongSoapNs.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/badsoap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/non_soap.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/non_soap.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/non_soap.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/non_soap.xml Mon Jul 11 08:49:30 2005
@@ -1,5 +1,5 @@
 <ns1:Root xmlns:ns1="http://www.apache.org"
-          xmlns:ns2="http://www.opensource.lk">
+    xmlns:ns2="http://www.opensource.lk">
     <ns2:developers xmlns:ns3="http://www.whatever.com">
         <ns3:developer>
             <name>Davanum Srinivas</name>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/OMElementTest.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/emtyBodymessage.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/invalidMustUnderstandSOAP12.xml Mon Jul 11 08:49:30 2005
@@ -1,6 +1,6 @@
 <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:xml="http://www.w3.org/XML/1998/namespace">
     <env:Header>
-         <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
+        <test2:echoOk2 xmlns:test2="http://example2.org/ts-tests"
             env:role="http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver"
             env:mustUnderstand="someOtherValue"
             env:anyAttribute="any value">

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/reallyReallyBigMessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/reallyReallyBigMessage.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/reallyReallyBigMessage.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/reallyReallyBigMessage.xml Mon Jul 11 08:49:30 2005
@@ -1,29 +1,29 @@
 <?xml version='1.0' ?>
 <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
-              xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <env:Header>
 
         <wsdl:definitions targetNamespace="http://echo.services"
-                          xmlns="http://schemas.xmlsoap.org/wsdl/"
-                          xmlns:impl="http://echo.services-impl"
-                          xmlns:intf="http://echo.services"
-                          xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
-                          xmlns:tns1="http://types.echo.services"
-                          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
-                          xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
-                          xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+            xmlns="http://schemas.xmlsoap.org/wsdl/"
+            xmlns:impl="http://echo.services-impl"
+            xmlns:intf="http://echo.services"
+            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
+            xmlns:tns1="http://types.echo.services"
+            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+            xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
+            xmlns:xsd="http://www.w3.org/2001/XMLSchema">
             <wsdl:types>
                 <schema targetNamespace="http://types.echo.services"
-                        xmlns="http://www.w3.org/2001/XMLSchema">
+                    xmlns="http://www.w3.org/2001/XMLSchema">
                     <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
                     <complexType name="MyComplexType">
                         <sequence>
                             <element name="simpleItem" nillable="true"
-                                     type="xsd:string"/>
+                                type="xsd:string"/>
                         </sequence>
                     </complexType>
                     <element name="MyElement" nillable="true"
-                             type="tns1:MyComplexType"/>
+                        type="tns1:MyComplexType"/>
                 </schema>
             </wsdl:types>
             <wsdl:message name="echoRequest">
@@ -36,29 +36,29 @@
                 <wsdl:operation name="echo" parameterOrder="MyElement">
                     <wsdl:input message="intf:echoRequest" name="echoRequest"/>
                     <wsdl:output message="intf:echoResponse"
-                                 name="echoResponse"/>
+                        name="echoResponse"/>
                 </wsdl:operation>
             </wsdl:portType>
             <wsdl:binding name="ComplexEchoServiceSoapBinding"
-                          type="intf:Echo1">
+                type="intf:Echo1">
                 <wsdlsoap:binding style="document"
-                                  transport="http://schemas.xmlsoap.org/soap/http"/>
+                    transport="http://schemas.xmlsoap.org/soap/http"/>
                 <wsdl:operation name="echo">
                     <wsdlsoap:operation soapAction=""/>
                     <wsdl:input name="echoRequest">
                         <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-                                       namespace="http://types.echo.services"
-                                       use="literal"/>
+                            namespace="http://types.echo.services"
+                            use="literal"/>
                     </wsdl:input>
                     <wsdl:output name="echoResponse">
                         <wsdlsoap:body namespace="http://types.echo.services"
-                                       use="literal"/>
+                            use="literal"/>
                     </wsdl:output>
                 </wsdl:operation>
             </wsdl:binding>
             <wsdl:service name="ComplexEchoService">
                 <wsdl:port binding="intf:ComplexEchoServiceSoapBinding"
-                           name="ComplexEchoService">
+                    name="ComplexEchoService">
                     <wsdlsoap:address
                         location="http://localhost:8080/axis/services/ComplexEchoService"/>
                 </wsdl:port>
@@ -111,7 +111,7 @@
                         <xsd:complexContent>
                             <xsd:restriction base="soapenc:Array">
                                 <xsd:attribute ref="soapenc:arrayType"
-                                               wsdl:arrayType="xsd:string[]"/>
+                                    wsdl:arrayType="xsd:string[]"/>
                             </xsd:restriction>
                         </xsd:complexContent>
                     </xsd:complexType>
@@ -120,7 +120,7 @@
                         <xsd:complexContent>
                             <xsd:restriction base="soapenc:Array">
                                 <xsd:attribute ref="soapenc:arrayType"
-                                               wsdl:arrayType="xsd:base64Binary[]"/>
+                                    wsdl:arrayType="xsd:base64Binary[]"/>
                             </xsd:restriction>
                         </xsd:complexContent>
                     </xsd:complexType>
@@ -181,24 +181,24 @@
                             <xsd:element name="stock_quote">
                                 <xsd:complexType>
                                     <xsd:attribute name="symbol"
-                                                   type="xsd:string"/>
+                                        type="xsd:string"/>
                                     <xsd:sequence>
 
                                         <xsd:element name="time"
-                                                     type="typens:time"/>
+                                            type="typens:time"/>
                                         <xsd:element name="change"
-                                                     type="typens:simpleFwd"/>
+                                            type="typens:simpleFwd"/>
                                         <xsd:element name="pctchange"
-                                                     type="xsd:string"/>
+                                            type="xsd:string"/>
                                         <xsd:element name="bid"
-                                                     type="xsd:string"/>
+                                            type="xsd:string"/>
                                         <xsd:element name="ask"
-                                                     type="xsd:string"/>
+                                            type="xsd:string"/>
                                         <xsd:element name="choice"
-                                                     type="typens:complexChoice"/>
+                                            type="typens:complexChoice"/>
                                     </xsd:sequence>
                                     <xsd:attribute name="last"
-                                                   type="xsd:string"/>
+                                        type="xsd:string"/>
                                 </xsd:complexType>
                             </xsd:element>
                             <xsd:element name="outside" type="xsd:int"/>
@@ -229,7 +229,7 @@
                         <xsd:complexContent>
                             <xsd:restriction base="soapenc:Array">
                                 <xsd:attribute ref="soapenc:arrayType"
-                                               wsdl:arrayType="typens:arrayM2[]"/>
+                                    wsdl:arrayType="typens:arrayM2[]"/>
                             </xsd:restriction>
                         </xsd:complexContent>
                     </xsd:complexType>
@@ -237,7 +237,7 @@
                         <xsd:complexContent>
                             <xsd:restriction base="soapenc:Array">
                                 <xsd:attribute ref="soapenc:arrayType"
-                                               wsdl:arrayType="typens:arrayM3[]"/>
+                                    wsdl:arrayType="typens:arrayM3[]"/>
                             </xsd:restriction>
                         </xsd:complexContent>
                     </xsd:complexType>
@@ -245,7 +245,7 @@
                         <xsd:complexContent>
                             <xsd:restriction base="soapenc:Array">
                                 <xsd:attribute ref="soapenc:arrayType"
-                                               wsdl:arrayType="xsd:int[]"/>
+                                    wsdl:arrayType="xsd:int[]"/>
                             </xsd:restriction>
                         </xsd:complexContent>
                     </xsd:complexType>
@@ -254,17 +254,17 @@
                     <xsd:complexType name="Animal">
                         <xsd:all>
                             <xsd:element name="Name" nillable="true"
-                                         type="xsd:string"/>
+                                type="xsd:string"/>
                         </xsd:all>
                     </xsd:complexType>
                     <xsd:element name="Animal" nillable="true"
-                                 type="typens:Animal"/>
+                        type="typens:Animal"/>
                     <xsd:complexType name="Cat">
                         <xsd:complexContent>
                             <xsd:extension base="typens:Animal">
                                 <xsd:all>
                                     <xsd:element name="Purr" nillable="true"
-                                                 type="xsd:string"/>
+                                        type="xsd:string"/>
                                 </xsd:all>
                             </xsd:extension>
                         </xsd:complexContent>
@@ -276,7 +276,7 @@
                             <xsd:extension base="typens:Cat">
                                 <xsd:all>
                                     <xsd:element name="Color"
-                                                 type="xsd:string"/>
+                                        type="xsd:string"/>
                                     <xsd:element name="Toy"/>
                                 </xsd:all>
                             </xsd:extension>
@@ -382,20 +382,20 @@
 
 
                     <xsd:element name="StringParameter"
-                                 type="typens:StringParameter"/>
+                        type="typens:StringParameter"/>
                     <xsd:complexType name="StringParameter">
                         <xsd:simpleContent>
                             <xsd:extension base="xsd:string">
                                 <xsd:attribute name="numBytes"
-                                               type="soapenc:int"/>
+                                    type="soapenc:int"/>
                                 <xsd:attribute name="storageEncoding"
-                                               type="xsd:string"/>
+                                    type="xsd:string"/>
                                 <xsd:attribute name="direction"
-                                               type="typens:flowDirectionType"/>
+                                    type="typens:flowDirectionType"/>
                                 <xsd:attribute name="passMode"
-                                               type="typens:passModeType"/>
+                                    type="typens:passModeType"/>
                                 <xsd:attribute name="description"
-                                               type="xsd:string"/>
+                                    type="xsd:string"/>
                             </xsd:extension>
                         </xsd:simpleContent>
                     </xsd:complexType>
@@ -410,14 +410,14 @@
                         <xsd:complexContent>
                             <xsd:restriction base="soapenc:Array">
                                 <xsd:attribute ref="soapenc:arrayType"
-                                               wsdl:arrayType="xsd:QName[]"/>
+                                    wsdl:arrayType="xsd:QName[]"/>
                             </xsd:restriction>
                         </xsd:complexContent>
                     </xsd:complexType>
 
 
                     <xsd:element name="three" type="typens:enum"
-                                 maxOccurs="unbounded"/>
+                        maxOccurs="unbounded"/>
 
 
                     <xsd:element name="a" type="xsd:short"/>
@@ -677,13 +677,13 @@
 
             <message name="inputNonNegativeInteger">
                 <part name="inNonNegativeInteger"
-                      type="xsd:nonNegativeInteger"/>
+                    type="xsd:nonNegativeInteger"/>
                 <part name="NonNegativeInteger" type="xsd:nonNegativeInteger"/>
             </message>
 
             <message name="outputNonNegativeInteger">
                 <part name="outNonNegativeInteger"
-                      type="xsd:nonNegativeInteger"/>
+                    type="xsd:nonNegativeInteger"/>
                 <part name="NonNegativeInteger" type="xsd:nonNegativeInteger"/>
             </message>
 
@@ -699,13 +699,13 @@
 
             <message name="inputNonPositiveInteger">
                 <part name="inNonPositiveInteger"
-                      type="xsd:nonPositiveInteger"/>
+                    type="xsd:nonPositiveInteger"/>
                 <part name="NonPositiveInteger" type="xsd:nonPositiveInteger"/>
             </message>
 
             <message name="outputNonPositiveInteger">
                 <part name="outNonPositiveInteger"
-                      type="xsd:nonPositiveInteger"/>
+                    type="xsd:nonPositiveInteger"/>
                 <part name="NonPositiveInteger" type="xsd:nonPositiveInteger"/>
             </message>
 
@@ -1026,7 +1026,7 @@
                     <output message="tns:complexSequence"/>
                 </operation>
                 <operation name="complexSequenceOut"
-                           parameterOrder="complexSequence">
+                    parameterOrder="complexSequence">
                     <input message="tns:empty"/>
                     <output message="tns:complexSequence"/>
                 </operation>
@@ -1043,7 +1043,7 @@
                     <output message="tns:complexWComplex"/>
                 </operation>
                 <operation name="complexWComplexOut"
-                           parameterOrder="complexWComplex">
+                    parameterOrder="complexWComplex">
                     <input message="tns:empty"/>
                     <output message="tns:complexWComplex"/>
                 </operation>
@@ -1052,19 +1052,19 @@
                     <output message="tns:complexWComplex"/>
                 </operation>
                 <operation name="emptyComplexTypeIn"
-                           parameterOrder="emptyComplexType">
+                    parameterOrder="emptyComplexType">
                     <input message="tns:emptyComplexType"/>
                     <output message="tns:empty"/>
                     <fault name="emptyFault" message="tns:emptyFault"/>
                 </operation>
                 <operation name="emptyComplexTypeInout"
-                           parameterOrder="emptyComplexType">
+                    parameterOrder="emptyComplexType">
                     <input message="tns:emptyComplexType"/>
                     <output message="tns:emptyComplexType"/>
                     <fault name="emptyFault" message="tns:emptyFault"/>
                 </operation>
                 <operation name="emptyComplexTypeOut"
-                           parameterOrder="emptyComplexType">
+                    parameterOrder="emptyComplexType">
                     <input message="tns:empty"/>
                     <output message="tns:emptyComplexType"/>
                     <fault name="emptyFault" message="tns:emptyFault"/>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/security2-soap.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/security2-soap.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/security2-soap.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/security2-soap.xml Mon Jul 11 08:49:30 2005
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
-            xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
-            xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"
-            xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
+    xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
+    xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext"
+    xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
     <S:Header>
         <m:path xmlns:m="http://schemas.xmlsoap.org/rp">
             <m:action>http://fabrikam123.com/getQuote</m:action>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11fault.xml Mon Jul 11 08:49:30 2005
@@ -1,16 +1,16 @@
  <SOAP-ENV:Envelope
-  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
+     xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
      <SOAP-ENV:Header>
          <TestHeader>Test</TestHeader>
      </SOAP-ENV:Header>
-   <SOAP-ENV:Body>
-       <SOAP-ENV:Fault>
-           <faultcode>SOAP-ENV:MustUnderstand</faultcode>
-           <faultstring>SOAP Must Understand Error</faultstring>
-           <faultactor>Actor</faultactor>
-           <detail>Detail text
-               <SomeElement>Some Element Text</SomeElement>
-           </detail>
-       </SOAP-ENV:Fault>
-   </SOAP-ENV:Body>
-</SOAP-ENV:Envelope>
\ No newline at end of file
+     <SOAP-ENV:Body>
+         <SOAP-ENV:Fault>
+             <faultcode>SOAP-ENV:MustUnderstand</faultcode>
+             <faultstring>SOAP Must Understand Error</faultstring>
+             <faultactor>Actor</faultactor>
+             <detail>Detail text
+                 <SomeElement>Some Element Text</SomeElement>
+             </detail>
+         </SOAP-ENV:Fault>
+     </SOAP-ENV:Body>
+ </SOAP-ENV:Envelope>
\ No newline at end of file

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/soap11/soap11message.xml Mon Jul 11 08:49:30 2005
@@ -4,19 +4,19 @@
     xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:From soapenv:mustUnderstand="0"
-                  soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next">
+            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next">
             <Address xmlns="http://schemas.xmlsoap.org/ws/2004/03/addressing">
                 http://schemas.xmlsoap.org/ws/2004/03/addressing/role/anonymous
             </Address>
         </wsa:From>
         <test:MessageID xmlns:test="http://example.org/ts-tests"
-                       soapenv:mustUnderstand="1"
-                       soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
-                       soapenv:anyAttribute="any value">
+            soapenv:mustUnderstand="1"
+            soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
+            soapenv:anyAttribute="any value">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5
         </test:MessageID>
         <wsa:To soapenv:mustUnderstand="0"
-                soapenv:anyAttribute="any value">
+            soapenv:anyAttribute="any value">
             http://localhost:8081/axis/services/BankPort
         </wsa:To>
     </soapenv:Header>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/soapmessage1.xml Mon Jul 11 08:49:30 2005
@@ -1,7 +1,7 @@
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
-                  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
-                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                  xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
     <soapenv:Header>
         <wsa:MessageID soapenv:mustUnderstand="0">
             uuid:920C5190-0B8F-11D9-8CED-F22EDEEBF7E5</wsa:MessageID>
@@ -15,13 +15,13 @@
     </soapenv:Header>
     <soapenv:Body>
         <ns1:getBalance soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-                        xmlns:ns1="http://localhost:8081/axis/services/BankPort">
+            xmlns:ns1="http://localhost:8081/axis/services/BankPort">
             <ns1:accountNo href="#id0"/>
         </ns1:getBalance>
         <multiRef xmlns="tempUri" id="id0" soapenc:root="0"
-                  soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
-                  xsi:type="xsd:int"
-                  xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1001
+            soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
+            xsi:type="xsd:int"
+            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">1001
         </multiRef>
     </soapenv:Body>
 </soapenv:Envelope>

Modified: webservices/axis/trunk/java/modules/xml/test-resources/soap/whitespacedMessage.xml
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/xml/test-resources/soap/whitespacedMessage.xml?rev=210150&r1=210149&r2=210150&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/xml/test-resources/soap/whitespacedMessage.xml (original)
+++ webservices/axis/trunk/java/modules/xml/test-resources/soap/whitespacedMessage.xml Mon Jul 11 08:49:30 2005
@@ -1,6 +1,6 @@
 <?xml version='1.0' ?>
 <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
-              xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
+    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
 
     <env:Header>