Alex - try creating a Java stub with your desired method signature, run Java2WSDL to generate a WSDL file, then WSDL2Java on the WSDL file to generate skeleton and stub classes.
/Chris ---------- Original Message ---------------------------------- From: Alex Chen <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Date: Sun, 28 Mar 2004 18:16:47 -0800 >I would like to use 'Document' service type with Axis but I do not find >much information from the samples. >What I like to do is to have a method like like this: > >public Document getMyDocument( int id); > >When the client invokes this method, the server side will return an XML >document back. Of course the consents are filled by >the server and the client will do the unmarshalling itself. >I do not know how to define a WSDL file to get AXIS to generate the >proper stub/skeleton file so that I can fill in the implementation. >I have not found any WSDL files in the samples that do this. Any help >is appreciated. > > >