namespace of non complex collection types
-----------------------------------------
Key: XFIRE-717
URL: http://jira.codehaus.org/browse/XFIRE-717
Project: XFire
Issue Type: Bug
Components: Generator
Affects Versions: 1.2.2
Reporter: Hauke Rabe
Assigned To: Dan Diephouse
When you generate WSDL files with WsdlGenTask the namespace of non complex
collection types (e.g. ArrayOfString, ArrayOfLong) is equal to the
targetnamespace.
The problem is now, if a complex type with another namespace as the
targetnamespace use this non complex collection type and is also use in another
context.
wsdl A:
- Namespace: "tnA" defines an ArrayOfString
- Namespace: "core" defines a complex Type = "foo"
wsdl B:
- Namespace: "tnB" defines an ArrayOfString
- Namespace: "core" defines a complex Type = "foo"
Complex type "foo" has an element "names" wich results in ArrayOfString.
A resulting ObjectFactory from the namespace "core" defines now two methods for
the ArrayOfString element with the same @XmlElementDecl anotation. One method
per targetnamespace ("tnA" and "tnB").
This happens also if you define a @XmlElement(namespace="core") for the
getter-method of "names".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email