----- Original Message -----
From: "Dimuthu Leelarathne" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 22, 2002 9:46 AM
Subject: Re: XML Schama message validation.


> Hi Marcin,
>
> I guess you manually want to validate. I point out two ways of doing it.
>
> 1) You can write a handler. Get the SOAPBody from the MessageContext. Then
> you can parse it with xerces.
>
> 2) You can write a message style service with below signature.
>
>  public Element [] method(Element [] bodies);
>  public SOAPBodyElement [] method (SOAPBodyElement [] bodies);
>  public Document method(Document body);
>  public void method(SOAPEnvelope req, SOAPEnvelope resp);
>
> And then you can validate it using xerces within the body.
>
> Regards,
> Dimuthu.
>
>
> ----- Original Message -----
> From: "Marcin Okraszewski" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, September 22, 2003 12:13 AM
> Subject: XML Schama message validation.
>
>
> > Hi,
> > I would like to validate incoming messages against XML Schema
> > definition, but unfortunately I don't know to do it.
> >
> > Could you tell me how to do it?
> >
> > Thanks in advance.
> > Marcin Okraszewski
> >
> >
> >
>
>
>


Reply via email to