KDSoap icon indicating copy to clipboard operation
KDSoap copied to clipboard

kdwsdl2cpp: XML Primitive type usage

Open JMoralesMillan opened this issue 4 months ago • 1 comments

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.

JMoralesMillan avatar Feb 22 '24 12:02 JMoralesMillan