cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r910642 - in /cxf/branches/2.2.x-fixes: ./ common/common/src/main/java/org/apache/cxf/common/ rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/ rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/ rt/javascript/src/main/jav...
Date Tue, 16 Feb 2010 18:31:17 GMT
Author: dkulp
Date: Tue Feb 16 18:30:47 2010
New Revision: 910642

URL: http://svn.apache.org/viewvc?rev=910642&view=rev
Log:
Merged revisions 910633 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r910633 | dkulp | 2010-02-16 13:10:49 -0500 (Tue, 16 Feb 2010) | 1 line
  
  [CXF-2658, CXF-2531] Use the proper http transport ID in the wsdl for SOAP 1.2
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/common/WSDLConstants.java
    cxf/branches/2.2.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
    cxf/branches/2.2.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java
    cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
    cxf/branches/2.2.x-fixes/testutils/src/main/resources/wsdl/hello_world_soap12.wsdl
    cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/SOAPBindingUtil.java
    cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/java2wsdl_wsdl/hello_world_soap12.wsdl
    cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/hello_soap12.wsdl
    cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/my_hello_soap12.wsdl
    cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/java/org/apache/cxf/tools/misc/processor/WSDLToSoapProcessorTest.java
    cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/resources/misctools_wsdl/hello_world_soap12.wsdl
    cxf/branches/2.2.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello_world_soap12.wsdl

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/common/WSDLConstants.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/common/WSDLConstants.java?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/common/WSDLConstants.java
(original)
+++ cxf/branches/2.2.x-fixes/common/common/src/main/java/org/apache/cxf/common/WSDLConstants.java
Tue Feb 16 18:30:47 2010
@@ -57,6 +57,7 @@
     public static final String SOAP11_PREFIX = "soap";
     public static final String SOAP12_PREFIX = "soap12";
     
+    public static final String NS_SOAP_HTTP_TRANSPORT = "http://schemas.xmlsoap.org/soap/http";
     public static final String NS_SOAP11_HTTP_TRANSPORT = "http://schemas.xmlsoap.org/soap/http";
     
     public static final QName QNAME_SOAP_BINDING = new QName(NS_SOAP, "binding");
@@ -66,7 +67,7 @@
     public static final QName QNAME_SOAP_BINDING_ADDRESS = new QName(NS_SOAP, "address");
 
 
-    public static final String NS_SOAP12_HTTP_TRANSPORT = "http://www.w3.org/2003/05/soap/bindings/HTTP/";
+    public static final String NS_SOAP12_HTTP_BINDING = "http://www.w3.org/2003/05/soap/bindings/HTTP/";
     
     public static final QName QNAME_SOAP12_BINDING = new QName(NS_SOAP12, "binding");
     public static final QName QNAME_SOAP12_BINDING_ADDRESS = new QName(NS_SOAP12, "address");

Modified: cxf/branches/2.2.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapBindingFactory.java
Tue Feb 16 18:30:47 2010
@@ -114,9 +114,9 @@
             config = new SoapBindingConfiguration();
         }
         if (WSDLConstants.NS_SOAP12.equals(bindingid)
-            || WSDLConstants.NS_SOAP12_HTTP_TRANSPORT.equals(bindingid)) {
+            || WSDLConstants.NS_SOAP12_HTTP_BINDING.equals(bindingid)) {
             config.setVersion(Soap12.getInstance());
-            config.setTransportURI(WSDLConstants.NS_SOAP12_HTTP_TRANSPORT);
+            config.setTransportURI(WSDLConstants.NS_SOAP_HTTP_TRANSPORT);
         }
         SoapBindingInfo info = new SoapBindingInfo(si,
                                                    bindingid,

Modified: cxf/branches/2.2.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/bindings/soap/src/test/java/org/apache/cxf/binding/soap/SoapBindingFactoryTest.java
Tue Feb 16 18:30:47 2010
@@ -194,7 +194,7 @@
 
         SoapBindingInfo sbi = (SoapBindingInfo)bi;
         assertEquals("document", sbi.getStyle());
-        assertTrue(WSDLConstants.NS_SOAP12_HTTP_TRANSPORT.equalsIgnoreCase(sbi.getTransportURI()));
+        assertEquals(WSDLConstants.NS_SOAP_HTTP_TRANSPORT, sbi.getTransportURI());
         assertTrue(sbi.getSoapVersion() instanceof Soap12);
 
         BindingOperationInfo boi = sbi.getOperation(new QName("http://apache.org/hello_world_soap12_http",

Modified: cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/javascript/src/main/java/org/apache/cxf/javascript/service/ServiceJavascriptBuilder.java
Tue Feb 16 18:30:47 2010
@@ -863,7 +863,7 @@
                 ) {
                 SoapBindingInfo sbi = (SoapBindingInfo)bindingInfo;
                 if (WSDLConstants.NS_SOAP11_HTTP_TRANSPORT.equals(sbi.getTransportURI())
-                    || WSDLConstants.NS_SOAP12_HTTP_TRANSPORT.equals(sbi.getTransportURI())
+                    || WSDLConstants.NS_SOAP12_HTTP_BINDING.equals(sbi.getTransportURI())
                     // we may want this for testing.
                     || LocalTransportFactory.TRANSPORT_ID.equals(sbi.getTransportURI()))
{
                     soapBindingInfo = sbi;

Modified: cxf/branches/2.2.x-fixes/testutils/src/main/resources/wsdl/hello_world_soap12.wsdl
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/testutils/src/main/resources/wsdl/hello_world_soap12.wsdl?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/testutils/src/main/resources/wsdl/hello_world_soap12.wsdl (original)
+++ cxf/branches/2.2.x-fixes/testutils/src/main/resources/wsdl/hello_world_soap12.wsdl Tue
Feb 16 18:30:47 2010
@@ -88,7 +88,7 @@
     </wsdl:portType>
 
     <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
-	<soap12:binding transport="http://www.w3.org/2003/05/soap/bindings/HTTP/" style="document"
/>
+	<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
 	<operation name="sayHi">
 	    <soap12:operation style="document" soapAction="sayHiAction"/>
 	    <input>

Modified: cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/SOAPBindingUtil.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/SOAPBindingUtil.java?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/SOAPBindingUtil.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/common/src/main/java/org/apache/cxf/tools/util/SOAPBindingUtil.java
Tue Feb 16 18:30:47 2010
@@ -412,12 +412,12 @@
             extElement = (SOAP12Binding)extReg.createExtension(Binding.class,
                                                                new QName(WSDLConstants.NS_SOAP12,
                                                                          "binding"));
-            ((SOAP12Binding)extElement).setTransportURI(WSDLConstants.NS_SOAP12_HTTP_TRANSPORT);
+            ((SOAP12Binding)extElement).setTransportURI(WSDLConstants.NS_SOAP_HTTP_TRANSPORT);
         } else {
             extElement = (SOAPBinding)extReg.createExtension(Binding.class,
                                                              new QName(WSDLConstants.NS_SOAP11,
                                                                        "binding"));
-            ((SOAPBinding)extElement).setTransportURI(WSDLConstants.NS_SOAP11_HTTP_TRANSPORT);
+            ((SOAPBinding)extElement).setTransportURI(WSDLConstants.NS_SOAP_HTTP_TRANSPORT);
         }
         return getSoapBinding(extElement);
     }

Modified: cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/java2wsdl_wsdl/hello_world_soap12.wsdl
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/java2wsdl_wsdl/hello_world_soap12.wsdl?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/java2wsdl_wsdl/hello_world_soap12.wsdl
(original)
+++ cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/java2wsdl_wsdl/hello_world_soap12.wsdl
Tue Feb 16 18:30:47 2010
@@ -88,7 +88,7 @@
     </wsdl:portType>
 
     <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
-	<soap12:binding transport="http://www.w3.org/2003/05/soap/bindings/HTTP/" style="document"
/>
+	<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
 	<operation name="sayHi">
 	    <soap12:operation style="document" soapAction=""/>
 	    <input>

Modified: cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/hello_soap12.wsdl
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/hello_soap12.wsdl?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/hello_soap12.wsdl
(original)
+++ cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/hello_soap12.wsdl
Tue Feb 16 18:30:47 2010
@@ -83,7 +83,7 @@
     </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="GreeterServiceSoapBinding" type="tns:Greeter">
-    <soap12:binding style="document" transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/>
+    <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
     <wsdl:operation name="sayHi">
       <soap12:operation soapAction="" style="document"/>
       <wsdl:input name="sayHi">

Modified: cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/my_hello_soap12.wsdl
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/my_hello_soap12.wsdl?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/my_hello_soap12.wsdl
(original)
+++ cxf/branches/2.2.x-fixes/tools/javato/ws/src/test/resources/org/apache/cxf/tools/java2wsdl/processor/expected/my_hello_soap12.wsdl
Tue Feb 16 18:30:47 2010
@@ -83,7 +83,7 @@
     </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="GreeterServiceSoapBinding" type="tns:Greeter">
-    <soap12:binding style="document" transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"/>
+    <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
     <wsdl:operation name="sayHi">
       <soap12:operation soapAction="" style="document"/>
       <wsdl:input name="sayHi">

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/java/org/apache/cxf/tools/misc/processor/WSDLToSoapProcessorTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/java/org/apache/cxf/tools/misc/processor/WSDLToSoapProcessorTest.java?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/java/org/apache/cxf/tools/misc/processor/WSDLToSoapProcessorTest.java
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/java/org/apache/cxf/tools/misc/processor/WSDLToSoapProcessorTest.java
Tue Feb 16 18:30:47 2010
@@ -242,7 +242,7 @@
                 SoapBinding soapBinding = SOAPBindingUtil.getSoapBinding(obj);
                 assertNotNull(soapBinding);
                 assertTrue("document".equalsIgnoreCase(soapBinding.getStyle()));
-                assertTrue(WSDLConstants.NS_SOAP12_HTTP_TRANSPORT.
+                assertTrue(WSDLConstants.NS_SOAP_HTTP_TRANSPORT.
                            equalsIgnoreCase(soapBinding.getTransportURI()));
             }
 

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/resources/misctools_wsdl/hello_world_soap12.wsdl
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/resources/misctools_wsdl/hello_world_soap12.wsdl?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/resources/misctools_wsdl/hello_world_soap12.wsdl
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/misc/src/test/resources/misctools_wsdl/hello_world_soap12.wsdl
Tue Feb 16 18:30:47 2010
@@ -87,7 +87,7 @@
     </wsdl:portType>
 
     <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
-	<soap12:binding transport="http://www.w3.org/2003/05/soap/bindings/HTTP/" style="document"
/>
+	<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
 	<operation name="sayHi">
 	    <soap12:operation style="document" soapAction=""/>
 	    <input>

Modified: cxf/branches/2.2.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello_world_soap12.wsdl
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello_world_soap12.wsdl?rev=910642&r1=910641&r2=910642&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello_world_soap12.wsdl
(original)
+++ cxf/branches/2.2.x-fixes/tools/wsdlto/test/src/test/resources/wsdl2java_wsdl/hello_world_soap12.wsdl
Tue Feb 16 18:30:47 2010
@@ -87,7 +87,7 @@
     </wsdl:portType>
 
     <wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter">
-	<soap12:binding transport="http://www.w3.org/2003/05/soap/bindings/HTTP/" style="document"
/>
+	<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
 	<operation name="sayHi">
 	    <soap12:operation style="document" soapAction=""/>
 	    <input>



Mime
View raw message