If you attempt to consume wsdl in Biztalk
2006 that contains the wsdl schema “import” element you will receive the
following error:
I recently created a contract first wsdl
that referenced numerous external schemas using the wsdl schema Import element. For example:
<wsdl:import namespace="http://schemas.client.com/SomeApp/CommonTypes/20070316" location="CommonTypes.xsd"/>
The wsdl was validated in xml Spy and in
addition Visual Studio had no problem referencing it. However, Biztalk 2006 threw the above
error. Further digging around revealed
that Biztalk was unable to resolve the schema s referenced in the import elements.
Molnar Tibor has identified this problem and built an excellent tool kit called BiztalkWscfClient to resolve this problem. Find it here.