Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KDsoap client gives error when a field contains special characters. #56

Open
mugunth opened this issue Feb 23, 2015 · 4 comments
Open
Milestone

Comments

@mugunth
Copy link

mugunth commented Feb 23, 2015

I find kdsoap (client) give the following error when when a special character is found in one of the fields.
Fault code 3: XML error: [1:6902730] Invalid character reference.

Is there any way to avoid this error. I need kdsoap to print all the data received from webserive.

@mugunth
Copy link
Author

mugunth commented Feb 23, 2015

I have narrowed down on the character which causes problem: �
I am able to get response using soapUI client for the same data. KDsoap doesnt allow me to get the response.

I want to know if there is a way to make kdsoap ignore such special characters & out the data as it receives from the server.

@Knarf64
Copy link
Contributor

Knarf64 commented Feb 23, 2015

I guess that's the same issue we were trying to solve with this commit : 3df3e32

I'll have a look at it when I can (probably later this week), in the meantime, you might want to see this file : src/KDSoapClient/KDSoapMessageReader.cpp and add the "& # x18" - " � " as an invalid value within the "bool isInvalidCharRef(const QByteArray& charRef)" function. I will check why this value wasn't taken into account as soon as I could.

Have a good day !

@winterz winterz added this to the 1.5.0 milestone Feb 24, 2015
@winterz
Copy link
Member

winterz commented Aug 19, 2015

Franck, can you look at this one in the near future?

@dfaure-kdab
Copy link
Member

Is the issue still there? Which one is the special character creating the problem? Can we have more details, e.g. the relevant extract from the XML being sent/received?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants