tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r529261 - /incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2BindingBuilder.java
Date Mon, 16 Apr 2007 14:23:59 GMT
Author: antelder
Date: Mon Apr 16 07:23:58 2007
New Revision: 529261

URL: http://svn.apache.org/viewvc?view=rev&rev=529261
Log:
Start adding some comments to try to understand whats going on

Modified:
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2BindingBuilder.java

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2BindingBuilder.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2BindingBuilder.java?view=diff&rev=529261&r1=529260&r2=529261
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2BindingBuilder.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2BindingBuilder.java
Mon Apr 16 07:23:58 2007
@@ -114,6 +114,9 @@
      * @param parent 
      */
     protected URI computeActualURI(WebServiceBinding wsBinding, String baseURI, String componentName)
{
+        
+        // TODO: support wsa:Address
+        
         URI wsdlURI = null;         
         if (wsBinding.getServiceName() != null && wsBinding.getBindingName() == null)
{
             // <binding.ws> explicitly points at a wsdl port, may be a relative URI
@@ -134,12 +137,16 @@
         }
 
         if (bindingURI != null && bindingURI.isAbsolute()) {
+            // there is an absoulte uri specified on the binding: <binding.ws uri="xxx"
             if (wsdlURI != null) {
                 return URI.create(bindingURI + "/" + wsdlURI);
             } else {
                 return bindingURI;
             }
         }
+        
+        // both the WSDL endpoint and binding uri are either unspecified or relative so
+        // the endpoint is based on the component uri and service name
         
         URI componentURI = URI.create(componentName);
         



---------------------------------------------------------------------
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