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

[1.8.0] kdwsdl2cpp generates invalid code #179

Closed
tuxmaster5000 opened this issue Aug 14, 2019 · 2 comments
Closed

[1.8.0] kdwsdl2cpp generates invalid code #179

tuxmaster5000 opened this issue Aug 14, 2019 · 2 comments

Comments

@tuxmaster5000
Copy link
Contributor

@tuxmaster5000 tuxmaster5000 commented Aug 14, 2019

QList's without type will created.
The wsdl file can received here.
The output of kdwsdl2cpp are here attached
code.zip

.

@dfaure-kdab

This comment has been minimized.

Copy link
Member

@dfaure-kdab dfaure-kdab commented Aug 14, 2019

Interesting. Normally people write
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>
but this WSDL file says
<attribute ref="soapenc:arrayType" wsdl:arrayType="soapenc:string[]"/>
which leads to ERROR: basic type not found: "soapenc:string"
I see that soapenc does define string though, so this is indeed a bug in KDSoap.

dfaure-kdab added a commit that referenced this issue Aug 14, 2019
… parse it

This fixes wsdl:arrayType="soapenc:string[]" because soapenc:string
wasn't a known type. It generates an arguably ugly SOAPENC__String
wrapper class, but that's what the xsd defines, so it's logical.

Fixes github issue #179
@dfaure-kdab

This comment has been minimized.

Copy link
Member

@dfaure-kdab dfaure-kdab commented Aug 14, 2019

Fixed

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.