Browse Source

Merge pull request #12746 from mayx/HPCC-22402-BadWisdlUri

HPCC-22402 ESP doesn't handle bad uri gracefully

Reviewed-By: Rodrigo Pastrana <rodrigo.pastrana@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 5 years ago
parent
commit
e9b28e8b4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      esp/bindings/http/platform/httpbinding.cpp

+ 1 - 1
esp/bindings/http/platform/httpbinding.cpp

@@ -1670,7 +1670,7 @@ int EspHttpBinding::getWsdlOrXsd(IEspContext &context, CHttpRequest* request, CH
 
         if (!qualifyServiceName(context, service, method, serviceQName, &methodQName))
         {
-            response->setStatus(HTTP_STATUS_NOT_FOUND);
+            return onGetNotFound(context, request,  response, service);
         }
         else
         {