Explorar o código

Merge pull request #10055 from rpastrana/HPCC-17662-AllowMethodLessConfiguraiton

HPCC-17662 WsESDLConfig Publish bindings allows empty methods config

Reviewed-By: Michael Gardner <michael.gardner@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman %!s(int64=8) %!d(string=hai) anos
pai
achega
bfa6ed2d16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      esp/services/ws_esdlconfig/ws_esdlconfigservice.cpp

+ 1 - 1
esp/services/ws_esdlconfig/ws_esdlconfigservice.cpp

@@ -700,7 +700,7 @@ bool CWsESDLConfigEx::onPublishESDLBinding(IEspContext &context, IEspPublishESDL
         }
 
         if (!methodstree || methodstree->getCount("Method") <= 0)
-            throw MakeStringException(-1, "Could not find any method configuration entries.");
+            ESPLOG(LogMin, "Publishing ESDL Binding with no METHODS configured!");
 
         if (espProcName.length() == 0)
             throw MakeStringException(-1, "Must provide ESP Process name");