If my binding has multiple operations, how does SERVICE[i].OPERATION[j].DEFAULT_RESPONSE work? Are the operations ordered in the order in which it is found in the WSDL?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you are using a WSDL file to generate your SOAP service mock then default responses are auto-generated for each operation.
At the moment it's not possible to override them using property file definitions.
You can still setup custom responses for each operation by calling a respective url.
If you are unsure which url to call for each of your operations then start the mock service and open the url (GET, e.g. in your borwser): http://localhost:8080/{context}/services/ and follow links for each operation.
Best,
Jacek
Last edit: Jacek Obarymski 2013-05-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If my binding has multiple operations, how does SERVICE[i].OPERATION[j].DEFAULT_RESPONSE work? Are the operations ordered in the order in which it is found in the WSDL?
Hi Sebu,
If you are using a WSDL file to generate your SOAP service mock then default responses are auto-generated for each operation.
At the moment it's not possible to override them using property file definitions.
You can still setup custom responses for each operation by calling a respective url.
If you are unsure which url to call for each of your operations then start the mock service and open the url (GET, e.g. in your borwser): http://localhost:8080/{context}/services/ and follow links for each operation.
Best,
Jacek
Last edit: Jacek Obarymski 2013-05-23