SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import>
| From: | superspace | Date: | Wed, 08 Jun 2011 01:28:36 +0000 |
| Subject: | SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import> | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-3308@lists.php.net to get a copy of this message | ||
Hi All,
I have the following in my wsdl:
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="ASchemas.xsd"/>
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="BSchemas.xsd"/>
<xsd:import namespace="http://web-service-provider.com/2004/10/10" schemaLocation="CSchemas.xsd"/>
and I get the following error:
SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import>when the SoapClient tries to parse the wsdl What exactly does this mean? And how can I resolve it. Thanks php version: 5.3.5 - superspace