make get_type_name_from_node more robust: tries to determine the type from parent's definition if needed.
make get_type_name_from_node more robust: tries to determine the type from parent's definition if needed.

arskom/qxsoap,arskom/qxsoap