I'm trying to put together XML for a request to a soap server.
Normally I use this syntax to do this via the E4X implementation in Servoy, which works fine:
- Code: Select all
var _trans = <transaction/>
However, when I try to do this:
- Code: Select all
var _envelope = <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/>;
I get the attached error when saving the method.
I could just write the XML as a string, because that's what is gonna happen anyway when posting it.
Still like the structured E4X way better... any chance this is going to work?