How to intercept SOAP message and transforming it before processing?
<p>I have task where I need to transform custom SOAP message. At the beginning I have to get this custom SOAP message, then I need to transform this message using XSLT, then process this message in my WebService. The reverse process is repeated. </p>

<p>I have XSLT file and method for transforming SOAP message, but I don't know where I need to call this method for transforming. How do I intercept SOAP message and where I have to do it? Because I have only class with one method (example below) and i don't understand how I can transform this message before processing in webservice.</p>

<pre><code>@WebService
public class Calculator {

public String showCard(final CreditCard creditCard) {
    return creditCard.toString();
}
</code></pre>

<p>}</p>

<p>Here is the <a href="http://i.stack.imgur.com/3KQqz.gif" rel="nofollow">technical mapping</a> what I need to do.</p>