You should just be able to pass the XML and DTD in as Files through the
arg and have your xml parse do the validation on the other side. It has
been a long time since I had to do this, but this is the route I would
take.

You could send the xml files through the web service as attachments. Or
even buffer it out to a string.

I may be way off but just my thoughts :-)

-----Original Message-----
From: Wermus Fernando [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2003 9:27 AM
To: [EMAIL PROTECTED]
Subject: RE: about complex types (newbie)

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!
> 

Reply via email to