Pi

On 24 Apr 2014, at 20:51, "Anthony Fishbeck" <notifications@github.com<mailto:notifications@github.com>> wrote:


In esp/services/ws_ecl/ws_ecl_service.cpp:

> @@ -2263,13 +2102,14 @@ int CWsEclBinding::submitWsEclWorkunit(IEspContext & context, WsEclWuInfo &wsinf
>      workunit->setState(WUStateSubmitted);
>      workunit->commit();
>
> -    Owned<IPropertyTree> req = createPTreeFromXMLString(xml, ipt_none, (PTreeReaderOptions)(ptr_ignoreWhiteSpace|ptr_ignoreNameSpaces));
> -    IPropertyTree *start = req.get();
> -    if (start->hasProp("Envelope"))
> -        start=start->queryPropTree("Envelope");
> -    if (start->hasProp("Body"))
> -        start=start->queryPropTree("Body/*[1]");
> -    workunit->setXmlParams(LINK(start));
> +    if (reqTree)
> +    {
> +        if (reqTree->hasProp("Envelope"))
> +            reqTree=reqTree->queryPropTree("Envelope[1]");
> +        if (reqTree->hasProp("Body"))
> +            reqTree=reqTree->queryPropTree("Body[1]/*[1]");


I think it is. Should mean the first child of the first "Body".

—
Reply to this email directly or view it on GitHub<https://github.com/hpcc-systems/HPCC-Platform/pull/5499/files#r11968362>.



-----------------------------------------
The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.