From ef69f9a5078e4a6b2b4154984d14ed378765535e Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 10 Sep 2008 11:38:18 +0000 Subject: Merge fix from trunk to 1.3.2 branch for TUSCANY-2561: Soap intents are lower case while the policy framework says that they should be upper case git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@693796 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/binding/ws/axis2/AxisPolicyHelper.java | 2 +- .../tuscany/sca/binding/ws/axis2/definitions.xml | 65 +++++++++++----------- .../itests/soap12/QuestionMarkWSDLTestCase.java | 4 +- .../axis2/itests/soap12/HelloWorldSOAP12.composite | 12 ++-- .../itests/soap12/questionmark-wsdl.composite | 4 +- 5 files changed, 44 insertions(+), 43 deletions(-) (limited to 'branches/sca-java-1.3.2/modules/binding-ws-axis2') diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/AxisPolicyHelper.java b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/AxisPolicyHelper.java index c5b1666e4f..1f389b422f 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/AxisPolicyHelper.java +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/AxisPolicyHelper.java @@ -39,7 +39,7 @@ public class AxisPolicyHelper { public static final QName CONFIDENTIALITY_INTENT = new QName(XMLNS_SCA_1_0, "confidentiality"); public static final QName INTEGRITY_INTENT = new QName(XMLNS_SCA_1_0, "integrity"); public static final QName MTOM_INTENT = new QName(XMLNS_SCA_1_0, "MTOM"); - public static final QName SOAP12_INTENT = new QName(XMLNS_SCA_1_0, "soap12"); + public static final QName SOAP12_INTENT = new QName(XMLNS_SCA_1_0, "SOAP12"); public static PolicySet getPolicySet(Binding wsBinding, QName intentName) { PolicySet returnPolicySet = null; diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/definitions.xml b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/definitions.xml index 57b3eaa565..b11059df15 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/definitions.xml +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/main/resources/org/apache/tuscany/sca/binding/ws/axis2/definitions.xml @@ -1,4 +1,4 @@ - + + + + - - + targetNamespace="http://www.osoa.org/xmlns/sca/1.0" + xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" + xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0"> + + - - - - Communitcation thro this binding requires SOAP - - - - - - Communitcation thro this binding requires SOAP 1.1 - - - - - - Communitcation thro this binding requires SOAP 1.2 - - - - - Communitcation thro this binding requires MTOM support - - + + + + Communication through this binding requires SOAP + + + + + + Communication through this binding requires SOAP 1.1 + + + + + + Communication through this binding requires SOAP 1.2 + + + + + + Communication through this binding requires MTOM support + + diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/QuestionMarkWSDLTestCase.java b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/QuestionMarkWSDLTestCase.java index 88a8b9b01d..8d378565d4 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/QuestionMarkWSDLTestCase.java +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/java/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/QuestionMarkWSDLTestCase.java @@ -66,7 +66,7 @@ public class QuestionMarkWSDLTestCase extends TestCase { } /** - * Tests ?wsdl returns a soap 1.1 port when binding uses requires="soap.1_1" + * Tests ?wsdl returns a soap 1.1 port when binding uses requires="SOAP.1_1" */ public void testSOAP11Endpoint() throws Exception { WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader(); @@ -86,7 +86,7 @@ public class QuestionMarkWSDLTestCase extends TestCase { } /** - * Tests ?wsdl returns a soap 1.2 port when binding uses requires="soap.1_2" + * Tests ?wsdl returns a soap 1.2 port when binding uses requires="SOAP.1_2" */ public void testSOAP12Endpoint() throws Exception { WSDLReader wsdlReader = WSDLFactory.newInstance().newWSDLReader(); diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/HelloWorldSOAP12.composite b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/HelloWorldSOAP12.composite index 5042dc7a0c..fbd4c66c45 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/HelloWorldSOAP12.composite +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/HelloWorldSOAP12.composite @@ -25,13 +25,13 @@ - + - + - + @@ -59,13 +59,13 @@ - + - + - + diff --git a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/questionmark-wsdl.composite b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/questionmark-wsdl.composite index d2e2fd3e09..033a77eea6 100644 --- a/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/questionmark-wsdl.composite +++ b/branches/sca-java-1.3.2/modules/binding-ws-axis2/src/test/resources/org/apache/tuscany/sca/binding/ws/axis2/itests/soap12/questionmark-wsdl.composite @@ -26,11 +26,11 @@ - + - + -- cgit v1.2.3