Hi there,
I just created a WSDL 1.1 interface (manually, i.e. contract-first design), which uses Soap-over-JMS. At the moment I used the WSIF-namespace "http://schemas.xmlsoap.org.wsdl/jms", but maybe this will change to the W3C recommendation "Soap over
Java Message Service 1.0". Whatever...
Now my question: The application already works (without any WSDL as interface), a client sends a message to a RequestQueue, and the Server sens the answer to a ReplyQueue. The reply message contains the result (i.e. success) or some error text. So, the communication model is IN --> OUT. Now, the customer wants me to create the model IN --> OUT or FAULT, i.e. I have to add "SOAP Fault" messages.
In my opinion, this does not make any sense:
1) You would send OUT and FAULT to the same Reply-Queue, so why change the current solution? The only thing that changes is that faults would be included within a "<
soap:Body><soap:Fault><soap:Reason>ERROR-MESSAGE..."-structure instead of the "<soap:Body>ERROR-MESSAGE..."
2) Bad tool support: E.g. WAS 6.1 does not support this and proposes to use a JMS-Property to define a marker instead of using explicit fault messages. WSIF only offers some custom Fault-WSDL-Extensions for native JMS (i.e. TextMessage / ObjectMessage), but no extensions for SOAP-over-JMS.
So I am pretty sure, that the customer has no usage and cannot generate any clients with a tool, if I alter the WSDL and add Fault messages? Of course, we will discuss it before I change the WSDL, but I would like to hear some other opinions... What do you think?