Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 43928 invoked from network); 8 Jun 2004 16:03:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jun 2004 16:03:35 -0000 Received: (qmail 89480 invoked by uid 500); 8 Jun 2004 16:03:31 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 89407 invoked by uid 500); 8 Jun 2004 16:03:30 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 89320 invoked by uid 99); 8 Jun 2004 16:03:30 -0000 Received: from [192.216.91.20] (HELO chordiant.com) (192.216.91.20) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 08 Jun 2004 09:03:30 -0700 Received: from ponyxpress.chordiant.com ([10.88.0.23]) by chordiant.com (8.11.6p2/8.11.6) with ESMTP id i58G2mO13049 for ; Tue, 8 Jun 2004 09:02:48 -0700 (PDT) Content-class: urn:content-classes:message Subject: RE: setting the custom class loader to load classes into JVM Date: Tue, 8 Jun 2004 09:02:48 -0700 Message-ID: <56D531FDDAF8874FBB61747D8C49CE6D85DA@ponyxpress.chordiant.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Thread-Topic: setting the custom class loader to load classes into JVM Thread-Index: AcRNcYzOthiRSutsSVWlL014r/k7RQAAHh7w From: "Sagar Pidaparthi" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks. Sagar -----Original Message----- From: Davanum Srinivas [mailto:davanum@gmail.com]=20 Sent: Tuesday, June 08, 2004 9:02 AM To: axis-user@ws.apache.org Subject: Re: setting the custom class loader to load classes into JVM Skip 3. 4 is a duplicate of 2. On Tue, 8 Jun 2004 08:59:22 -0700, Sagar Pidaparthi wrote: >=20 >=20 > Hi, >=20 > I want to set a custom class loader to load my classes to JVM. Given > below is your message indicating how it should be done. I need a bit > more explanation on how to do this. Here is my level of understanding > on this issue. >=20 > 1. Write a custom class loader that meets the class loader protocols. > 2. Write an independent program that imports AXIS class libraries that > sets the classloader. > 3. Start axis server > 4. run the program that sets the class loader > 5. run the java2WSDL utility. >=20 > I would appreciate if you can correct me on the steps above. >=20 > Regards >=20 > Sagar >=20 > Yep :) you need to set the classloader in your code and invoke > java2wsdl (org.apache.axis.wsdl.Java2WSDL's main method) from your > code. If you run into problems, hop onto the axis-dev mailing list. >=20 > -- dims >=20 >