Microsoft KB Archive/930407

From BetaArchive Wiki

Article ID: 930407

Article Last Modified on 11/15/2007



APPLIES TO

  • Microsoft BizTalk Server 2006 Standard Edition
  • Microsoft BizTalk Server 2006 Enterprise Edition
  • Microsoft BizTalk Server 2006 Developer Edition



SYMPTOMS

When you export an orchestration to a Business Process Execution Language (BPEL) file in Microsoft BizTalk Server 2006, you receive one of the following error messages when you use the BPEL Import Wizard to import the orchestration:

Error message 1


filename.wsdl: error: B1023: schema validation error: The element 'element' in namespace 'namespace' has invalid child element 'element' in namespace 'namespace'. List of possible elements expected: '##other:*'.

Error message 2


filename.bpel: error: B1023: schema validation error: The element 'element' in namespace 'namespace' has incomplete content. List of possible elements expected: 'namespace:elementnamespace:elementnamespace:element ##other:*'

Typically, you receive the second error message when the orchestration makes a call to a Web service that takes no parameters.

RESOLUTION

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:

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:

Prerequisites

You must have Microsoft BizTalk Server 2006 installed to apply this hotfix.

Restart requirement

You do not have to restart your 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.

File name File version File size Date Time
Microsoft.xlangs.bpel.bpelom.dll 3.5.1656.0 124,296 13-Feb-2007 00:10
Microsoft.xlangs.bpel.bpeltranslator.dll 3.5.1656.0 488,856 13-Feb-2007 00:10
Xlangscompiler.dll 3.5.1656.0 1,138,024 13-Feb-2007 00:10

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 "Applies to" section.

MORE INFORMATION

To re-import the orchestration after you apply the hotfix, manually modify the node order of the Web Service Description Language (WSDL) file that the BPEL export operation generates. Modify the WSDL files so that the plnk:partnerLinkType element appears first.

For example, consider the following sample WSDL file.

<?xml version="1.0"?>
<definitions xmlns:tns="http://test.demo.MyBPELExport" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:q1="http://MyBPELTest.Schema1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MyBPELTest" targetNamespace="http://test.demo.MyBPELExport" xmlns="http://schemas.xmlsoap.org/wsdl/">
   <types>
    <xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://MyBPELTest.Schema1" targetNamespace="http://MyBPELTest.Schema1">
      <xs:element name="Root">
        <xs:complexType />
      </xs:element>
    </xsd:schema>
  </types>
  <message name="__messagetype_MyBPELTest_Schema1">
    <part name="part" element="q1:Root" />
  </message>
  <portType name="PortType_1">
    <operation name="Operation_1">
      <input message="tns:__messagetype_MyBPELTest_Schema1" />
    </operation>
  </portType>
<plnk:partnerLinkType name="Port_1Type">
    <plnk:role name="portRole">
      <plnk:portType name="tns:PortType_1" />
    </plnk:role>
  </plnk:partnerLinkType>
</definitions>

Modify the sample WSDL file as follows.

<?xml version="1.0"?>
<definitions xmlns:tns="http://test.demo.MyBPELExport" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:q1="http://MyBPELTest.Schema1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MyBPELTest" targetNamespace="http://test.demo.MyBPELExport" xmlns="http://schemas.xmlsoap.org/wsdl/">
  <plnk:partnerLinkType name="Port_1Type">
    <plnk:role name="portRole">
      <plnk:portType name="tns:PortType_1" />
    </plnk:role>
  </plnk:partnerLinkType>
  <types>
    <xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http://MyBPELTest.Schema1" targetNamespace="http://MyBPELTest.Schema1">
      <xs:element name="Root">
        <xs:complexType />
      </xs:element>
    </xsd:schema>
  </types>
  <message name="__messagetype_MyBPELTest_Schema1">
    <part name="part" element="q1:Root" />
  </message>
  <portType name="PortType_1">
    <operation name="Operation_1">
      <input message="tns:__messagetype_MyBPELTest_Schema1" />
    </operation>
  </portType>
</definitions>

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Keywords: kbbts kbbug kbfix kbpubtypekc kbhotfixserver kbqfe KB930407