tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r528783 - in /incubator/tuscany/java/sca/modules/binding-ws: pom.xml src/main/java/org/apache/tuscany/binding/ws/WebServiceBinding.java src/main/java/org/apache/tuscany/binding/ws/impl/WebServiceBindingImpl.java
Date Sat, 14 Apr 2007 08:41:37 GMT
Author: antelder
Date: Sat Apr 14 01:41:36 2007
New Revision: 528783

URL: http://svn.apache.org/viewvc?view=rev&rev=528783
Log:
Add a WSDLDefinition to binding-ws

Modified:
    incubator/tuscany/java/sca/modules/binding-ws/pom.xml
    incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/WebServiceBinding.java
    incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/impl/WebServiceBindingImpl.java

Modified: incubator/tuscany/java/sca/modules/binding-ws/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws/pom.xml?view=diff&rev=528783&r1=528782&r2=528783
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws/pom.xml (original)
+++ incubator/tuscany/java/sca/modules/binding-ws/pom.xml Sat Apr 14 01:41:36 2007
@@ -34,6 +34,11 @@
             <artifactId>tuscany-assembly</artifactId>
             <version>1.0-incubating-SNAPSHOT</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-interface-wsdl</artifactId>
+            <version>1.0-incubating-SNAPSHOT</version>
+        </dependency>
 
          <dependency>
              <groupId>wsdl4j</groupId>

Modified: incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/WebServiceBinding.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/WebServiceBinding.java?view=diff&rev=528783&r1=528782&r2=528783
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/WebServiceBinding.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/WebServiceBinding.java
Sat Apr 14 01:41:36 2007
@@ -23,6 +23,7 @@
 import javax.xml.namespace.QName;
 
 import org.apache.tuscany.assembly.Binding;
+import org.apache.tuscany.interfacedef.wsdl.WSDLDefinition;
 
 
 /**
@@ -147,4 +148,16 @@
      * @param binding the WSDL binding
      */
     void setBinding(javax.wsdl.Binding binding);
+
+    /**
+     * Returns the WSDL binding.
+     * @return the WSDL binding
+     */
+    WSDLDefinition getWSDLDefinition();
+    
+    /**
+     * Sets the WSDL binding
+     * @param binding the WSDL binding
+     */
+    void setDefinition(WSDLDefinition wsdlDefinition);
 }

Modified: incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/impl/WebServiceBindingImpl.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/impl/WebServiceBindingImpl.java?view=diff&rev=528783&r1=528782&r2=528783
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/impl/WebServiceBindingImpl.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws/impl/WebServiceBindingImpl.java
Sat Apr 14 01:41:36 2007
@@ -26,6 +26,7 @@
 
 import org.apache.tuscany.assembly.impl.BindingImpl;
 import org.apache.tuscany.binding.ws.WebServiceBinding;
+import org.apache.tuscany.interfacedef.wsdl.WSDLDefinition;
 
 /**
  * Represents a WebService binding.
@@ -43,6 +44,7 @@
     private String portName;
     private QName serviceName;
     private String endpointName;
+    private WSDLDefinition wsdlDefinition;
     
     public String getLocation() {
         return location;
@@ -151,6 +153,14 @@
             throw new IllegalStateException();
         }
         this.serviceName = serviceName;
+    }
+
+    public WSDLDefinition getWSDLDefinition() {
+        return wsdlDefinition;
+    }
+
+    public void setDefinition(WSDLDefinition wsdlDefinition) {
+        this.wsdlDefinition = wsdlDefinition;
     }
 
 }



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


Mime
View raw message