ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Veithen <andreas.veit...@gmail.com>
Subject Re: svn commit: r1059523 - in /webservices/commons/trunk/modules/axiom/modules: axiom-api/src/test/java/org/apache/axiom/soap/ axiom-testsuite/src/main/java/org/apache/axiom/ts/ axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/ axiom-testsuite/
Date Wed, 19 Jan 2011 20:39:45 GMT
Glen,

SOAPSpec is meant to define methods that are only useful in the test
suite. I don't want to pollute SOAPVersion with those methods. The
reason SOAPSpec uses strings is simply that it is the result of a
refactoring and the original code used strings.

To summarize: there is a good reason to have a class that is distinct
from SOAPVersion, but it should indeed reuse the SOAPVersion stuff.
Since this is not possible by inheritance in this case, it should do
so by composition, as in the following piece of code:

http://code.google.com/p/ddom/source/browse/trunk/modules/ddom-frontend-axiom-soap/src/main/java/com/google/code/ddom/frontend/axiom/soap/support/SOAPVersionEx.java

I'll keep that on my todo list.

Andreas

On Sun, Jan 16, 2011 at 12:38, Glen Daniels <glen@thoughtcraft.com> wrote:
> Hi Andreas,
>
> Doesn't org.apache.axiom.soap.SOAPVersion basically already get you what you
> want with SOAPSpec below?  True it's in terms of QNames rather than String
> localNames, but that seems easy to resolve either by refactoring or simply
> by comparing the QName in the tests instead of just the local part?
>
> Thanks,
> --Glen
>
> On 1/16/11 4:39 AM, veithen@apache.org wrote:
>>
>> Author: veithen
>> Date: Sun Jan 16 09:39:09 2011
>> New Revision: 1059523
>>
>> URL: http://svn.apache.org/viewvc?rev=1059523&view=rev
>> Log:
>> Simplified the way different SOAP versions are handled in the test suite.
>>
>> Added:
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPSpec.java
>>   (with props)
>> Modified:
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP11FaultTestBase.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP12FaultTestBase.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPFaultTestBase.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/SOAPTestSuiteBuilder.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault1.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault2.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFault.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFaultWithParser.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFault.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFaultWithParser.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestAddHeaderToIncompleteEnvelope.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestBodyHeaderOrder.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestDiscardHeader.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBody.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEmptyEnvelope.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEnvelopeWithHeaderOnly.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyWithParser.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeader.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeaderWithParser.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetSOAPBodyFirstElementLocalNameAndNS.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestGetDefaultFaultEnvelope.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestAddDetailEntry.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntries.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntriesWithParser.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestSerialization.java
>>
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestWSCommons202.java
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP11FaultTestBase.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP11FaultTestBase.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP11FaultTestBase.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP11FaultTestBase.java
>> Sun Jan 16 09:39:09 2011
>> @@ -23,11 +23,7 @@ import org.apache.axiom.om.OMMetaFactory
>>
>>  public class SOAP11FaultTestBase extends SOAPFaultTestBase {
>>      public SOAP11FaultTestBase(OMMetaFactory omMetaFactory) {
>> -        super(omMetaFactory, SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI,
>> -                SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME,
>> -                SOAP11Constants.SOAP_FAULT_STRING_LOCAL_NAME,
>> -                SOAP11Constants.SOAP_FAULT_ACTOR_LOCAL_NAME,
>> -                SOAP11Constants.SOAP_FAULT_DETAIL_LOCAL_NAME);
>> +        super(omMetaFactory, SOAPSpec.SOAP11);
>>      }
>>
>>      public void testSetNode() {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP12FaultTestBase.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP12FaultTestBase.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP12FaultTestBase.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAP12FaultTestBase.java
>> Sun Jan 16 09:39:09 2011
>> @@ -23,11 +23,7 @@ import org.apache.axiom.om.OMMetaFactory
>>
>>  public class SOAP12FaultTestBase extends SOAPFaultTestBase {
>>      public SOAP12FaultTestBase(OMMetaFactory omMetaFactory) {
>> -        super(omMetaFactory, SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI,
>> -                SOAP12Constants.SOAP_FAULT_CODE_LOCAL_NAME,
>> -                SOAP12Constants.SOAP_FAULT_REASON_LOCAL_NAME,
>> -                SOAP12Constants.SOAP_FAULT_ROLE_LOCAL_NAME,
>> -                SOAP12Constants.SOAP_FAULT_DETAIL_LOCAL_NAME);
>> +        super(omMetaFactory, SOAPSpec.SOAP12);
>>      }
>>
>>      public void testSetNode() {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPFaultTestBase.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPFaultTestBase.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPFaultTestBase.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPFaultTestBase.java
>> Sun Jan 16 09:39:09 2011
>> @@ -22,20 +22,12 @@ package org.apache.axiom.soap;
>>  import org.apache.axiom.om.OMMetaFactory;
>>
>>  public class SOAPFaultTestBase extends UnifiedSOAPTestCase {
>> -    protected final String faultCodeLocalName;
>> -    protected final String faultReasonLocalName;
>> -    protected final String faultRoleLocalName;
>> -    protected final String faultDetailLocalName;
>> +    protected final SOAPSpec spec;
>>      protected SOAPFactory altSoapFactory;
>>
>> -    public SOAPFaultTestBase(OMMetaFactory omMetaFactory, String
>> envelopeNamespaceURI,
>> -            String faultCodeLocalName, String faultReasonLocalName,
>> String faultRoleLocalName,
>> -            String faultDetailLocalName) {
>> -        super(omMetaFactory, envelopeNamespaceURI);
>> -        this.faultCodeLocalName = faultCodeLocalName;
>> -        this.faultReasonLocalName = faultReasonLocalName;
>> -        this.faultRoleLocalName = faultRoleLocalName;
>> -        this.faultDetailLocalName = faultDetailLocalName;
>> +    public SOAPFaultTestBase(OMMetaFactory omMetaFactory, SOAPSpec spec)
>> {
>> +        super(omMetaFactory, spec.getEnvelopeNamespaceURI());
>> +        this.spec = spec;
>>      }
>>
>>      protected void setUp() throws Exception {
>> @@ -52,7 +44,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getCode());
>>          assertTrue("Fault Test:- Code local name mismatch",
>>                     soapFault.getCode().getLocalName().equals(
>> -                           faultCodeLocalName));
>> +                           spec.getFaultCodeLocalName()));
>>          try {
>>              soapFault.setCode(altSoapFactory.createSOAPFaultCode());
>>              fail("SOAPFaultCode should not be set in to a SOAPFault for a
>> different SOAP version");
>> @@ -72,7 +64,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getCode() == null);
>>          assertTrue("Fault Test:- Fault code local name mismatch",
>>                     soapFault.getCode().getLocalName().equals(
>> -                           faultCodeLocalName));
>> +                           spec.getFaultCodeLocalName()));
>>      }
>>
>>      public void testSetReason() {
>> @@ -83,7 +75,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getReason() == null);
>>          assertTrue("Fault Test:- Fault reason local name mismatch",
>>                     soapFault.getReason().getLocalName().equals(
>> -                           faultReasonLocalName));
>> +                           spec.getFaultReasonLocalName()));
>>          try {
>>              soapFault.setReason(altSoapFactory.createSOAPFaultReason());
>>              fail("SOAPFaultReason should not be set in to a SOAPFault for
>> a different SOAP version");
>> @@ -104,7 +96,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getReason() == null);
>>          assertTrue("Fault Test:- Fault reason local name mismatch",
>>                     soapFault.getReason().getLocalName().equals(
>> -                           faultReasonLocalName));
>> +                           spec.getFaultReasonLocalName()));
>>      }
>>
>>      public void testSetRole() {
>> @@ -115,7 +107,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getRole() == null);
>>          assertTrue("Fault Test:- Fault role local name mismatch",
>>                     soapFault.getRole().getLocalName().equals(
>> -                           faultRoleLocalName));
>> +                           spec.getFaultRoleLocalName()));
>>          try {
>>              soapFault.setRole(altSoapFactory.createSOAPFaultRole());
>>              fail("SOAPFaultRole should not be set in to a SOAPFault for a
>> different SOAP version");
>> @@ -135,7 +127,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getRole() == null);
>>          assertTrue("Fault Test:- Fault role local name mismatch",
>>                     soapFault.getRole().getLocalName().equals(
>> -                           faultRoleLocalName));
>> +                           spec.getFaultRoleLocalName()));
>>      }
>>
>>      public void testSetDetail() {
>> @@ -146,7 +138,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getDetail() == null);
>>          assertTrue("Fault Test:- Fault detail local name mismatch",
>>                     soapFault.getDetail().getLocalName().equals(
>> -                           faultDetailLocalName));
>> +                           spec.getFaultDetailLocalName()));
>>          try {
>>              soapFault.setDetail(altSoapFactory.createSOAPFaultDetail());
>>              fail("SOAPFaultDetail should not be set in to a SOAPFault for
>> a different SOAP version");
>> @@ -166,7 +158,7 @@ public class SOAPFaultTestBase extends U
>>                  soapFault.getDetail() == null);
>>          assertTrue("Fault Test:- Fault detail local name mismatch",
>>                     soapFault.getDetail().getLocalName().equals(
>> -                           faultDetailLocalName));
>> +                           spec.getFaultDetailLocalName()));
>>      }
>>
>>      // Fault Test (With parser)
>> @@ -178,7 +170,7 @@ public class SOAPFaultTestBase extends U
>>          assertTrue(
>>                  "Fault Test with parser: - Fault code local name
>> mismatch",
>>                  soapFaultWithParser.getCode().getLocalName().equals(
>> -                        faultCodeLocalName));
>> +                        spec.getFaultCodeLocalName()));
>>      }
>>
>>      public void testGetReasonWithParser() {
>> @@ -189,7 +181,7 @@ public class SOAPFaultTestBase extends U
>>          assertTrue(
>>                  "Fault Test with parser: - Fault reason local name
>> mismatch",
>>                  soapFaultWithParser.getReason().getLocalName().equals(
>> -                        faultReasonLocalName));
>> +                        spec.getFaultReasonLocalName()));
>>      }
>>
>>      public void testGetRoleWithParser() {
>> @@ -200,7 +192,7 @@ public class SOAPFaultTestBase extends U
>>          assertTrue(
>>                  "Fault Test with parser: - Fault role local name
>> mismatch",
>>                  soapFaultWithParser.getRole().getLocalName().equals(
>> -                        faultRoleLocalName));
>> +                        spec.getFaultRoleLocalName()));
>>      }
>>
>>      public void testGetDetailWithParser() {
>> @@ -211,6 +203,6 @@ public class SOAPFaultTestBase extends U
>>          assertTrue(
>>                  "Fault Test with parser: - Fault detail local name
>> mismatch",
>>                  soapFaultWithParser.getDetail().getLocalName().equals(
>> -                        faultDetailLocalName));
>> +                        spec.getFaultDetailLocalName()));
>>      }
>>  }
>> \ No newline at end of file
>>
>> Added:
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPSpec.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPSpec.java?rev=1059523&view=auto
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPSpec.java
>> (added)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPSpec.java
>> Sun Jan 16 09:39:09 2011
>> @@ -0,0 +1,95 @@
>> +/*
>> + * Licensed to the Apache Software Foundation (ASF) under one
>> + * or more contributor license agreements. See the NOTICE file
>> + * distributed with this work for additional information
>> + * regarding copyright ownership. The ASF licenses this file
>> + * to you under the Apache License, Version 2.0 (the
>> + * "License"); you may not use this file except in compliance
>> + * with the License. You may obtain a copy of the License at
>> + *
>> + * http://www.apache.org/licenses/LICENSE-2.0
>> + *
>> + * Unless required by applicable law or agreed to in writing,
>> + * software distributed under the License is distributed on an
>> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> + * KIND, either express or implied. See the License for the
>> + * specific language governing permissions and limitations
>> + * under the License.
>> + */
>> +package org.apache.axiom.soap;
>> +
>> +import org.apache.axiom.om.OMMetaFactory;
>> +
>> +/**
>> + * Describes the characteristics of a given SOAP version. This is similar
>> to {@link SOAPVersion},
>> + * but is designed specifically for the test suite.
>> + */
>> +public interface SOAPSpec {
>> +    SOAPSpec SOAP11 = new SOAPSpec() {
>> +        public String getName() {
>> +            return "soap11";
>> +        }
>> +
>> +        public SOAPFactory getFactory(OMMetaFactory metaFactory) {
>> +            return metaFactory.getSOAP11Factory();
>> +        }
>> +
>> +        public String getEnvelopeNamespaceURI() {
>> +            return SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI;
>> +        }
>> +
>> +        public String getFaultCodeLocalName() {
>> +            return SOAP11Constants.SOAP_FAULT_CODE_LOCAL_NAME;
>> +        }
>> +
>> +        public String getFaultReasonLocalName() {
>> +            return SOAP11Constants.SOAP_FAULT_STRING_LOCAL_NAME;
>> +        }
>> +
>> +        public String getFaultRoleLocalName() {
>> +            return SOAP11Constants.SOAP_FAULT_ACTOR_LOCAL_NAME;
>> +        }
>> +
>> +        public String getFaultDetailLocalName() {
>> +            return SOAP11Constants.SOAP_FAULT_DETAIL_LOCAL_NAME;
>> +        }
>> +    };
>> +
>> +    SOAPSpec SOAP12 = new SOAPSpec() {
>> +        public String getName() {
>> +            return "soap12";
>> +        }
>> +
>> +        public SOAPFactory getFactory(OMMetaFactory metaFactory) {
>> +            return metaFactory.getSOAP12Factory();
>> +        }
>> +
>> +        public String getEnvelopeNamespaceURI() {
>> +            return SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI;
>> +        }
>> +
>> +        public String getFaultCodeLocalName() {
>> +            return SOAP12Constants.SOAP_FAULT_CODE_LOCAL_NAME;
>> +        }
>> +
>> +        public String getFaultReasonLocalName() {
>> +            return SOAP12Constants.SOAP_FAULT_REASON_LOCAL_NAME;
>> +        }
>> +
>> +        public String getFaultRoleLocalName() {
>> +            return SOAP12Constants.SOAP_FAULT_ROLE_LOCAL_NAME;
>> +        }
>> +
>> +        public String getFaultDetailLocalName() {
>> +            return SOAP12Constants.SOAP_FAULT_DETAIL_LOCAL_NAME;
>> +        }
>> +    };
>> +
>> +    String getName();
>> +    SOAPFactory getFactory(OMMetaFactory metaFactory);
>> +    String getEnvelopeNamespaceURI();
>> +    String getFaultCodeLocalName();
>> +    String getFaultReasonLocalName();
>> +    String getFaultRoleLocalName();
>> +    String getFaultDetailLocalName();
>> +}
>>
>> Propchange:
>> webservices/commons/trunk/modules/axiom/modules/axiom-api/src/test/java/org/apache/axiom/soap/SOAPSpec.java
>>
>> ------------------------------------------------------------------------------
>>     svn:eol-style = native
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/SOAPTestSuiteBuilder.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/SOAPTestSuiteBuilder.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/SOAPTestSuiteBuilder.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/SOAPTestSuiteBuilder.java
>> Sun Jan 16 09:39:09 2011
>> @@ -19,42 +19,41 @@
>>  package org.apache.axiom.ts;
>>
>>  import org.apache.axiom.om.OMMetaFactory;
>> -import org.apache.axiom.soap.SOAP11Constants;
>> -import org.apache.axiom.soap.SOAP12Constants;
>> +import org.apache.axiom.soap.SOAPSpec;
>>
>>  public class SOAPTestSuiteBuilder extends AxiomTestSuiteBuilder {
>>      public SOAPTestSuiteBuilder(OMMetaFactory metaFactory) {
>>          super(metaFactory);
>>      }
>>
>> -    private void addTests(String envelopeNamespaceURI) {
>> -        addTest(new
>> org.apache.axiom.ts.soap.body.TestAddFault1(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.body.TestAddFault2(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.body.TestGetFault(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.body.TestGetFaultWithParser(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.body.TestHasFault(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.body.TestHasFaultWithParser(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestAddHeaderToIncompleteEnvelope(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestBodyHeaderOrder(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestDiscardHeader(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBody(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBodyOnEmptyEnvelope(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBodyOnEnvelopeWithHeaderOnly(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBodyWithParser(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetHeader(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetHeaderWithParser(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetSOAPBodyFirstElementLocalNameAndNS(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.factory.TestGetDefaultFaultEnvelope(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestAddDetailEntry(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestGetAllDetailEntries(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestGetAllDetailEntriesWithParser(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestSerialization(metaFactory,
>> envelopeNamespaceURI));
>> -        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestWSCommons202(metaFactory,
>> envelopeNamespaceURI));
>> +    private void addTests(SOAPSpec spec) {
>> +        addTest(new
>> org.apache.axiom.ts.soap.body.TestAddFault1(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.body.TestAddFault2(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.body.TestGetFault(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.body.TestGetFaultWithParser(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.body.TestHasFault(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.body.TestHasFaultWithParser(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestAddHeaderToIncompleteEnvelope(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestBodyHeaderOrder(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestDiscardHeader(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBody(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBodyOnEmptyEnvelope(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBodyOnEnvelopeWithHeaderOnly(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetBodyWithParser(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetHeader(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetHeaderWithParser(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.envelope.TestGetSOAPBodyFirstElementLocalNameAndNS(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.factory.TestGetDefaultFaultEnvelope(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestAddDetailEntry(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestGetAllDetailEntries(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestGetAllDetailEntriesWithParser(metaFactory,
>> spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestSerialization(metaFactory, spec));
>> +        addTest(new
>> org.apache.axiom.ts.soap.faultdetail.TestWSCommons202(metaFactory, spec));
>>      }
>>
>>      protected void addTests() {
>> -        addTests(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
>> -        addTests(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI);
>> +        addTests(SOAPSpec.SOAP11);
>> +        addTests(SOAPSpec.SOAP12);
>>          addTest(new
>> org.apache.axiom.ts.soap11.envelope.TestAddElementAfterBody(metaFactory));
>>          addTest(new
>> org.apache.axiom.ts.soap12.envelope.TestAddElementAfterBody(metaFactory));
>>      }
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/SOAPTestCase.java
>> Sun Jan 16 09:39:09 2011
>> @@ -24,9 +24,9 @@ import javax.xml.stream.XMLStreamReader;
>>  import org.apache.axiom.om.AbstractTestCase;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.om.util.StAXUtils;
>> -import org.apache.axiom.soap.SOAP11Constants;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPFactory;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder;
>>  import org.apache.axiom.ts.AxiomTestCase;
>>
>> @@ -34,26 +34,22 @@ public class SOAPTestCase extends AxiomT
>>      protected static final String MESSAGE = "message.xml";
>>      protected static final String MESSAGE_WITHOUT_HEADER =
>> "message_without_header.xml";
>>
>> -    protected final String envelopeNamespaceURI;
>> +    protected final SOAPSpec spec;
>>      protected SOAPFactory soapFactory;
>>
>> -    public SOAPTestCase(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> +    public SOAPTestCase(OMMetaFactory metaFactory, SOAPSpec spec) {
>>          super(metaFactory);
>> -        this.envelopeNamespaceURI = envelopeNamespaceURI;
>> -        setName(getName() + " [SOAP " + (isSOAP11() ? "1.1" : "1.2") +
>> "]");
>> +        this.spec = spec;
>> +        setName(getName() + " [" + spec.getName() + "]");
>>      }
>>
>>      protected void setUp() throws Exception {
>>          super.setUp();
>> -        soapFactory = isSOAP11() ? metaFactory.getSOAP11Factory() :
>> metaFactory.getSOAP12Factory();
>> +        soapFactory = spec.getFactory(metaFactory);
>>      }
>>
>> -    protected boolean isSOAP11() {
>> -        return
>> envelopeNamespaceURI.equals(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI);
>> -    }
>> -
>>      protected SOAPEnvelope getTestMessage(String name) {
>> -        String folder = isSOAP11() ? "soap11" : "soap12";
>> +        String folder = spec.getName();
>>          XMLStreamReader parser;
>>          try {
>>              parser =
>> StAXUtils.createXMLStreamReader(AbstractTestCase.getTestResource("soap/" +
>> folder + "/" + name));
>> @@ -61,6 +57,6 @@ public class SOAPTestCase extends AxiomT
>>              fail("Failed to get test message " + name + ": " +
>> ex.getMessage());
>>              return null;
>>          }
>> -        return new StAXSOAPModelBuilder(parser, soapFactory,
>> envelopeNamespaceURI).getSOAPEnvelope();
>> +        return new StAXSOAPModelBuilder(parser, soapFactory,
>> spec.getEnvelopeNamespaceURI()).getSOAPEnvelope();
>>      }
>>  }
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault1.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault1.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault1.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault1.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,11 +21,12 @@ package org.apache.axiom.ts.soap.body;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestAddFault1 extends SOAPTestCase {
>> -    public TestAddFault1(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestAddFault1(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault2.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault2.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault2.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestAddFault2.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,11 +21,12 @@ package org.apache.axiom.ts.soap.body;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestAddFault2 extends SOAPTestCase {
>> -    public TestAddFault2(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestAddFault2(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFault.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFault.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFault.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFault.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,11 +21,12 @@ package org.apache.axiom.ts.soap.body;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetFault extends SOAPTestCase {
>> -    public TestGetFault(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetFault(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFaultWithParser.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFaultWithParser.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFaultWithParser.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestGetFaultWithParser.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,11 +21,12 @@ package org.apache.axiom.ts.soap.body;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPConstants;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetFaultWithParser extends SOAPTestCase {
>> -    public TestGetFaultWithParser(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetFaultWithParser(OMMetaFactory metaFactory, SOAPSpec
>> spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFault.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFault.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFault.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFault.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,11 +21,12 @@ package org.apache.axiom.ts.soap.body;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestHasFault extends SOAPTestCase {
>> -    public TestHasFault(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestHasFault(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFaultWithParser.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFaultWithParser.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFaultWithParser.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/body/TestHasFaultWithParser.java
>> Sun Jan 16 09:39:09 2011
>> @@ -20,11 +20,12 @@ package org.apache.axiom.ts.soap.body;
>>
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPBody;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestHasFaultWithParser extends SOAPTestCase {
>> -    public TestHasFaultWithParser(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestHasFaultWithParser(OMMetaFactory metaFactory, SOAPSpec
>> spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestAddHeaderToIncompleteEnvelope.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestAddHeaderToIncompleteEnvelope.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestAddHeaderToIncompleteEnvelope.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestAddHeaderToIncompleteEnvelope.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,6 +21,7 @@ package org.apache.axiom.ts.soap.envelop
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPHeader;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  /**
>> @@ -28,8 +29,8 @@ import org.apache.axiom.ts.soap.SOAPTest
>>   * This is a regression test for WSCOMMONS-552.
>>   */
>>  public class TestAddHeaderToIncompleteEnvelope extends SOAPTestCase {
>> -    public TestAddHeaderToIncompleteEnvelope(OMMetaFactory metaFactory,
>> String envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestAddHeaderToIncompleteEnvelope(OMMetaFactory metaFactory,
>> SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestBodyHeaderOrder.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestBodyHeaderOrder.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestBodyHeaderOrder.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestBodyHeaderOrder.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,12 +21,13 @@ package org.apache.axiom.ts.soap.envelop
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPHeader;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  // Make sure order of header/body creation doesn't matter
>>  public class TestBodyHeaderOrder extends SOAPTestCase {
>> -    public TestBodyHeaderOrder(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestBodyHeaderOrder(OMMetaFactory metaFactory, SOAPSpec spec)
>> {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestDiscardHeader.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestDiscardHeader.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestDiscardHeader.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestDiscardHeader.java
>> Sun Jan 16 09:39:09 2011
>> @@ -20,12 +20,13 @@ package org.apache.axiom.ts.soap.envelop
>>
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  // Regression test for WSCOMMONS-235 (see r567512)
>>  public class TestDiscardHeader extends SOAPTestCase {
>> -    public TestDiscardHeader(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestDiscardHeader(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBody.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBody.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBody.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBody.java
>> Sun Jan 16 09:39:09 2011
>> @@ -22,11 +22,12 @@ import org.apache.axiom.om.OMMetaFactory
>>  import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPConstants;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetBody extends SOAPTestCase {
>> -    public TestGetBody(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetBody(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>> @@ -36,6 +37,6 @@ public class TestGetBody extends SOAPTes
>>
>> body.getLocalName().equals(SOAPConstants.BODY_LOCAL_NAME));
>>          assertTrue("Body Test : - Body namespace mismatch",
>>                     body.getNamespace().getNamespaceURI().equals(
>> -                           envelopeNamespaceURI));
>> +                           spec.getEnvelopeNamespaceURI()));
>>      }
>>  }
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEmptyEnvelope.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEmptyEnvelope.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEmptyEnvelope.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEmptyEnvelope.java
>> Sun Jan 16 09:39:09 2011
>> @@ -19,11 +19,12 @@
>>  package org.apache.axiom.ts.soap.envelope;
>>
>>  import org.apache.axiom.om.OMMetaFactory;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetBodyOnEmptyEnvelope extends SOAPTestCase {
>> -    public TestGetBodyOnEmptyEnvelope(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetBodyOnEmptyEnvelope(OMMetaFactory metaFactory, SOAPSpec
>> spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEnvelopeWithHeaderOnly.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEnvelopeWithHeaderOnly.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEnvelopeWithHeaderOnly.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyOnEnvelopeWithHeaderOnly.java
>> Sun Jan 16 09:39:09 2011
>> @@ -20,12 +20,13 @@ package org.apache.axiom.ts.soap.envelop
>>
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  // Regression test for WSCOMMONS-526
>>  public class TestGetBodyOnEnvelopeWithHeaderOnly extends SOAPTestCase {
>> -    public TestGetBodyOnEnvelopeWithHeaderOnly(OMMetaFactory metaFactory,
>> String envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetBodyOnEnvelopeWithHeaderOnly(OMMetaFactory metaFactory,
>> SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyWithParser.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyWithParser.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyWithParser.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetBodyWithParser.java
>> Sun Jan 16 09:39:09 2011
>> @@ -22,11 +22,12 @@ import org.apache.axiom.om.OMMetaFactory
>>  import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPConstants;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetBodyWithParser extends SOAPTestCase {
>> -    public TestGetBodyWithParser(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetBodyWithParser(OMMetaFactory metaFactory, SOAPSpec
>> spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>> @@ -36,6 +37,6 @@ public class TestGetBodyWithParser exten
>>
>> body.getLocalName().equals(SOAPConstants.BODY_LOCAL_NAME));
>>          assertTrue("Body Test : - Body namespace mismatch",
>>                     body.getNamespace().getNamespaceURI().equals(
>> -                           envelopeNamespaceURI));
>> +                           spec.getEnvelopeNamespaceURI()));
>>      }
>>  }
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeader.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeader.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeader.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeader.java
>> Sun Jan 16 09:39:09 2011
>> @@ -22,11 +22,12 @@ import org.apache.axiom.om.OMMetaFactory
>>  import org.apache.axiom.soap.SOAPConstants;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPHeader;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetHeader extends SOAPTestCase {
>> -    public TestGetHeader(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetHeader(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>> @@ -36,6 +37,6 @@ public class TestGetHeader extends SOAPT
>>
>> header.getLocalName().equals(SOAPConstants.HEADER_LOCAL_NAME));
>>          assertTrue("Header Test : - Header namespace mismatch",
>>                     header.getNamespace().getNamespaceURI().equals(
>> -                           envelopeNamespaceURI));
>> +                           spec.getEnvelopeNamespaceURI()));
>>      }
>>  }
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeaderWithParser.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeaderWithParser.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeaderWithParser.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetHeaderWithParser.java
>> Sun Jan 16 09:39:09 2011
>> @@ -22,11 +22,12 @@ import org.apache.axiom.om.OMMetaFactory
>>  import org.apache.axiom.soap.SOAPConstants;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPHeader;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetHeaderWithParser extends SOAPTestCase {
>> -    public TestGetHeaderWithParser(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetHeaderWithParser(OMMetaFactory metaFactory, SOAPSpec
>> spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>> @@ -36,6 +37,6 @@ public class TestGetHeaderWithParser ext
>>
>> header.getLocalName().equals(SOAPConstants.HEADER_LOCAL_NAME));
>>          assertTrue("Header Test : - Header namespace mismatch",
>>                     header.getNamespace().getNamespaceURI().equals(
>> -                           envelopeNamespaceURI));
>> +                           spec.getEnvelopeNamespaceURI()));
>>      }
>>  }
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetSOAPBodyFirstElementLocalNameAndNS.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetSOAPBodyFirstElementLocalNameAndNS.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetSOAPBodyFirstElementLocalNameAndNS.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/envelope/TestGetSOAPBodyFirstElementLocalNameAndNS.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,11 +21,12 @@ package org.apache.axiom.ts.soap.envelop
>>  import org.apache.axiom.om.OMElement;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetSOAPBodyFirstElementLocalNameAndNS extends
>> SOAPTestCase {
>> -    public TestGetSOAPBodyFirstElementLocalNameAndNS(OMMetaFactory
>> metaFactory, String envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetSOAPBodyFirstElementLocalNameAndNS(OMMetaFactory
>> metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestGetDefaultFaultEnvelope.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestGetDefaultFaultEnvelope.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestGetDefaultFaultEnvelope.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/factory/TestGetDefaultFaultEnvelope.java
>> Sun Jan 16 09:39:09 2011
>> @@ -20,14 +20,15 @@ package org.apache.axiom.ts.soap.factory
>>
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  /**
>>   * Tests the behavior of {@link
>> org.apache.axiom.soap.SOAPFactory#getDefaultFaultEnvelope()}.
>>   */
>>  public class TestGetDefaultFaultEnvelope extends SOAPTestCase {
>> -    public TestGetDefaultFaultEnvelope(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetDefaultFaultEnvelope(OMMetaFactory metaFactory,
>> SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>> @@ -38,7 +39,7 @@ public class TestGetDefaultFaultEnvelope
>>          assertNotNull(
>>                  "Default FaultEnvelope must have a SOAPFaultCode in it",
>>                  envelope.getBody().getFault().getCode());
>> -        if (!isSOAP11()) {
>> +        if (spec == SOAPSpec.SOAP12) {
>>              assertNotNull(
>>                      "Default FaultEnvelope must have a SOAPFaultCodeValue
>> in it",
>>                      envelope.getBody().getFault().getCode().getValue());
>> @@ -46,7 +47,7 @@ public class TestGetDefaultFaultEnvelope
>>          assertNotNull(
>>                  "Default FaultEnvelope must have a SOAPFaultReason in
>> it",
>>                  envelope.getBody().getFault().getReason());
>> -        if (!isSOAP11()) {
>> +        if (spec == SOAPSpec.SOAP12) {
>>              assertNotNull(
>>                      "Default FaultEnvelope must have a SOAPFaultText in
>> it",
>>
>>  envelope.getBody().getFault().getReason().getFirstSOAPText());
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestAddDetailEntry.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestAddDetailEntry.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestAddDetailEntry.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestAddDetailEntry.java
>> Sun Jan 16 09:39:09 2011
>> @@ -27,12 +27,13 @@ import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPFault;
>>  import org.apache.axiom.soap.SOAPFaultDetail;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  //SOAP Fault Detail Test (Programaticaly Created)
>>  public class TestAddDetailEntry extends SOAPTestCase {
>> -    public TestAddDetailEntry(OMMetaFactory omMetaFactory, String
>> envelopeNamespaceURI) {
>> -        super(omMetaFactory, envelopeNamespaceURI);
>> +    public TestAddDetailEntry(OMMetaFactory omMetaFactory, SOAPSpec spec)
>> {
>> +        super(omMetaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntries.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntries.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntries.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntries.java
>> Sun Jan 16 09:39:09 2011
>> @@ -27,11 +27,12 @@ import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPFault;
>>  import org.apache.axiom.soap.SOAPFaultDetail;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestGetAllDetailEntries extends SOAPTestCase {
>> -    public TestGetAllDetailEntries(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetAllDetailEntries(OMMetaFactory metaFactory, SOAPSpec
>> spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntriesWithParser.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntriesWithParser.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntriesWithParser.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestGetAllDetailEntriesWithParser.java
>> Sun Jan 16 09:39:09 2011
>> @@ -24,12 +24,13 @@ import org.apache.axiom.om.OMElement;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.om.OMText;
>>  import org.apache.axiom.soap.SOAPFaultDetail;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  //SOAP Fault Detail Test (With Parser)
>>  public class TestGetAllDetailEntriesWithParser extends SOAPTestCase {
>> -    public TestGetAllDetailEntriesWithParser(OMMetaFactory metaFactory,
>> String envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestGetAllDetailEntriesWithParser(OMMetaFactory metaFactory,
>> SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestSerialization.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestSerialization.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestSerialization.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestSerialization.java
>> Sun Jan 16 09:39:09 2011
>> @@ -26,12 +26,13 @@ import org.apache.axiom.soap.SOAPBody;
>>  import org.apache.axiom.soap.SOAPEnvelope;
>>  import org.apache.axiom.soap.SOAPFault;
>>  import org.apache.axiom.soap.SOAPFaultDetail;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  // Regression test for WSCOMMONS-530
>>  public class TestSerialization extends SOAPTestCase {
>> -    public TestSerialization(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestSerialization(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>> Modified:
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestWSCommons202.java
>> URL:
>> http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestWSCommons202.java?rev=1059523&r1=1059522&r2=1059523&view=diff
>>
>> ==============================================================================
>> ---
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestWSCommons202.java
>> (original)
>> +++
>> webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/soap/faultdetail/TestWSCommons202.java
>> Sun Jan 16 09:39:09 2011
>> @@ -21,11 +21,12 @@ package org.apache.axiom.ts.soap.faultde
>>  import org.apache.axiom.om.OMElement;
>>  import org.apache.axiom.om.OMMetaFactory;
>>  import org.apache.axiom.soap.SOAPFaultDetail;
>> +import org.apache.axiom.soap.SOAPSpec;
>>  import org.apache.axiom.ts.soap.SOAPTestCase;
>>
>>  public class TestWSCommons202 extends SOAPTestCase {
>> -    public TestWSCommons202(OMMetaFactory metaFactory, String
>> envelopeNamespaceURI) {
>> -        super(metaFactory, envelopeNamespaceURI);
>> +    public TestWSCommons202(OMMetaFactory metaFactory, SOAPSpec spec) {
>> +        super(metaFactory, spec);
>>      }
>>
>>      protected void runTest() throws Throwable {
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


Mime
View raw message