axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From barre...@apache.org
Subject svn commit: r527281 - in /webservices/axis2/trunk/java/modules: jaxws/src/org/apache/axis2/jaxws/server/EndpointController.java metadata/src/org/apache/axis2/jaxws/description/DescriptionFactory.java
Date Tue, 10 Apr 2007 20:31:20 GMT
Author: barrettj
Date: Tue Apr 10 13:31:19 2007
New Revision: 527281

URL: http://svn.apache.org/viewvc?view=rev&rev=527281
Log:
Cleanup a few comments.

Modified:
    webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/EndpointController.java
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/DescriptionFactory.java

Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/EndpointController.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/EndpointController.java?view=diff&rev=527281&r1=527280&r2=527281
==============================================================================
--- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/EndpointController.java
(original)
+++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/server/EndpointController.java
Tue Apr 10 13:31:19 2007
@@ -276,6 +276,14 @@
             EndpointDescription ed = (EndpointDescription)param.getValue();
             return ed;
         } else {
+            // TODO: This is using a deprecated factory method to create the ServiceDescription.
+            // The correct way to fix this is to create the ServiceDescriptions (and the
AxisService
+            // and associated descritpion hierahcy) at startup.  However, that is currently
not done
+            // in the Axis2 testing environment.  So, for testing, we create a Description
hierachy
+            // on the fly and attach the AxisService to it.  This should be changed to not
used the
+            // deprecated factory method.  HOWEVER doing so currently causes testcase failures
in 
+            // JAXWS and or Metadata
+//            ServiceDescription sd = DescriptionFactory.createServiceDescription(implClass);
             ServiceDescription sd =
                     DescriptionFactory.createServiceDescriptionFromServiceImpl(implClass,
axisSvc);
             EndpointDescription ed = sd.getEndpointDescriptions_AsCollection().iterator().next();

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/DescriptionFactory.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/DescriptionFactory.java?view=diff&rev=527281&r1=527280&r2=527281
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/DescriptionFactory.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/DescriptionFactory.java
Tue Apr 10 13:31:19 2007
@@ -167,7 +167,6 @@
      *         implementation class and tied via properties to the existing AxisService object.
      * @deprecated Use {@link #createServiceDescriptionFromDBCMap(HashMap)}
      */
-    // TODO: Taking an AxisService is only temporary; the AxisService should be created when
creating the ServiceDesc
     public static ServiceDescription createServiceDescriptionFromServiceImpl(Class serviceImplClass,
                                                                              AxisService
axisService) {
         return DescriptionFactoryImpl



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


Mime
View raw message