03-29-2023 03:25 AM
Hi folks,
I seem to have an issue updating the user on the CUCM via AXL when there is an apostrophe in the user ID.
I receive the following error: "Client received SOAP Fault from server: A syntax error has occurred."
I tried to escape it, but haven't succeeded so far. Is there a known way to make this work?
Thanks,
Balazs
03-29-2023 05:08 AM
Do you really need to have an apostrophe in the user ID? AFAIK it is not allowed to use extended character set in user names.
03-29-2023 05:17 AM
Solution: Get rid of the special character(s) in the userid (this is very ugly).
03-29-2023 05:19 AM
Yes, I totally agree with you, apostrophe definitely shouldn't be in the user ID. Unfortunately this is out of my reach.
03-29-2023 05:28 AM
Can you post your SOAP request?
03-29-2023 05:39 AM
I use AXL from Java, classes generated with JAX-WS.
I wasn't really able to get hold of the XML data so far.
03-30-2023 03:01 AM
Total shot in the dark here: when you say that you tried to escape it, did you try %27 ?
03-30-2023 04:51 AM
Thanks, I tried it now, but didn't work out either.
Meanwhile we reached out to Cisco to get some help.
04-08-2024 05:39 AM
@Wolfy curious if you found a solution for this. I just ran into the same issue and there is a very low probability of getting user ID's adjusted to remove the special character. Thanks.
04-08-2024 06:18 AM
Hi Martin,
What I did in the end was to minimize the set of fields where we use the logon ID (e.g. we use it in the UDP/RDP name) - replacing it with an underscore. A few places where I had to keep it (e.g. DoDeviceLoginReq), I escaped/doubled the apostrophe, this way it seems to be working so far.
04-08-2024 08:26 AM
Brilliant! I did not try escaping the apostrophe with an apostrophe. Thanks for the quick reply and fix. Cheers!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide