Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 45301 invoked from network); 7 Sep 2006 16:48:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2006 16:48:00 -0000 Received: (qmail 72438 invoked by uid 500); 7 Sep 2006 16:47:56 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 72388 invoked by uid 500); 7 Sep 2006 16:47:56 -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 72377 invoked by uid 99); 7 Sep 2006 16:47:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 09:47:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2006 09:47:55 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C5FFE7142F9 for ; Thu, 7 Sep 2006 16:44:22 +0000 (GMT) Message-ID: <23873488.1157647462787.JavaMail.jira@brutus> Date: Thu, 7 Sep 2006 09:44:22 -0700 (PDT) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-1116) WSDL2Java with Xmlbeans binding is not generating classes for all schema In-Reply-To: <24975825.1157576064921.JavaMail.jira@brutus> 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/AXIS2-1116?page=all ] Davanum Srinivas updated AXIS2-1116: ------------------------------------ Priority: Blocker (was: Major) > WSDL2Java with Xmlbeans binding is not generating classes for all schema > ------------------------------------------------------------------------ > > Key: AXIS2-1116 > URL: http://issues.apache.org/jira/browse/AXIS2-1116 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: databinding > Affects Versions: 1.0 > Environment: Windows XP, Axis 2.0 nightly build (2006-09-02) > Reporter: Brennan Spies > Priority: Blocker > Attachments: files.zip > > > I have 3 XML Schemas that are used by my service definition in Query.wsdl. I am specifying 'xmlbeans' as the databinding option and doing the code generation with the following ant task (see attached for source): > generateservicexml="true" packagename="com.ejgallo.workflow.service.query" synconly="true" > namespaceToPackages="urn:ejgallo:workflow:routing=com.ejgallo.workflow.service.routing,urn:ejgallo:worklfow:service=com.ejgallo.workflow.service,urn:ejgallo:workflow:service:query=com.ejgallo.workflow.service.query" > databindingName="xmlbeans" serviceName="QueryWebService" generateAllClasses="true" serverSideInterface="true" > testcase="true" unpackclasses="true"/> > There are 3 problems here: > 1) Only one of the schema files, workflowTypes.xsd, has XMLBeans source files generated for it, though the console output indicates that all 3 are found/referenced. (No problem when Xmlbeans' ant task is used instead). > 2) Under the /resources directory, the referenced schema files are generated as 'xsd0.xsd', 'xsd1.xsd', and 'xsd2.xsd'. Because the original schema file names are referenced in the WSDL and XSD files, this leads to the appropriate files not being found when it is deployed as an .aar. > 3) The 'namespaceToPackages' attribute on the ant task is not being honored, leading the source files for the generated Xmlbeans classes to be the default that Axis chooses for them based on the namespace. -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org