Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 67993 invoked from network); 27 Oct 2003 10:50:31 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 27 Oct 2003 10:50:31 -0000 Received: (qmail 80597 invoked by uid 500); 27 Oct 2003 10:49:50 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 80528 invoked by uid 500); 27 Oct 2003 10:49:49 -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 80362 invoked from network); 27 Oct 2003 10:49:48 -0000 Message-ID: <3F9CF73D.3010802@yahoo.co.uk> Date: Mon, 27 Oct 2003 10:45:17 +0000 From: Matthew Pocock User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031008 X-Accept-Language: en-us, en MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: Nested classpath element needed for wsdl2java...due to junit test case parameter References: <3F9C48A0.2060000@sbcglobal.net> In-Reply-To: <3F9C48A0.2060000@sbcglobal.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Newcastle-MailScanner-Information: Please contact Postmaster@newcastle.ac.uk for more information X-Newcastle-MailScanner: Found to be clean X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I have a patch for this & for adding typeMapping elements to the ant tasks. I'm still working on getting wsdl2java to dump out custom type mapping info. Let me know the bug ID Matthew Mike Klein wrote: > Besides the ant tasks missing some key parameters available in the > commandline version of wsdl2java/java2wsdl (as I mentioned in an > earlier post)...it appears wsdl2java IS missing support for classpath > element...unlike java2wsdl which does have this element. > > When using wsdl2java ant task and the "testcase=true" attribute > (generates jUnit test case which needs filling in) it attempts to find > jUnit on the classpath. Since this cannot be specified using Ant, it > requires you have it in your OS environment. > > Generally it's not a good idea to put anything in your default > classpath (i.e. jre/lib/ext or classpath env var) as it screws too > many things up...classpaths s/be set explicitly by the requiring > application. > > Below is an example of java2wsdl axis ant task which works with nested > classpath element and wsdl2java task which doesn't: > > > name="java2wsdl"> > > > classname="com.vxappliance.quotations.Quotations" > namespace="urn:QuotationsService" > > location="http://${tomcat.host}:${tomcat.port}/axis/services/QuotationsService" > > output="${build}/generated/QuotationsService.wsdl" > bindingname="Quotations" serviceportname="QuotationsService"> > > > > > > > > > output="${build}/generated" serverside="true" skeletondeploy="true" > url="${build}/generated/QuotationsService.wsdl" > testcase="true"> > package="com.vxappliance.quotations"/> > > > >