Working with WSO2 ESB i try to save proxy service's xml with the correct character '&' instead of '&', but when i launch the task it always auto-saves file with '&'. In this way my link is always
"www.mysite.com/data?param1=myparam1&param2=myParam2"
instead of the correct working form,
"www.mysite.com/data?param1=myParam1¶m2=myParam2"
I think to modify the messageFormatter in axis2.xml, but i don't know hot to solve it.
Any idea?
In XML,
&
indicates the start of a character reference.&
is the character reference for "an ampersand" and will be converted back into an ampersand when the XML is parsed.¶m2=
is invalid XML and should cause an XML parser to abort with an exception.If you have a problem, it is with the tool reading the XML, not the tool creating it.