geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r525398 - /geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
Date Wed, 04 Apr 2007 04:47:03 GMT
Author: dims
Date: Tue Apr  3 21:47:02 2007
New Revision: 525398

URL: http://svn.apache.org/viewvc?view=rev&rev=525398
Log:
try to fill 'em up if they are not specified in the portInfo

Modified:
    geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java

Modified: geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java?view=diff&rev=525398&r1=525397&r2=525398
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/Axis2WebServiceContainer.java
Tue Apr  3 21:47:02 2007
@@ -465,6 +465,12 @@
                 if(wsdlDefinition != null){
                     String portName = portInfo.getPortName();
                     QName qName = portInfo.getWsdlService();
+                    if (qName == null) {
+                        qName = new QName(service.getTargetNamespace(), service.getName());
+                    }
+                    if (portName == null) {
+                        portName = service.getEndpointName();
+                    }
                     if(qName == null || portName == null) {
                         log.info("Unable to call updateServices ["+ qName + "][" + portName
+"]");                        
                     } else {



Mime
View raw message