Reason: The above code fragement is incorrect because of :
R2003 -> The xsd import statement here should be under types and not under definition tag of wsdl.
Reason:The above code fragement is correct because of code:
R2001 -> The use of import in definition is to import another wsdl.
Reason: The above code fragement is correct .Even thought it is using indirect schema specified by namespace xsd1.It is legal.