You've hit a known bug in XmlSchema:
https://issues.apache.org/jira/browse/WSCOMMONS-273
We're waiting for a new version of XmlSchema to be released that fixes
that bug (and a bunch of others we reported).
Dan
On Friday 11 January 2008, ben27 wrote:
> Hi everyone,
>
> I have a simple question for someone who is familiar with CXF.
> I try to add annotations to a method that contains three selfdefined
> datatypes:
>
> init(SessionId sid, DataTyp dt, DataTyp2 dt)
>
> How can I annotate them in the RequestWrapper to get a correct WSDL?
>
> I also tried to create something like a wrapperClass, but I always get
> an error when I try to start the service:
> INFO: Creating Service {http://xxx.de/}xxxService from class
> de.xxx.xxxService
> Exception in thread "main"
> org.apache.ws.commons.schema.constants.Enum$EnumValueException: Bad
> Enumeration value 'extension restriction'
>
>
> Can anybody help me?
>
> Regards,
> Benjamin
--
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog