axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From damr...@apache.org
Subject svn commit: r644010 - in /webservices/axis2/trunk/java/modules/metadata: src/org/apache/axis2/jaxws/description/builder/ src/org/apache/axis2/jaxws/description/impl/ test/org/apache/axis2/jaxws/description/
Date Wed, 02 Apr 2008 19:01:07 GMT
Author: damrhei
Date: Wed Apr  2 12:01:06 2008
New Revision: 644010

URL: http://svn.apache.org/viewvc?rev=644010&view=rev
Log:
Update to WsdlGenerator interface.

Modified:
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/WsdlGenerator.java
    webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
    webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/WsdlGenerator.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/WsdlGenerator.java?rev=644010&r1=644009&r2=644010&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/WsdlGenerator.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/builder/WsdlGenerator.java
Wed Apr  2 12:01:06 2008
@@ -21,8 +21,11 @@
 
 import javax.xml.ws.WebServiceException;
 
+import org.apache.axis2.jaxws.description.EndpointDescription;
+
 public interface WsdlGenerator {
 
-    public WsdlComposite generateWsdl(String implClass, String bindingType)
+    public WsdlComposite generateWsdl(String implClass, EndpointDescription endpointDesc)
             throws WebServiceException;
+    
 }

Modified: webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java?rev=644010&r1=644009&r2=644010&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/src/org/apache/axis2/jaxws/description/impl/EndpointDescriptionImpl.java
Wed Apr  2 12:01:06 2008
@@ -1925,7 +1925,7 @@
                     implName = (String)axisService.getParameterValue(MDQConstants.SERVICE_CLASS);
                 }
                 wsdlComposite =
-                        dbc.getCustomWsdlGenerator().generateWsdl(implName, getBindingType());
+                        dbc.getCustomWsdlGenerator().generateWsdl(implName, this);
 
                 if (wsdlComposite != null) {
                     wsdlComposite.setWsdlFileName(

Modified: webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java?rev=644010&r1=644009&r2=644010&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java
(original)
+++ webservices/axis2/trunk/java/modules/metadata/test/org/apache/axis2/jaxws/description/PartialWSDLTests.java
Wed Apr  2 12:01:06 2008
@@ -22,6 +22,7 @@
 import junit.framework.TestCase;
 import org.apache.axis2.description.AxisService;
 import org.apache.axis2.description.Parameter;
+import org.apache.axis2.jaxws.description.EndpointDescription;
 import org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite;
 import org.apache.axis2.jaxws.description.builder.MDQConstants;
 import org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite;
@@ -211,7 +212,7 @@
         this.def = def;
     }
 
-    public WsdlComposite generateWsdl(String implClass, String bindingType)
+    public WsdlComposite generateWsdl(String implClass, EndpointDescription endpointDesc)
             throws WebServiceException {
         // Need WSDL generation code
         WsdlComposite composite = new WsdlComposite();



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