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

Generate incorrect request if wsdl includes several namespaces #114

Open
ElenaSudakova opened this issue Jan 12, 2018 · 3 comments
Open

Comments

@ElenaSudakova
Copy link

Hello, I'm trying to generate code using wsdl with several namespaces, but the resulting code contains classes with only two prefixes(NS1 and NS2), although there are more namespaces in wsdl (7 or 8) . And request looks like this:
request
Other tool generated request looks like this:
request1

I don't understand what the reason for this behavior.
See attached file for wsdl
measurerService.tar.gz

@SudakovIvan
Copy link
Contributor

SudakovIvan commented Jan 17, 2018

We've just fixed this bug. See #115
The problem was in parseSchemaTag in case of wsdl imports XSD schema and XSD schema imports other XSD schema. So there were a recursion calls of parseShemaTag and "elementFormDefault" attribute of schema tag processed incorrectly

@dfaure-kdab
Copy link
Member

I'll keep this open, because, although the bug is fixed, we still need to make a unittest out of this WSDL file, to ensure no regressions in the future. Are you interested in writing such a test, similar to all the other ones that exist in kdsoap/unittests ?

@SudakovIvan
Copy link
Contributor

OK, it's a very good practice to make unittests!
Now we are examining KDSoap to use in our projects. It's a good library in my opinion, so l'm ready to fix bugs or add new features if required for our projects. I like to make unittests, but unfortunately l have no time to make it in KDSoap now

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

3 participants