views:

23

answers:

0

Hello,

I have the following XML as part of my WSDL.

<schema targetNamespace="http://compservice.com" xmlns="http://www.w3.org/2001/XMLSchema"&gt; 
   <import namespace="http://bean.compiere.org"/&gt;
   <import namespace="http://xml.apache.org/xml-soap"/&gt;
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="soapenc.xsd" />
   <complexType name="ArrayOf_xsd_anyType">
    <complexContent>

     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/>
     </restriction>
    </complexContent>
   </complexType>
  </schema>

But the WSDL parser , gives the following error message :

The definition for the schema "http://www.w3.org/2001/XMLSchema" is not available in the wsdl file. Please define it in this file or use import statement to import from other file containing the schema definition.

Any way to fix this problem ?

Thank You