axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Feature Request: Use of XML Schema for Interface Restrictions
Date Thu, 28 Jul 2005 07:38:05 GMT

>  -----Ursprüngliche Nachricht-----
> Von: 	Wegener, Jan, DCO  
> Gesendet:	Donnerstag, 28. Juli 2005 09:31
> An:	''
> Betreff:	Feature Request: Use of XML Schema for Interface Restrictions
> 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?
> A possible solution could be to use annotations in the interface to define some basic
> @argumentLength(7, 1) to define a maximum length of seven for the first argument of the
method annotated
> @argumentPattter("*foobar*", 1) to define a pattern for String arguments
> 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
> IT Architecture & Systems
> -------------------------------------------------
> arvato direct services
> An der Autobahn
> 33310 Gütersloh
> Germany
> <>

View raw message