error messages with soup-wsdl

Thomas Finneid <[email protected]> 21 Jun 2002 16:37:10 +0200
Newsgroups gmane.comp.gnome.ximian.soup
Message-ID <1024670231.8005.76.camel@thomasf>
Hi just to let you know I found out that the wsdl_debug() function does
not work as intended, therefore the wsdl compiler does not output any
messages when it encounters any errors in the parsed file.

Another side of this problem is that wsdl_parse_XXX() is set to only
print a message when the DOMAIN is PARSER and the DEBUG_LEVEL is
WARNING, CRITICAL or ERROR. Under any normal circumstances the compiler
should output any messages or warnings when a problem is encountered,
not just when the user has set the debug level appropriately.
Of course, I havent looked into the debug functionality yet so I dont
know how you intended it to work.

For the moment I have (in the compilation on my computer) replaced the
wsdl_debug() message with a g_print() so I can get to the error messges.

I am happy to create a patch for this later if you want me to.


the details:

wsdl-parse.c: 188 - does'nt print any messages

the command used was:

soup-wsdl --stubs --common --headers --debug-level="debug, info,
message, warning" --debug-modules="stubs, parser, thread, main"
GoogleSearch.wsdl


-- 
Yours sincerely

Thomas Finneid


_______________________________________________
Soup-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/soup-list