WSDL for SOAP and WSDL for REST and REST based on JSON

when a company wants to release a web services, does it release a separate WSDL for SOAP and separate for REST based web services or they are merged in the same WSDL? Can a WSDL only represent REST web services based on JSON (not XML) ?

Assume web services clients are Java based.

If SOAP and REST are merged in the same WSDL, does wsimport generates separate classes (for binding XML to Java objects) for SOAP and separate for REST?

7
задан ace 9 May 2011 в 12:31
поделиться