Home Dashboard Directory Help
Search

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


Status: 

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)
view
0
User(s) can reproduce this bug

Description


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
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.