Index: BL/Sys/FOP/DocBase.cls.xml =================================================================== diff -u -r31131 -r41195 --- BL/Sys/FOP/DocBase.cls.xml (.../DocBase.cls.xml) (revision 31131) +++ BL/Sys/FOP/DocBase.cls.xml (.../DocBase.cls.xml) (revision 41195) @@ -392,7 +392,7 @@ %String 1 - + %Status Call DocBase WS via sync method. The response is returned by reference (.local SyncResponse) if the FOP process was successful. 1 - + %Status 1 - + %Status 1 - + %Status 1 - + %Status 1 - + %Status 1 - + %Status - - -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /// -| Methods handling the response of the DocBase web service: | /// -| calltypes: WSResponse / WSAsyncResponse | /// -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /// - -Uitlezen/verwerken van de resultaten -1 -fopRes:WS.FOP.WSResponse,fopReq:WS.FOP.WSRequestInfo -%Status - Status msg: "_$$ParseStatus^vhLib(sc)) - . Else If fopReq.process?1(1"SimpleXslTransformationOnly") Do - .. Set FileName=##class(%File).NormalizeDirectory("C:\FOP\PDFTemp\")_"Result.fo.xml" - .. Set sc=$$fprResponseToFile(fopRes,FileName) - .. d WL^vhDBG($G(%PrefixWL)_"Response.data saved to file : ["_$$$Server_"] "_FileName_$$$CRLF_" --> Status msg: "_$$ParseStatus^vhLib(sc)) - . Else Do - .. d WL^vhDBG($G(%PrefixWL)_"Data: "_fopRes.data) - Else Do - . Set sc=..HandleFopResponseError(fopRes,fopReq) - Quit sc -fprResponseToFile(response,FileName) - ;New sc,stream - Set stream=##class(%FileCharacterStream).%New() - Set sc=stream.LinkToFile(FileName) - Quit:($$$ISERR(sc)) sc - Set sc=stream.Write(response.data) - Set sc=stream.SaveStream() - Quit $$$OK - */ -]]> - - - -1 -fopRes:WS.FOP.WSResponse,JobID:%String,fopReq:WS.FOP.WSRequestInfo -%Status - - - 1 ResourceID:%String,LogData:%String,Delim:%String="\",blnCheckEmpty:%Boolean=0