I was attempting to parse a wsdl file that provides
default false values for some booleans with wsdl2h -c,
and the resulting .h file contained errors when
compiled with soapcpp2.
A quick look at the .h file shows that the enum values
for boolean are not type qualifed in the definition,
but the references to them were type qualified. This
resulted in errors when the default assignments were
being handled, because they were attempting to assign
the enum value xsd__boolean__false_ (and the enum just
Running wsdl2h -ec makes the problem go away.
Log in to post a comment.