Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 95452 invoked from network); 2 Apr 2008 19:01:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 19:01:35 -0000 Received: (qmail 18170 invoked by uid 500); 2 Apr 2008 19:01:35 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 18025 invoked by uid 500); 2 Apr 2008 19:01:35 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 18014 invoked by uid 500); 2 Apr 2008 19:01:35 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 18011 invoked by uid 99); 2 Apr 2008 19:01:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 12:01:35 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 19:00:52 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 58DF71A9832; Wed, 2 Apr 2008 12:01:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: axis2-cvs@ws.apache.org From: damrhei@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080402190108.58DF71A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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