JAX-WS Holder usage for INOUT Mode

R

ravi.k.sinha

Hi all,

With JAX-WS RI download there are several samples. One of them
illustrates MTOM. There when the code gets generated, parameters are
mapped to have mode of INOUT. I have an understanding that the server
process can modify the parameters (INOUT) and the updated value will
be available to the client after the operation invcation returns.

I tried to tweak the example. In the detail method I set the holder to
new value but it is not recieved by the client. Please enlighten me
about this topic!!

Cheers
Thanks in advance
 
R

ravi.k.sinha

Hi all,

I got the answer. It was a silly mistake, that wasted 2 whole hours.

In the server code, I was making a new holder object and referring. I
should have just changed the value of the existing Holder.

Thank you
Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top