Hi Paul,
The problem is that Soap is using schema's written according to the W3C Working Draft (04/00) whereas Xerces, as of 1.3.0, only validates documents written according to the W3C Schema Candidate recommendation (10/00). We're only supporting schemas written to the most recent draft of the spec, so unfortunately we won't be supporting these older schemas anymore. Hope that helps, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 416-448-3519, T/L 778-3519 E-mail: [EMAIL PROTECTED] Paul Duffy <[EMAIL PROTECTED]> on 03/22/2001 01:12:26 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Xerces 1.3.1 / SOAP 2.1 won't work together.... Hello All, Many have discovered that Xerces 1.3.1 and Apache SOAP 2.1 will not function together. We have to go all the way back to xerces 1.2.1 to successfully operate SOAP 2.1. SOAP API is reporting the following error due to XML parsing problems... SOAPException=SOAP-ENV:Client, A ''http://schemas.xmlsoap.org/soap/envelope/:Fault" element must contain a : "faultcode" element. There appears to be two problems. 1. Parser can not resolve the xsd namespace URI in the request XML. 2. Parser can't parse the Fault info in the repsonse Grateful for any assistance.... Request: <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <ns1:getRate xmlns:ns1="urn:demo1:exchange" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <country1 xsi:type="xsd:string">USA</country1> <country2 xsi:type="xsd:string">japan</country2> </ns1:getRate> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Response: <?xml version='1.0' encoding='UTF-8'?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode>SOAP-ENV:Client</faultcode> <faultstring>Unable to resolve namespace URI for 'xsd'.</faultstring> <faultactor>/soap/servlet/rpcrouter</faultactor> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> Running J2SDK 1.3.0.02 Tomcat 3.2.1 Soap 2.1 Xerces 1.3.1 Jaf 1.0.1 Javamail 1.2 ********************************************************* Paul B Duffy [EMAIL PROTECTED] Cisco Systems, Inc. ******************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
