How do I design a policy for a one-way SOAP operation, i.e. an operation that has no response?
I have to implement such an operation (given WSDL by another system) and based on the request I do a standard SOAP call (request/response) to another system. So I receive a request from system A, do a request on system B, get a response from system B and then? System A expects based on the WSDL no response. Should I just return a HTTP status code or an empty response? And is it even possible to send no response body?
Just to make clear what I mean with one-way operation, an example operation definition without "output" element:
<soap:operation soapAction="urn:lockDocument" />
<soap:body use="literal" />
The Gateway will only transmit a response if a protected service provides one. So the first question is whether or not your protected service is sending a response message. If it is not then you should not have to do anything else to accommodate for that. If it is then you will need to catch it, suppress it, and return a different response (in this case, a blank response) using the Return Template Response to Requestor assertion.