You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/04/17 15:56:08 UTC

svn commit: r529601 - in /incubator/tuscany/java/sca/modules/binding-ws/src/main/java/org/apache/tuscany/binding/ws: WebServiceBinding.java impl/WebServiceBindingImpl.java

Author: antelder
Date: Tue Apr 17 06:56:07 2007
New Revision: 529601

URL: http://svn.apache.org/viewvc?view=rev&rev=529601
Log:
Add the WSDL namespace to the WebServiceBinding, populate it in the WebServiceBindingProcessor, and also set the binding associated with a port when thats specified 

Modified:
    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/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=529601&r1=529600&r2=529601
==============================================================================
--- 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 Tue Apr 17 06:56:07 2007
@@ -160,4 +160,16 @@
      * @param binding the WSDL binding
      */
     void setDefinition(WSDLDefinition wsdlDefinition);
+
+    /**
+     * Returns the WSDL namespace.
+     * @return the WSDL namespace
+     */
+    String getNamespace();
+    
+    /**
+     * Sets the WSDL namespace
+     * @param namspace the WSDL namspace
+     */
+    void setNamespace(String namespace);
 }

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=529601&r1=529600&r2=529601
==============================================================================
--- 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 Tue Apr 17 06:56:07 2007
@@ -45,6 +45,7 @@
     private QName serviceName;
     private String endpointName;
     private WSDLDefinition wsdlDefinition;
+    private String wsdlNamespace;
     
     public String getLocation() {
         return location;
@@ -161,6 +162,14 @@
 
     public void setDefinition(WSDLDefinition wsdlDefinition) {
         this.wsdlDefinition = wsdlDefinition;
+    }
+
+    public String getNamespace() {
+        return wsdlNamespace;
+    }
+
+    public void setNamespace(String namespace) {
+        this.wsdlNamespace = namespace;
     }
 
 }



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