servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r724366 - /servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/PortTypeDecorator.java
Date Mon, 08 Dec 2008 14:51:07 GMT
Author: gnodet
Date: Mon Dec  8 06:51:06 2008
New Revision: 724366

URL: http://svn.apache.org/viewvc?rev=724366&view=rev
Log:
SM-1708: Support WS-Addressing for new http endpoints

Modified:
    servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/PortTypeDecorator.java

Modified: servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/PortTypeDecorator.java
URL: http://svn.apache.org/viewvc/servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/PortTypeDecorator.java?rev=724366&r1=724365&r2=724366&view=diff
==============================================================================
--- servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/PortTypeDecorator.java
(original)
+++ servicemix/components/shared-libraries/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/PortTypeDecorator.java
Mon Dec  8 06:51:06 2008
@@ -59,6 +59,7 @@
 import com.ibm.wsdl.extensions.soap12.SOAP12BodyImpl;
 import com.ibm.wsdl.extensions.soap12.SOAP12FaultImpl;
 import com.ibm.wsdl.extensions.soap12.SOAP12OperationImpl;
+import com.ibm.wsdl.extensions.soap12.SOAP12HeaderImpl;
 
 public final class PortTypeDecorator {
 
@@ -271,7 +272,7 @@
                 if (i == 0) {
                     body.setParts(Collections.singletonList(p.getName()));
                 } else {
-                    SOAPHeaderImpl h = new SOAPHeaderImpl();
+                    SOAP12HeaderImpl h = new SOAP12HeaderImpl();
                     h.setUse("litteral");
                     h.setMessage(message.getQName());
                     h.setPart(p.getName());
@@ -309,7 +310,7 @@
                 if (i == 0) {
                     body.setParts(Collections.singletonList(p.getName()));
                 } else {
-                    SOAPHeaderImpl h = new SOAPHeaderImpl();
+                    SOAP12HeaderImpl h = new SOAP12HeaderImpl();
                     h.setUse("litteral");
                     h.setMessage(message.getQName());
                     h.setPart(p.getName());



Mime
View raw message