axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Haddad" <chris.had...@cobia.net>
Subject Re: Using document servoce type
Date Mon, 29 Mar 2004 12:57:02 GMT
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 <achen@packetmotion.com>
Reply-To: axis-user@ws.apache.org
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.
>
>
>

Mime
View raw message