fix service type and status attribute type declarations, misuse of minOccurs/maxOccurs in attribute declarations, and accidental use of attribute instead of element for Service and Component types