Matthew J. Dovey wrote:
>Could people try the schemas now up at
>http://samantha.oucs.ox.ac.uk:8080/srw1-1/ and let me know if there are
>any problems? These should fix the issues raised with the Unix .NET
>toolkit.
>
>
Downloaded the files. Attached is what happens if I do
wsdl2h -o srw.h srw-bindings.wsdl
with gSOAP 2.6.2 (latest stable release). What you don't see in the log
is the "Segmentation fault" message that follows.
I have no idea about what makes it crash like that. And haven't spent
time finding out.
But from the gSOAP web page, it is supposed to both imports and doc/literal.
So for now I stick to the DOM API of libxml2 :)
-- Adam
** The gSOAP WSDL parser for C and C++ 1.1.2
** Copyright (C) 2001-2004 Robert van Engelen, Genivia, Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
Saving srw.h
Reading file 'srw-bindings.wsdl'
Warning: element 'http:urlEncoded' at level 4 was not recognized and will be ignored
Warning: element 'mime:mimeXml' at level 4 was not recognized and will be ignored
Connecting to 'http://samantha.oucs.ox.ac.uk:8080/srw1-1/srw-ports.wsdl' to retrieve WSDL... done
Connecting to 'http://samantha.oucs.ox.ac.uk:8080/srw1-1/srw-types.xsd' to retrieve schema... done
Connecting to 'http://samantha.oucs.ox.ac.uk:8080/cql/xcql.xsd' to retrieve schema... done
Warning: element 'xsd:sequence' at level 3 was not recognized and will be ignored
Warning: element 'xsd:element' at level 4 was not recognized and will be ignored
Warning: element 'xsd:element' at level 4 was not recognized and will be ignored
Connecting to 'http://samantha.oucs.ox.ac.uk:8080/srw1-1/diagnostics.xsd' to retrieve schema... done
<xs:import> has no namespace
<xs:import> has no namespace
<xs:import> has no namespace
Connecting to 'http://samantha.oucs.ox.ac.uk:8080/srw1-1/srw-types.xsd' to retrieve schema... done
Connecting to 'http://samantha.oucs.ox.ac.uk:8080/cql/xcql.xsd' to retrieve schema... done
Warning: element 'xsd:sequence' at level 3 was not recognized and will be ignored
Warning: element 'xsd:element' at level 4 was not recognized and will be ignored
Warning: element 'xsd:element' at level 4 was not recognized and will be ignored
Connecting to 'http://samantha.oucs.ox.ac.uk:8080/srw1-1/diagnostics.xsd' to retrieve schema... done
Warning: could not find element whereInList ref or type in schema http://www.loc.gov/zing/srw/
<xs:import> has no namespace
<xs:import> has no namespace
<xs:import> has no namespace
Warning: could not find element whereInList ref or type in schema http://www.loc.gov/zing/srw/
Cannot open file 'typemap.dat'
Problem reading type map file typemap.dat.
Using internal type definitions for C++ instead.
|