Re: SOAP-ERROR: Parsing Schema: unexpected <import> in schema</import>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux