I use this line to register a class with the Delphi registry for Soap elements:
RemClassRegistry.RegisterXSClass(ToHeader, ADD_URI);
In the Soap request message, I see this:
<NS1:ToHeader> ... </NS1:ToHeader>
Is it possible to change the class registration so that it renders the element with a different name, like:
<NS1:To> ... </NS1:To>
or is the only way to tweak the request stream?
To is a reserved word in Delphi, I can not rename the class to the element name 'To'.