Q:

marshal/unmarshal a java method

I have a java class that contain a method with some logic control . This class is avaible as output via a webservice method to a java swing client . 
My question sounds crazy but is it possible to marshal/unmarshal the method to make it available  to the client when he generate the class from the wsdl file ?
Thanks.
ps:I'm using Metro/jax-ws and glassfish 3.1.1.

A:

You mean so you can send some logic down to the client to be executed there?
I'm afraid the answer is no - this is not how web services work.
All the logic is performed on the server side.  
Why do you wish to do this?

