tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r529765 - /incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/binding/axis2/Axis2BindingBuilder.java
Date Tue, 17 Apr 2007 21:09:22 GMT
Author: antelder
Date: Tue Apr 17 14:09:20 2007
New Revision: 529765

URL: http://svn.apache.org/viewvc?view=rev&rev=529765
Log:
Axis2 binding, add some comments

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=529765&r1=529764&r2=529765
==============================================================================
--- 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
Tue Apr 17 14:09:20 2007
@@ -139,13 +139,12 @@
             return URI.create(wsdlURI.toString());
         }
         
-        // there is no wsdl port endpoint URI or that URI is relative
+        // either there is no wsdl port endpoint URI or that URI is relative
         
         URI bindingURI = null;
         if (wsBinding.getURI() != null) {
             bindingURI = URI.create(wsBinding.getURI());
         }
-
         if (bindingURI != null && bindingURI.isAbsolute()) {
             // there is an absoulte uri specified on the binding: <binding.ws uri="xxx"
             if (wsdlURI != null) {
@@ -157,7 +156,7 @@
         }
         
         // both the WSDL endpoint and binding uri are either unspecified or relative so
-        // the endpoint is based on the component uri and service name
+        // the endpoint is based on the component name and service binding URI
  
         // TODO: hack to get the component for the service
         SCABinding scaBinding = compositeService.getPromotedService().getBinding(SCABinding.class);
@@ -181,10 +180,12 @@
             }
         }
 
+        // add any relative binding URI
         if (bindingURI != null) {
             actualURI += "/" + bindingURI;
          }
 
+        // add any relative WSDL port URI
         if (wsdlURI != null) {
             actualURI += "/" + wsdlURI.toString();
         }



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