Microsoft KB Archive/913482

= You receive an error message when you try to consume a Web service in BizTalk Server 2004 =

Article ID: 913482

Article Last Modified on 3/30/2006

-

APPLIES TO


 * Microsoft BizTalk Server 2004 Standard Edition
 * Microsoft BizTalk Server 2004 Partner Edition
 * Microsoft BizTalk Server 2004 Enterprise Edition
 * Microsoft BizTalk Server 2004 Developer Edition

-





SYMPTOMS
In Microsoft BizTalk Server 2004, you receive an error message that states that there are complex types that are defined two times. You receive this error message when you try to consume a Web service that uses the Microsoft BizTalk Adapter for Web Services Enhancements (WSE) 2.0.



CAUSE
This problem occurs when the following conditions are true:
 * The request schema and the response schema are the same .xsd file.
 * The .xsd file contains many complex types that are aggregated in the root node.
 * The root namespace and the target namespace are the same.

This problem occurs because of a code defect in the WSE Publishing Wizard. This code defect causes the schema to be added two times during the generation of the Web Services Description Language (WSDL) file. Therefore, the TypeInfo property also exists two times in the WSDL file.



WORKAROUND
To work around this problem, create a separate target namespace.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbbtsadapters kbbts kbtshoot kbbug kbprb KB913482

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.