views:

39

answers:

1

Microsoft Ajax can expose webservices which respond with json or xml depending on configuration.

I would like to mock these services using soap ui.

Using the wsdl I can do this to mock the services in the case where xml is returned, however how can I mock the response when JSON is returned?

A: 

Yeah,

you can, but it's pretty crude.

You have to create files in the file system containing the JSON and the send the responses from those files. Look at the soapui web site. It works, just not real well.

Buju