community-content

Forum Replies Created

Viewing 15 posts - 8,011 through 8,025 (of 9,652 total)
  • Author
    Posts
  • in reply to: resumable and non-resumable #13819

    Another thought popped into my head last night.
    Basically, an orchestration \”loses state\” when it it bombs with suspended-not-resumeable.

    Hopefully you get rid of most of these errors during your stress testing, but you might also consider using a big scope with an exception handler. In the exception, you can save a message to a flat file so you restart using your own procedures.

    in reply to: WordDoc conversion and file transfer #14796

    Thanks…I got it from another source…Now the only problem I have is how to make it accessable via the BizTalk Pipeline Components. For some reason when I made the key and promoted to the GAC, it tells me \”Invalid Pipeline Assembly\” (or something like that).

    in reply to: resumable and non-resumable #13816

    Thanks for the reply. It’s a very good idea that we can build a list.

    Greg, about the web service sitatuation. You mean the message will get suspended(resumable), but the ochestration is not resumable, right? We have seen orchestrations got suspended(resumable) without using suspension shape, what’s the general rule for that to happen?

    in reply to: Biztalk 2006 Install Option #14816

    What’s up with this install option in the Configuration Utility?

    On the Group tab on the left –

    There is a check box that says:
    Create an Analysis database for tracking aggregations (requires SQL Server 2000 Analysis Services).

    Why doesn’t this work with SQL 2005?
    What does it give you or what do you lose if you don’t check it?
    Is this related to BAM or is the HAT tracking?

    Thanks!

    in reply to: Execute multiple Biztalk 2004 messages from .NET #13826

    Hi

    I am using .NET component to execute a Biztalk 2004 rules policy which takes an input xml message and returns me updated xml message, as explained in Case A.

    Case A:
    Input xml with ID value:
    <Emp>
    <ID>1002</ID>
    <Income/>
    </Emp>

    Output xml with ID and Income value:

    <Emp>
    <ID>1002</ID>
    <Income>50000</Income>
    </Emp>

    Case B:
    Input xml with IDs of multiple employees:
    <Employees>
    <Emp>
    <ID>1000</ID>
    <Income/>
    </Emp>
    <Emp>
    <ID>1001</ID>
    <Income/>
    </Emp>
    <Emp>
    <ID>1002</ID>
    <Income/>
    </Emp>
    </Employees>

    Output desired:
    <Employees>
    <Emp>
    <ID>1000</ID>
    <Income>40000</Income>
    </Emp>
    <Emp>
    <ID>1001</ID>
    <Income>50000</Income>
    </Emp>
    <Emp>
    <ID>1002</ID>
    <Income>60000</Income>
    </Emp>
    </Employees>

    My question is: How can I acheive the desired output using .NET components? I want to execute policy only through C# code and get back the result.

    Please advise. Thanks in advance.

    Pankaj[code:1:7ff55824ef][/code:1:7ff55824ef][code:1:7ff55824ef][/code:1:7ff55824ef]

    in reply to: Add or insert records to XML Repeating Sequence Group #13770

    The C# code has NOTHING to do with a map.
    It is called from a Biztalk message assignment shape in an orchestration.

    The C# must have a strong name, and must be installed in the GAC on the machine where Biztalk server is running.

    In your Biztalk project, you make a reference to the assembly (project, right click reference, click \”Browse\” button, find BIN directory where you compiled .DLL to, and select the .DLL.

    Since the C# routine is static, you do not need a variable/object to call it.

    You will code something like this:

    YourNamespace.YourClass.AddChildDocument(
    msgParent, msgChild,
    \”ParentElement\”, \”http://xxxxx.com/schema\”);

    Since normal messages are xmlDocuments, I’m pretty sure you can pass them directly where the C# program expects an xmlDocument object.

    Eventually, you will probably develop several \”helper\” classes in C#,
    so you will probably have something like an XmlHelpersClass, and it may have 5 to 20 methods in it that you can call.

    in reply to: Installing BizTalk 2004 on multiple computers #13821

    I typically try to put VS 2003 on the Dev Server. It’s not required – I just makes like easier. In BizTalk 2006, you can do everything in the Admin tool. In 2004, it is not the case. It is required on the workstations.

    Office, or at least Excel, it required on the server and workstations only if you are using and installing BAM.

    On the workstations, I think you just need the Developer Tools. Might want to make sure you get the Documentation and SDK as well. If using BAM – you might need one of the BAM pieces. I not sure on that.

    Hope this helps.

    in reply to: Add or insert records to XML Repeating Sequence Group #13774

    [quote:e1971f0488=\”nwalters\”]The two methods that come to mind first are doing it with text/strings/stringBuilder or with XmlDocument (and maybe a C# helper class).

    Where I work, they have a C# helper class with a static method called AddChildDocument:

    The C# code is relatively simple:

    [code:1:e1971f0488] public static XmlDocument AddChildDocument(
    XmlDocument parentDocument,
    XmlDocument childDocument,
    string parentElementName,
    string parentNamespace)
    {
    XmlElement rootElement = null;
    XmlNode childRoot = null;
    XmlNodeList nodeList = null;

    if (parentDocument != null && childDocument != null)
    {
    nodeList = parentDocument.GetElementsByTagName(parentElementName, parentNamespace);

    if (nodeList != null & nodeList.Count > 0)
    {
    rootElement = (XmlElement)nodeList.Item(0);
    if (rootElement != null)
    {
    childRoot = childDocument.DocumentElement;
    rootElement.InnerXml = rootElement.InnerXml + childRoot.OuterXml;
    }
    }
    }

    return parentDocument;
    }[/code:1:e1971f0488][/quote:e1971f0488]

    Hi [color=darkblue:e1971f0488][b:e1971f0488]nwalters[/b:e1971f0488][/color:e1971f0488],

    I have the same problem than [color=darkblue:e1971f0488][b:e1971f0488]joswalt[/b:e1971f0488][/color:e1971f0488]…
    Your [i:e1971f0488]C#[/i:e1971f0488] code seems to be useful, but where do you put it ? In a [i:e1971f0488]scripting functoid[/i:e1971f0488] in the [i:e1971f0488]BizTalk mapper[/i:e1971f0488] ?
    If yes, how can you connect that scripting functoid between source and destination schema ?
    I can’t understand…

    Thanks a lot if you can help me on that point.

    in reply to: Installing BizTalk 2004 on multiple computers #13823

    Thanks for your advices.

    I have read Installation guide, but there are some moments, I could not understand.

    Do I have to install Visual Studio 2003 on server machine, or installing it on workstations is enough?

    Same question about MS Office.

    If I install VS.NET on workstations, what components of BizTalk server have to be installed on this workstations?

    in reply to: SQL Server on another machine #13781
    in reply to: Installing BizTalk 2004 on multiple computers #13822

    Hi everybody!

    We are going to install BizTalk 2004 on multiple computers. We have 1 server machine (free) and 2 workstations (for programmers). We have one administrator(me) and 2 programmers in my team. We have MS SQL server 2000, that already works, and Active Directory controller installed on another machine (Windows 2003).

    Can I install BizTalk server apparently from it`s developer tools for the purpose of working separately from programmists?

    What components I have to install on server machine and what components on workstations (workstations are for programmists)?

    Is there any prerequisites, I have to do?

    P.S. Step by step instruction would be preferable

    THANKS

    in reply to: resumable and non-resumable #13817

    Resumable means the service may be able to be recovered.
    A good example, a web service send that fails because the web service is unavailable. The message service will suspend-resumable. When the web service becomes available you can resume the service and the message will be delivered.
    Care needs ot be taken as the orchestration that originated the message may have completed and there will be nowhere to deliver the response.

    in reply to: resumable and non-resumable #13818

    In Biztalk 2004, if your orchestration blows up with an application error, it will be \”suspended (not resumeable)\”. I’m just starting to play with 2006, but I’ve read that there are more chances of resuming there.

    About the only time you get a \”resumeable\” is when you use the \”SUSPEND\” shape in your orchestration. If anybody knows any other ways to get the \”resumeable\” – please post and let’s build a list of them.

    in reply to: Mapping to an Abstract Type Node #13809

    Can you show us you schema or at least the definition of the Detail element and associated element/types

    Are you using abstract types or elements

    Do you have control over the output schema or ar you interfacing using an existing schema.

    in reply to: hexadecimal 0x40 #14712

    This higihlights one of the problems of building your own Xml usng strings rather than an Xml parser.
    When you assign a string value to a node using a parser it should be automatically excaped.
    i.e. John Walker<[email protected]> becomes John <return>Walker&lt;[email protected]%gt;</return>

    This will makes handling the Xml much easier than using CDATA
    To do this:
    [code:1:aad87f017b]xDoc.LoadXml(\"<ns0:returnValue xmlns:ns0=’http://LeadMgmtEmail.returnValue’><return/></ns0:returnValue>\");
    xMessage = xDoc;
    xpath(xMessage, \"/*[local-name()=’returnValue’ and namespace-uri()=’http://LeadMgmtEmail.returnValue’]/*[local-name()=’return’ and namespace-uri()=”]\") = Email(POP3.From);[/code:1:aad87f017b]

Viewing 15 posts - 8,011 through 8,025 (of 9,652 total)