axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r627735 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Date Thu, 14 Feb 2008 13:19:28 GMT
Author: amilas
Date: Thu Feb 14 05:19:28 2008
New Revision: 627735

URL: http://svn.apache.org/viewvc?rev=627735&view=rev
Log:
we have to take the binding with not null port types

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?rev=627735&r1=627734&r2=627735&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java
Thu Feb 14 05:19:28 2008
@@ -2944,7 +2944,8 @@
         boolean isAvailable = false;
         switch (componentType){
             case COMPONENT_BINDING : {
-                isAvailable = (definition.getBinding(qname) != null);
+                isAvailable = (definition.getBinding(qname) != null) &&
+                        (definition.getBinding(qname).getPortType() != null);
                 break;
             }
             case COMPONENT_PORT_TYPE : {



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