|
Jan,
This is a long standing enhancement request to Axis 1.x.
We have no plans to address this in Axis 1.x, as Axis 2.0 will interface to various data binding libraries (XMLBeans, JAXB, etc) and we expect that they would be able to support the enforcement of Schema restrictions. -- From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
-----Ursprüngliche
Nachricht----- Hello there, currently the types generated in the wsdl are just the simple type mappings like Java:String to XML:String. So if you want to restrict the type to certain values you either have to manually modify the wsdl or write the checks in Java Code. Wouldn´t it be nice to generate some restrictions from the given
interface? @argumentLength(7, 1) to define a maximum length of seven for the first
argument of the method annotated The goal is to be able to use the possibilities of XML Schema better for defing the Web Service Interface with minimal manual modification since you want to write java code and generate all needed XML out of your interface. Because writing/modifying WSDL Files by hand is quite error-prone since the wsdl can become pretty complicated. greetings Jan Wegener |
Title: Feature Request: Use of XML Schema for Interface Restrictions
