RonaldZwiers
21-May-2015, 02:57 AM
I Suspect that in the package cClientWebService.pkg on line 2305 there is an expression that contains an error.
The expression is as follows:
Else If (hoChildNode and ;
(IsElementNS(hoChildNode, If(bRpc,"", ChildSoapParamDef.sNamespace), ChildSoapParamDef.sName)) or ;
(ChildSoapParamDef.hoStruct and pbSimpleContent(ChildSoapParamDef.hoStruct)) ) Begin
Get XMLToValueTree ChildSoapParamDef hoChildNode (&iError) to ChildValueTree
If for whatever reason hoChildNode is 0 this expression can still become True. The result is that XMLToValueTree will be called without a valid handle to an XML document, resulting in a number of error messages.
I attached an example to demonstrate the problem.
Regards,
Ronald Zwiers
The expression is as follows:
Else If (hoChildNode and ;
(IsElementNS(hoChildNode, If(bRpc,"", ChildSoapParamDef.sNamespace), ChildSoapParamDef.sName)) or ;
(ChildSoapParamDef.hoStruct and pbSimpleContent(ChildSoapParamDef.hoStruct)) ) Begin
Get XMLToValueTree ChildSoapParamDef hoChildNode (&iError) to ChildValueTree
If for whatever reason hoChildNode is 0 this expression can still become True. The result is that XMLToValueTree will be called without a valid handle to an XML document, resulting in a number of error messages.
I attached an example to demonstrate the problem.
Regards,
Ronald Zwiers