You can define an XML type with such restrictions (see restrictions in XML specification) but I don't think you can make Axis to force such rules. Regards.
-------------------------------------- Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000 Ljubljana, SLOVENIA Phone: +386 1 5865 638 Fax: +386 1 5865 270 E-mail: [EMAIL PROTECTED] www.hermes-softlab.com -------------------------------------- > -----Original Message----- > From: Didier Girard [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 22, 2002 5:39 PM > To: [EMAIL PROTECTED] > Subject: Business rules > > > Hello, > > I have a very simple service (echo) : > > public interface EchoServices { > public String callService(String in_input); > } > > But the length of in_input should not exceed 10 characters. > > How can I export this business rule to the WSDL ? > -> with XML Schema ? Ok, but could Java2WSDL do it for me ? > > More general questions : > Can WSDL2Java and Java2WSDL deal with business rules ? > Does Axis deals with business rules ? > > Thanks in advance. > d2d > > _________________________________________________________________ > Discutez en ligne avec vos amis, essayez MSN Messenger : > http://messenger.msn.fr/ >
