Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Ticketing via QVSNetRemote username characters makes XML go wrong

As saind in the title I'm getting the access Tickets via QVSNetRemote through a .Net webpage.

All's fine until I request things like this: <Global method="GetTicket"><UserId>AA01234</UserId></Global>

Sometimes I've usernames recorded like this :<Global method="GetTicket"><UserId><201234</UserId></Global>

or even worse like this: <Global method="GetTicket"><UserId>!F01234</UserId></Global>

Please don't ask why are in this format, those are generated from another software I have no control on, so I have to use them as they are.

Is there any way to escape them in the way that XML doesn't go bad?

I've already tried using the &something; entities but once I get on QlikView Server it doesn't match the username which is stored with the actual character.

Thanks in advance for any help.

2 Replies
danielrozental
Master II
Master II

Have you tried quoting the usernames like "!F1234" ?

Not applicable
Author

no,  But this is the result when I try

<result>

     <message text="Invalid syntax" />

</result>