We have a windows forms payroll application, which uses classes and called programs (migrated from Net Express and all compiled as managed code), and using .idx data files. We are using VC 2.3 and Visual Studio Community 2015.
We will soon have to start uploading XML files with employee information to an Irish government website, which will send XML files back as responses. The XML files all have accompanying .xsd schema files. The XML files could contain information for 1 employee, or a few thousand employees, so they could be bytes or mb in size. Initially, we will be doing this manually by logging onto the website and manually selecting the file that has been created by our application. We will get an XML file back and this will be processed into our application. At a later date we have the option to automate the process into our application by integrating with the site's web services using SOAP. These web services are defined in wsdl files.
For now, I am interested in the best coding approach to create and read in/validate/process the XML files. Given that we have the .xsd files to hand, and may choose to implemnt the SOAP integration later, would it be best to use COBOL syntax, or .Net classes, or a mixture of both? What is the best approach to write and validate XML files based on .xsd schemas? If we use COBOL syntax, which would be better, XML Extensions or XML Syntax Extensions, and am I correct in thinking that XML Syntax Extensions is not allowed in classes, and does cbl2xml refer only to XML Syntax Extension? If we choose .NET classes, which ones would be best. Would stream-based or in-memory be better? We have not before had to process in XML files, only write them, which we did using basic (non-XML) COBOl syntax.
I have read XML related posts on the forum but they do not answer all my questions.
Thank you for any help.