Suppose that the action performed by the procedure , which is called by the webservice , is equivalent to a void method , should it always return a value anyway ?
Suppose that the action performed by the procedure , which is called by the
Share
From WSDL point of view you have two choices:
1:
2:
With option
1you get One-way Operation which may sometimes be a problem becase the client’s call returns without the knowledge of comleting the server-side method.With option
2you have normal Request-response Operation, you just get (almost) empty SOAP response.(all above examples use document/literal/wrapped convention)
From implementation point of view, if you use e.g. Apache CXF with JAX-WS you end up with standard, void-returning methods.