I think wsdlgen with wstk is supposed to create the wsdl. Shashi Anand Senior Software Engineer Infogain India B 15 Sec 58, NOida, UP 201301, India
-----Original Message----- From: Max Stolyarov [mailto:[EMAIL PROTECTED]] Sent: Monday, January 21, 2002 11:14 PM To: [EMAIL PROTECTED] Subject: Need Help on generating XSD document for RPC Web Service I created a Web Service that has a SOAP interface and which uses RPC messaging. I am using Apache SOAP2.2 implementation and Tomcat to run the service. My service is just a simple class registered as a web service, such as: public class myservice { public Hashtable send( MyMessage msg ) { Hashtable ht = new Hashtable(); return ht; } } As part of this class I defined a single method send, which accepts a single parameter which is an instance of MyMessage class. public class MyMessage { public MyMessage(){}; public void setMsgID( String id ) {}; public String getMsgID() { return msgID; }; } This class is implemented as a Java Bean. I have the service working fine, but now I am trying to create an XSD and WSDL document for it, and that is where I run into a problem. Does anyone know how to do it and where I can get an example of how to do it. Also, after creating an XSD document, what should I do to validate an instance XML documents against defined schemas. Thanks in advance. Max Stolyarov Max Stolyarov NOVARRA 3232 Kennicott Ave Arlington Heights, Illinois 60004 Phone: (847) 368-7800 x 252 Facsimile: (847) 590-8144