You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by am am <ak...@yahoo.com> on 2010/07/16 22:18:52 UTC

jax ws dispatching - saaj

Hi,

I need to know the following: is Dispatch<T>.invoke() method or invokeAsync(T 
msg) using SAAJ underneath for the connection and the marshal/demarshalling of 
the message?
In general what is the relation of jax ws with SAAJ?


Thanks



      

Re: jax ws dispatching - saaj

Posted by Daniel Kulp <dk...@apache.org>.
On Friday 16 July 2010 4:18:52 pm am am wrote:
> Hi,
> 
> I need to know the following: is Dispatch<T>.invoke() method or
> invokeAsync(T msg) using SAAJ underneath for the connection and the
> marshal/demarshalling of the message?

It's never used for the connection stuff.    The CXF runtime always handles 
that itself.

For marshalling/unmarshalling:
1) In MESSAGE mode, I believe it is used.   

2) In PAYLOAD mode, it's not used unless you are doing something that would 
require it.  (such as a JAX-WS  SOAPHandler or using WS-Security or similar)

Dan


> In general what is the relation of jax ws with SAAJ?
> 
> 
> Thanks

-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog