Microsoft KB Archive/917582

= FIX: The generated schema may contain duplicate elements when you generate a schema for BizTalk Adapter for Oracle Database =

Article ID: 917582

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft BizTalk Adapter for Oracle Database

-



SYMPTOMS
Consider the following scenario. You create a Microsoft BizTalk Server 2006 project. You use the Add Generated Items Wizard to generate a schema for an Oracle stored procedure that uses Microsoft BizTalk Adapter for Oracle Database. In this scenario, the generated schema may contain duplicate elements. If duplicate elements exist, you receive one or more error messages when you open the generated schema. Additionally, you cannot use the generated schema to make a call to the Oracle system.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Note Because of file dependencies, the most recent hotfix that contains these files may also contain additional files.



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



MORE INFORMATION
When you generate a schema for the HR_ASSIGNMENT_API procedure that is included with Oracle E-Business Suite, you may receive an error message that resembles the following:

This schema is an invalid XSD Schema and has the following error(s):

1. Elements with the same name and in the same scope must have the same type.

2. Elements with the same name and in the same scope must have the same type.

3. Elements with the same name and in the same scope must have the same type.

4. Elements with the same name and in the same scope must have the same type.

You receive this error message when you double-click the HR_ASSIGNMENT_APIService_HR_ASSIGNMENT_API_x5d.xsd file.

Note The elements that have duplicate names may not be the same every time that you generate the schema.

When you try to validate the HR_ASSIGNMENT_APIService_HR_ASSIGNMENT_API_x5d.xsd file, you may receive an error message that resembles the following:

error BEC3001: Elements with the same name and in the same scope must have the same type.

error BEC3001: Elements with the same name and in the same scope must have the same type.

error BEC3001: Elements with the same name and in the same scope must have the same type.

error BEC3001: Elements with the same name and in the same scope must have the same type.

