· Dec 29, 2021

Adding multiple namespaces in an XML file


I'm using a class which extends  %XML.Adaptor adaptor and I want to create an XML file with multiple namespaces, like the following:

<soap:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soap="">

However, I don't see how to do this with the code I have. So far, I have

 Class GMMHTIE.Docman.Messages.Request.RequestWrapper Extends (%Persistent, %XML.Adaptor)
 Parameter XMLNAME = "soap:Envelope";
 Parameter NAMESPACE = "";
 Parameter XMLPREFIX = "xsi";

which produces the following, which  confuses me.

<soap:Envelope xmlns="" xmlns:xsi="">

Can anyone help, please?


Product version: IRIS 2021.1
$ZV: RIS for Windows (x86-64) 2020.1 (Build 215U) Mon Mar 30 2020 20:14:33 EDT
Discussion (2)1
Log in or sign up to continue