The short answer is you don't. Web services are not java. Web Services have inputs, outputs and faults. Defined in a WSDL.
You might make a webservice that uses your existing method to do something, but you can't just throw some libraries around and get an instant SOA. Cheers, Karl P PS: This might actually _be_ possible, but it would still be the wrong way :) > -----Original Message----- > From: Kent Chan [mailto:[EMAIL PROTECTED] > Sent: Monday, February 26, 2007 1:15 AM > To: [email protected] > Subject: [xfire-user] How to enable output parameters via > aegis binding? > > Hi, everyone > > I have a method like this > > public String getNameFromDB(int id, List errors) > > The parameter 'errors' is used to record any exception while > this method is carried out. > > > Now I want to have this method as Web Service. We can see > both a an input > parameter and an output parameter have to be specified, as > well as the > return value. > > I'm using JDK 1.4. How can I do this via aegis binding? If > aegis can't > help, is there any other way? Please give more details. > > Thank you! > > _________________________________________________________________ > 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ > > > --------------------------------------------------------------------- > To unsubscribe from this list please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
