wsdl-parse

Name

wsdl-parse -- 

Synopsis



wsdl_definitions* wsdl_parse                (const char *file);

Description

Details

wsdl_parse ()

wsdl_definitions* wsdl_parse                (const char *file);

Parses the file file and constructs a set of WSDL elements. The wsdl_definitions struct contains pointers to all WSDL elements parsed from file. Any errors in the XML or the WSDL are logged by calling g_log(). Serious errors (or warnings if --werror is specified on the command line) cause this function to call exit(-1).

file :

a string containing the full or relative path to a WSDL file

Returns :

a pointer to a wsdl_definitions structure containing all the information gleaned from the WSDL file, or NULL if parsing failed. The caller is expected to free the memory used by the wsdl_definitions structure, by calling wsdl_free_definitions().