In order for a client application to be able to control a transaction, any method that is to participate in the transaction must include the <transactionControl> element within its <method> definition in the Service Definition File. If you use the Service Definition Wizard, it adds the <transactionControl> element for you when you select 'this method requires a transaction' and 'allow client to control the transaction'.
A client application can then control a SOAPam server-managed transaction by..
- calling the user-defined method, specifying a <header> or <parameter> of type txControlRequestType
- calling methods of the built-in transactionControl service