Menu

How to match operation[j] to default response?

2013-05-04
2013-05-04
  • Sebu Koleth

    Sebu Koleth - 2013-05-04

    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?

     
  • Jacek Obarymski

    Jacek Obarymski - 2013-05-04

    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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.