cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1504368 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
Date Thu, 18 Jul 2013 06:07:16 GMT
Author: ema
Date: Thu Jul 18 06:07:16 2013
New Revision: 1504368

URL: http://svn.apache.org/r1504368
Log:
[CXF-4836]:Remove the port check

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java?rev=1504368&r1=1504367&r2=1504368&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java Thu Jul
18 06:07:16 2013
@@ -327,10 +327,6 @@ public class ServiceImpl extends Service
             throw new WebServiceException(BUNDLE.getString("PORT_NAME_NULL_EXC"));
         }
         
-        if (!portInfos.containsKey(portName)) {
-            throw new WebServiceException(new Message("INVALID_PORT", BUNDLE, portName).toString());
-        }
-        
         try {
             return createPort(portName, null, serviceEndpointInterface, features);
         } catch (ServiceConstructionException e) {



Mime
View raw message