title: expose JAXB generated Class as WSDL web service
body: <p>I have a bunch of very simple functions. 
  Each function has one input and one output.  </p>
  
  <pre><code>OutputType function func(InputType);
  </code></pre>
  
  <p>The types of input/output are defined in xsd schema and generated into java classes with JAXB/XJC. Now I want to expose those functions as WSDL Web service running on Geronimo.</p>
  
  <p>I just took a look at Axis/WSDL2Java/Java2WSDL; I thought that is pretty in a similar way as my functions are created.</p>
  
  <p>I guess, I can use Java2WSDL to generate WSDL from my function and input/output types.
  and then use some tools to generate server/client side binding,</p>
  
  <p>Can anyone give more further suggestions? especially I have defined my input/output of functions in a xsd schema.</p>
  
  <p>thanks very much.</p>
  
  <p>A Summary: </p>
  
  <hr>
  
  <p>These are what I have now.... </p>
  
  <p>Many implemented functions with one input and one outout. </p>
  
  <p>public OutputType functionXXX(InputType in) { ....; return output; } </p>
  
  <p>InputType and OutputType are already defined in a xsd schema (and turned into java classes with Jaxb/xjc). </p>
  
  <hr>
  
  <p>What I want is.... </p>
  
  <p>Build Web services to execute those functions. 
  Not to touch the code of implemented functions.
  And with WSDL,</p>