Issue a warning if can not flow a WS-AT transaction context due to following
implementation limitations. Note warning only issued when
there method is invoked with a current JTA transaction context.
User would expect txn context to be flowed as WS-AT Txn Context with the request.
1. Invoking a WS-AT annotated web method from an Application Client Container
(not supported by WSIT 1.0)
2. On an asynchronous,transacted web service invocation invoked
with a current JTA transaction context.
(probably will never support this, transaction processing by its very nature
implies synchronization between client controlling the transactional context
and the operations being processed in that transactional context.)
TxClientPipe is a good place to identify these situations at runtime.
Either can throw an exception or just warn that invoked operation is
not participating in current client transaction.
Statically, it might be possible to identify invalid combinations of
program annotations. (@WebMethod that is both transacted AND asynchronous)