Thank you Adam. I'm looking forward to see your patch.
Ralf
Adam Kramer schrieb:
Ralf,
I posted a Jira feature request. Its at
http://jira.codehaus.org/browse/CASTOR-1328
I left JAXB2 compatibility out of the request as I saw that as a
seperate feature; the issue can be solved without involving any JAXB2 work.
Thanks,
Adam
Ralf Joachim wrote:
Hi Adam,
sorry that you did not get a respond on your first request. The
problem is, that the resources working on the XML side of Castor are
very limited. The person that did most of the work there has no time
according to private reasons at the moment and there is only one that
frequently offers support on the mailing list. Even if there are
Werner and myself actively working on the JDO side of Castor, our
knowledge on XML things is quite limited.
Never the less we are quite interested in an integration modul for
XFire and we also see JAXB2 compatibility as the future for Castor
XML. The main question for both of us is how to add the features you
need for the XFire integration?
May it be an option if you prepare a patch to Castor SourceGenerator
that e.g. adds the annotations you need to the generated classes? If
this patch looks reasonable and does not brake things for our test
suite I will take care to commit this enhancement.
To start with I suggest you to create a new issue in jira where we can
continue discussion on what is required to get things working.
Regards
Ralf
Castor JDO, committer
Adam Kramer schrieb:
I didn't get a response to the questions below. Anyone wanna take a
crack?
Adam Kramer wrote:
I'm attempting to refine a castor xml-java binding module for the
XFire (http://xfire.codehaus.org) SOAP framework. Each registered
schema type needs to be defined as abstract (<complexType
name="...">) or concrete (<element name="..."><complexType>) so that
when XFire is producing WSDL for parameters of these types, they
know how to reference the schema (i.e. either with 'ref' attributes
if concrete or with 'name' and 'type' attributes if abstract). I
was able to get schema type information like local name, ns-uri and
ns prefix from instances of XMLClassDescriptor whether those were
from a mapping or from XxxDescriptor class instances accompanying
schema-generated classes.
Unfortunately, I don't see a mechanism for determining the
'abstractness' of a schema type from the Descriptor. In Jaxb2, this
is determined with the existence of XMLRootElement and XMLType
annotations in the schema type java class. Is there any similar
mechanism in Castor, or am I going to have to make a best guess?
Any help is greatly appreciated.
Thanks,
Adam
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty
message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message
to the following address:
[EMAIL PROTECTED]
-------------------------------------------------
-------------------------------------------------
If you wish to unsubscribe from this list, please
send an empty message to the following address:
[EMAIL PROTECTED]
-------------------------------------------------