Recent posts:
Recent replies:
Guillaume Rongier · Dec 7, 2020
Guillaume Rongier · Dec 2, 2020
Hi Alexender, I'll send you the WSDL in PM.
But I guess I found a workaround :
I created a new method that parse the XML with %XML.Reader and correlate the payload with my destination class :
set reader = ##class(%XML.Reader).%New()
// pRequest.GetPatientsByClinicResult.any.GetAt(1) <-- Header
// pRequest.GetPatientsByClinicResult.any.GetAt(2) <-- Payload
do reader.OpenString(pRequest.GetPatientsByClinicResult.any.GetAt(2))
do reader.Correlate("Patients","FME.Object.Patient")
while reader.Next(.object,.status) {
do pResponse.Patients.Insert(object)
}
Where FME.Object.Patient is :
Class FME.Object.Patient Extends (%SerialObject, %XML.Adaptor)
{
Property LastName As %String;
Property FirstName As %String;
Property Datex0020ofx0020Birth As %String(XMLNAME = "Date_x0020_of_x0020_Birth");
Property Gender As %String;
Property Code As %String;
Property Insurance As %String;
Property GUID As %String;
Property CLINICGUID As %String;
}
Guillaume Rongier · Dec 2, 2020
Hi Yuri,
Not now but it's plan to be in the future, may be next year.
Open Exchange applications:
Followers:
Guillaume has no followers yet.
Following:
Guillaume has not followed anybody yet.
Global Masters badges:
Guillaume has no Global Masters badges yet.
Hi,
What you can do is a snapshot of this ResultSet.
Then use the global of this snapshot for another Operation :
Get snapshot global :
Use snapshot global :
Furthermore, If you have big table to query/insert in JDBC consider this ZPM module :
https://github.com/grongierisc/BatchSqlOutboundAdapter