axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brennan Spies (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1116) WSDL2Java with Xmlbeans binding is not generating classes for all schema
Date Wed, 06 Sep 2006 20:54:24 GMT
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
         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):

		<codegen wsdlfilename="${basedir}/xml/Query.wsdl" output="${basedir}" serverside="true"

			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


Mime
View raw message