axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Updated: (AXIS2-1116) WSDL2Java with Xmlbeans binding is not generating classes for all schema
Date Thu, 07 Sep 2006 16:44:22 GMT
     [ ]

Davanum Srinivas updated AXIS2-1116:

    Priority: Blocker  (was: Major)

> WSDL2Java with Xmlbeans binding is not generating classes for all schema
> ------------------------------------------------------------------------
>                 Key: AXIS2-1116
>                 URL:
>             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:
> 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"
> 			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:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message