How to validate the SOAP message against my XMLSchema

Hi,

I am trying to validate the content (Body) of a SOAP message when receiving on a Apache/Tomcat (Linux) Server.
I send the following but no matter what is in my XMLSchema at "http://nvs1:80/nvs-request", the server accepts it:

<SOAP-ENV:Envelope
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:xsd="http://www.w3.org/1999/XMLSchema"
 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
 SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<SOAP-ENV:Body>
<getAddressFromName xmlns="urn:AddressFetcher" >
<nvs:profiel xmlns:ns="urn:xml-soap-address-demo" xsi:type="ns:profielT"  xmlns:nvs="http://nvs1:80/nvs-request">
<nameToLookup xsi:type="xsd:string">John B. Good</nameToLookup>
</nvs:profiel>
</getAddressFromName>
 </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

How do I specify that the xml of the Body should be validated against my own XMLSchema ??

Received on Friday, 29 June 2001 12:59:14 UTC