Re: SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import>
| From: | superspace | Date: | Wed, 08 Jun 2011 05:43:14 +0000 |
| Subject: | Re: SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import> | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-3309@lists.php.net to get a copy of this message | ||
From my web service provider:
======
Your soap client is not resolving the web reference (schema import etc) correctly and causing this problem. Either you need to fix this reference issue on the client side or try a different URL structure or try to parse by removing the schema reference from WSDL if possible
======
Hmmph. Arghghghg
- superspace
On 08/06/11 11:28, superspace wrote:
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