Skip to content

Commit

Permalink
Jira 588: Comment out the code in SoapHeaderValidator.groovy that was…
Browse files Browse the repository at this point in the history
… looking for an Adhoc Query request.

If we need this, it belongs in the validator for Adhoc Queries.
  • Loading branch information
stl-steve-moore committed Jun 19, 2023
1 parent 3021ac8 commit 9f3d87a
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,14 @@ class SoapHeaderValidator extends AbstractSoapValidater {
if (sst.requestBody) {
ParamParser paramsParser = new ParamParser();
SqParams params = paramsParser.parse(Util.parse_xml(sst.requestBody), true);
AdhocQueryRequestParser parser = new AdhocQueryRequestParser(Util.parse_xml(sst.requestBody))
AdhocQueryRequest r = parser.getAdhocQueryRequest()
// AdhocQueryRequestParser parser = new AdhocQueryRequestParser(Util.parse_xml(sst.requestBody))
// AdhocQueryRequest r = parser.getAdhocQueryRequest()
RequestHeaderParser headerParser = new RequestHeaderParser(Util.parse_xml(sst.requestHeader))
RequestHeader requestHeader = headerParser.getRequestHeader()
String errors = "";
if (requestMsgExpectedContent.equals("SoapHeader")) {
Validator v = new Validator().setRequest(r).setStoredQueryParams(params).setRequestHeader(requestHeader)
// Validator v = new Validator().setRequest(r).setStoredQueryParams(params).setRequestHeader(requestHeader)
Validator v = new Validator().setStoredQueryParams(params).setRequestHeader(requestHeader)
switch (method) {
case "single":
if (!v.namedFieldCompare(key,section, XPath, attribute, comment, value)) {
Expand Down

0 comments on commit 9f3d87a

Please sign in to comment.