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

kdwsdl2cpp: XML Primitive type usage #283

Open
JMoralesMillan opened this issue Feb 22, 2024 · 1 comment
Open

kdwsdl2cpp: XML Primitive type usage #283

JMoralesMillan opened this issue Feb 22, 2024 · 1 comment

Comments

@JMoralesMillan
Copy link

Hello there,

I've encountered some errors generating code with a private WSDL:

ERROR: type not found "xs:gDay"
ERROR: basic type not found: "xs:gDay"

This file makes use of gDay, a basic type defined in the X3C XML Schema as a primitive one. I've checked that TypeMap class gives support to many of those primitive types, adding them as built-in types. One of these is gYear, which is similar to the one I need to use.

I thought that one solution could be to add gDay as a built-in one too, but I'd like to avoid modifying the source code. Is there any other solution? I've trying to add the corresponding schema, which is included in the WSDL file as a namespace, with the "-import-path" option, but it doesn't work for me. I'm currently using the 2.1.1 version of KDSoap.

@dfaure-kdab
Copy link
Member

Why not submit a merge request to add support for gDay to KDSoap? It's not like you would have to maintain your own patch on top of KDSoap, it would be supported out of the box for all users including you.

Off the top of my head I don't know why what you tried didn't work, would need debugging.

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

2 participants