If I remember correctly, @XmlSeeAlso is defined in the JAXWS2.1 (JAXB2.1) spec, right? currently we only support JAXWS2.0 (JAXB2.0)
And we will support JAXWS2.1 in the 2.1 final release

Cheers,
James

Hi all,

I just want to know if latest snapshot uses vesion 2.1 of both jaxb and
jaxws.
Here goes my problem. I had created a web service using code-first approach.
Some of my model beans have the annotation @XmlSeeAlso. I used java2wsdl
goal to generate the wsdl file. Now, a client does wsdl2java to get the
sources for the services. I noticed that the generated java code doesn't
contain the annotation @XmlSeeAlso. I'm not sure exactly what happened here
but this is what i think (just a hunch =^D). During the java2wsdl goal, cxf
didn't recognize the @XmlSeeAlso annotation. So the resulting wsdl file
doesn't include the necessary elements/values/attributes so that when a
wsdl2java goal is invoked on the said wsdl file, no @XmlSeeAlso annotation
is written.

I've used version 2.1-incubator-SNAPSHOT of cxf-bundle already and nothing
has changed with the generated sources. I read in this forum that the
upgrade of versions is already being taken into consideration.
If you could suggest a workaround for this, that would be so much
appreciated. =^D

Thanks in advance,
Cristina Malonzo

Reply via email to