W3C home > Mailing lists > Public > xml-dist-app@w3.org > June 2001

How to validate the SOAP message against my XMLSchema

From: Bertus van de Poll <ktuhla@zonnet.nl>
Date: Fri, 29 Jun 2001 03:58:52 -0400 (EDT)
Message-ID: <006401c10071$5063b260$6e01a8c0@pc003>
To: <xml-dist-app@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:01 GMT