In my Mule-config.xml, I do a http post to a service using 2 query parameters…I tried to add 2 query parameters like this:
<http:outbound-endpoint
address="http://${server.user}:${server.passwd}@${server.host}:${server.port}/DebtService/debt/sendemail?appId=#[header:SESSION:appId]&debtId=#[header:SESSION:debtId]"
but mule throws out this error while starting
Caused by: org.xml.sax.SAXParseException: The reference to entity "debtId" must end with the ';' delimiter.
If I just have one query parameter, then it all works well, but if I add second query parameter using ‘&’ the above error is thrown…
Any ideas on what am i doing wrong here…
Advance thanks..
That’s invalid XML: use
&instead of&.