Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 45331 invoked from network); 27 Jul 2005 20:39:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jul 2005 20:39:47 -0000 Received: (qmail 54204 invoked by uid 500); 27 Jul 2005 20:39:36 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 54135 invoked by uid 500); 27 Jul 2005 20:39:36 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 54081 invoked by uid 99); 27 Jul 2005 20:39:36 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2005 13:39:23 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 54D8CE5 for ; Wed, 27 Jul 2005 22:39:20 +0200 (CEST) Message-ID: <417601989.1122496760345.JavaMail.jira@ajax.apache.org> Date: Wed, 27 Jul 2005 22:39:20 +0200 (CEST) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS-1987) JAVA2WSDL ant task with document/literal style ignore classpath element for dependancies In-Reply-To: <1748367902.1115810829276.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXIS-1987?page=all ] Davanum Srinivas resolved AXIS-1987: ------------------------------------ Resolution: Fixed I think this has been fixed in latest CVS. Please try that and comment here if it is not fixed. thanks, dims > JAVA2WSDL ant task with document/literal style ignore classpath element for dependancies > ---------------------------------------------------------------------------------------- > > Key: AXIS-1987 > URL: http://issues.apache.org/jira/browse/AXIS-1987 > Project: Apache Axis > Type: Bug > Components: WSDL processing > Versions: 1.2 > Reporter: Ephemeris Lappis > Attachments: WS-for-J2me05-Jonas.zip > > This issue is a duplicate of the old 1734 that has been closed. > The ant task java2wsdl doesn't take into account the inner classpath to find dependant classes for complex types mapping. As a work-around, the build script must include the project's classes directory to the task defefinition classpath. > Note that when a simple service with no dependant class such as beans or exceptions is processed, the task effectively finds the main service class using the inner classpath. > The attached zip is a full project with its the build.xml. The taskdef explicitly add the project's compiled classes to the java2wsdl classpath to force the complex type mapping resolution. This is not correct, since a same taskdef may be used to process many services using distinct directories. Each target using the java2wsdl should be free to specify its own classpath. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira