Search

Error when building a BizTalk 2010 Project containing an Orchestration in VS 2010 by Howard S. Edidin

Active

1
0
Sign in
to vote
Type: Bug
ID: 686247
Opened: 8/30/2011 5:48:01 PM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug

These errors occurs in the ## orchestration code file!

error x2004: mismatched 'braces' '{}'

error x2254: unexpected keyword: 'module'

error x2254: unexpected keyword: 'service'

Open the Orchestration in a text editor and look at the end of the file.

The following is an example of the problem:
[Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
module FL.COM.BTS.PO.WMBridge.Orchestrations
{
    internal porttype WMBridgeExt_Type
    {
        oneway ProcessPO
        {
            System.Xml.XmlDocument
        };
    };
    [Microsoft.XLANGs.BaseTypes.BPELExportable(false)]
    internal service CreateWMBridgeBatchMsg
    {
        [Microsoft.XLANGs.BaseTypes.LogicalBinding()]
        port implements WMBridgeExt_Type WMBridgeExt_Port;
        message GetWMBridgePOLineItemsRequest GetWMBridgePOLineItems_Request;
        message GetWMBridgePOLineItemsResponse GetWMBridgePOLineItem_Response;
        message FL.COM.BTS.PO.WMBridge.Schemas.WMBridgeExt WMBridgeExt_Request;
        message System.Xml.XmlDocument XmlDocRequest;
        System.Xml.XmlDocument xDoc;
        body ()
        {
            [Microsoft.XLANGs.BaseTypes.DesignerPosition("ebb0c2f6-5257-49e6-839c-409f4f8c3590")]
            activate ((BTS.MessageType == "http://FL.COM.BTS.PO.WMBridge.Schemas.WMBridgeExt#WMBridgePO_Record") && (FL.COM.BTS.PO.WMBridge.Schemas.PropertySchema.BTS_Status == "IN_PROCESS"))receive (WMBridgeExt_Port.ProcessPO, XmlDocRequest);
            xDoc = new System.Xml.XmlDocument();
            [Microsoft.XLANGs.BaseTypes.DesignerPosition("31aed120-bf17-4aff-b203-ef34b4ed7788")]
            xDoc = new System.Xml.XmlDocument();
            [Microsoft.XLANGs.BaseTypes.DesignerPosition("4df55495-67f3-4d09-bfb5-7dbe1f75e90f")]
            construct WMBridgeExt_Request
            {
                [Microsoft.XLANGs.BaseTypes.DesignerPosition("cdcdb309-7430-4769-9371-b7ba0434cfc3")]
                WMBridgeExt_Request = XmlDocRequest;
            }
THERE NO CLOSING BRACE FOR THE BODY
Details (expand)

Product Language

English

Version

BizTalk 2010 Beta

Category

Visual Studio

Repro Steps

When trying to build the BizTalk Application, the Orchestration build class does not add the closing Brace to the last body in the configuration.

This seems to occur more often when using a System.Xml.XmlDocument variable in the Orchestration.

I had posted this on the VS 2010

Greetings from Microsoft Connect!

This notification was generated for feedback item: Error when building a BizTalk 2010 Project containing an Orchestration in VS 2010 (http://connect.microsoft.com/VisualStudio/feedback/details/678914/error-when-building-a-biztalk-2010-project-containing-an-orchestration-in-vs-2010) which you submitted at the Microsoft Connect (http://connect.microsoft.com) site.

Hi hsedidin,

Sorry for delay. We have problem to sync this issue to BizTalk product team. So I am afraid that you have to submit this issue to BizTalk connect team directly:
File Attachments
0 attachments
Sign in to post a comment.
Posted by Howard S. Edidin on 8/30/2011 at 5:49 PM
This is for BIzTalk 2010 Developer Edition
Sign in to post a workaround.