I mean I have an xml as argument and I have a schema for the validation. How can I make a class that accept these types of arguments.
-----Mensaje original----- De: Adhamh Findlay [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 01 de octubre de 2003 9:14 Para: [EMAIL PROTECTED] Asunto: Re: about complex types (newbie) Wermus, It sounds like you need to turn this xml file into a java class, and make this class the argument. If this class is a bean, then you can serialize the class and pass it back and forth. Adhamh On 9/30/03 1:30 PM, "Wermus Fernando" <[EMAIL PROTECTED]> wrote: > I have a method that it has as argument a complex type. It´s a xml file > validated by a schema. > > Wich java type can I use for the schema? > > If I use a string type, It could be too long for that type. Besides I can't > validate against the schema. > > Any help for this newbie, I'll be welcome. > > > Bye! >