I have a flow service with a defined set of input and output and this flow service is exposed as a web service. Under normal processing of the flow service, the defined output is returned to the service client. However, during the execution of flow service, under certain circumstances, I need to construct a custom response (consider this as a Web Service Fault message) and return this message back to the client. In this case, my custom message will be different from the output defined for the flow service & eventually the web service.
Can this be done in webMethods? I mean a web service should have a contract (defined set of input & output) but can the service return something else?
Thanks in advance