CoyoteXmlServiceData * coyote_xml_parse_message CoyoteXmlMessage message  ) 
 

Parses a CoyoteXmlMessage and translates it into a CoyoteXmlServiceData.

This function returns a structure that represents a service request or a service response. This function expects a correct xml message so it would be a good idea to call coyote_xml_validate_message before calling this one.

Moreover, this function parses a xml message containing only one request or response service.

In the other hand, each field contained in a CoyoteXmlServiceData is explained here.

Parameters:
message a CoyoteXmlMessage representing raw xml data.
Returns:
a new CoyoteXmlServiceData structure or NULL if something fails.