You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by em...@apache.org on 2013/07/18 08:09:06 UTC

svn commit: r1504369 - in /cxf/branches/2.7.x-fixes: ./ rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java

Author: ema
Date: Thu Jul 18 06:09:05 2013
New Revision: 1504369

URL: http://svn.apache.org/r1504369
Log:
Merged revisions 1504368 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1504368 | ema | 2013-07-18 14:07:16 +0800 (Thu, 18 Jul 2013) | 1 line
  
  [CXF-4836]:Remove the port check
........

Modified:
    cxf/branches/2.7.x-fixes/   (props changed)
    cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java

Propchange: cxf/branches/2.7.x-fixes/
------------------------------------------------------------------------------
    svn:mergeinfo = /cxf/trunk:1504368

Propchange: cxf/branches/2.7.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java?rev=1504369&r1=1504368&r2=1504369&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java (original)
+++ cxf/branches/2.7.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/ServiceImpl.java Thu Jul 18 06:09:05 2013
@@ -324,10 +324,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) {