Made rest2wsdl more generic