Re: Using document servoce type

2004-03-29 Thread Alex Chen
I finally got the tool to generate the code. The tool needs the class file, not the source java code to do the work. The tool generated something like this: http://www.w3.org/2001/XMLSchema"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:http="

Re: Using document servoce type

2004-03-29 Thread Alex Chen
I tried to use the sample code in samples/userguide/examples6 to create the wsdl file. I added the following method in WidgetPirce.java and WidgetPriceSoapBindImpl.java. public interface WidgetPrice { public org.w3c.dom.Document getRecords(java.math.BigInteger count) public void setWidgetPr

Re: Using document servoce type

2004-03-29 Thread Alex Chen
Thanks, Chris. Chris Haddad wrote: 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

Re: Using document servoce type

2004-03-29 Thread Chris Haddad
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:

Using document servoce type

2004-03-28 Thread Alex Chen
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