schema reference
Posted: Wed Nov 12, 2003 7:10 pm
Hi,
if I store my SOAP schema locally, the following code is fine:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ file:///d:/xmlpilot/soaplocal.xsd>
But if I reference to the schema on the web, it doesnt work!
Code:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/ >
Error Message:
Cannot find the declaration of element 'SOAP:Envelope'.
Is there anyone who can solve that problem? Thank you very much!
if I store my SOAP schema locally, the following code is fine:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ file:///d:/xmlpilot/soaplocal.xsd>
But if I reference to the schema on the web, it doesnt work!
Code:
<?xml version="1.0" ?>
<SOAP:Envelope
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"
xs:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/ >
Error Message:
Cannot find the declaration of element 'SOAP:Envelope'.
Is there anyone who can solve that problem? Thank you very much!