Skip to main content

Hi All, While i am executing below logic-i am getting error(that error i attached). Please advise why i am getting that error.

Snap shot of below logic.

Working storage section.

01 parser-handle usage is handle.

XML PUT TEXT
response-payload
response-len
"C:\\sparak\\19\\CS\\TMP\\final-result.xml"
if not XML-OK go to 004-END-PROCESS.

 Below LOGIC i am expecting to be open the final-result.xml and get the URL link from final-result.xml and move to ws variable. But, no luck.

call "C$XML" using CXML-GET-CHILD-BY-NAME
parser-handle
end-call.

=============================

My final-result.xml below. ( I am taking </GetURLByDocumentIDsResult> URL link)

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="docs.oasis-open.org/.../wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-0eb55f69-fe46-4708-af7b-1c7b44c0230d"><wsu:Created>2019-11-19T14:07:59Z</wsu:Created><wsu:Expires>2019-11-19T14:12:59Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><GetURLByDocumentIDsResponse xmlns="">harlandfs/.../"><GetURLByDocumentIDsResult>px-demo.avcm.esvccenter.com/.../Deliver.aspx

Hi All, While i am executing below logic-i am getting error(that error i attached). Please advise why i am getting that error.

Snap shot of below logic.

Working storage section.

01 parser-handle usage is handle.

XML PUT TEXT
response-payload
response-len
"C:\\sparak\\19\\CS\\TMP\\final-result.xml"
if not XML-OK go to 004-END-PROCESS.

 Below LOGIC i am expecting to be open the final-result.xml and get the URL link from final-result.xml and move to ws variable. But, no luck.

call "C$XML" using CXML-GET-CHILD-BY-NAME
parser-handle
end-call.

=============================

My final-result.xml below. ( I am taking </GetURLByDocumentIDsResult> URL link)

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="docs.oasis-open.org/.../wsa:To><wsse:Security><wsu:Timestamp wsu:Id="Timestamp-0eb55f69-fe46-4708-af7b-1c7b44c0230d"><wsu:Created>2019-11-19T14:07:59Z</wsu:Created><wsu:Expires>2019-11-19T14:12:59Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><GetURLByDocumentIDsResponse xmlns="">harlandfs/.../"><GetURLByDocumentIDsResult>px-demo.avcm.esvccenter.com/.../Deliver.aspx

 

Belowis correct approach??

call "C$XML" using CXML-GET-CHILD-BY-NAME
parser-handle
end-call.
Move RETURN-CODE
to XMLPARSE-CXML-Error-Code.

Move CXML-GET-CHILD-BY-NAME TO ws-variable4.