community-content

Forum Replies Created

Viewing 15 posts - 7,006 through 7,020 (of 9,652 total)
  • Author
    Posts
  • in reply to: XPath Error #15846

    I figured out my problem. The XPath query need to have a surrounded "string()" function call as follows:

    XPath Query:

    string(/*[local-name()='batch']/*[local-name()='rec'][position()='1']/*[local-name()='messageId'])

    P.S. This site is great!

    Thanks,
    –Marcin 

    in reply to: .net Class Library #15843

    There really isn't any problem, you can call it from an expression shape without issues. If the method in your .net class is static, you can call it directly. Otherwise, you need to first add a variable to your orchestration with the correct type, and then call it later on.

    in reply to: Calling a .NET Assembly from Orchestration #15842

    For step two.

    When you add your a .NET class variable to the orchestration there is a property, Use Default Constructor.

    If this property is true, the following code will be added to when the orchestration is compiled  

    yourvariable = new yourclass();

    If your class does not have a default constructor then you need to set the property to false and explicitly instantiate the object yourself in the expression shape.

    yourvariable = new yourclass(parameter);

    in reply to: Calling a .NET Assembly from Orchestration #15841

    Thank u YouseT. Omar, it's exactly what i need.

     

    TNX

    in reply to: Calling a .NET Assembly from Orchestration #15840

    1 – From the BizTalk project that contains the orchestration add a reference to the assembly you wanna call

    ** before doing this, ensure that the assembly has a strong name (signed) (use sn.exe from the .NET SDK)

    2 – A. If you want to instantiate an object from your assembly and call methods from it, add a variable to your orchestration, and assign it the desired type from the referenced assembly. Initialize this object before using it, in an expression shape.

    B. If you want to call a static method provided from a class that is included in you assembly, there is no need to declare a variable of the class type. In an expression shape, call the method from the class, supplying it the required parameters.

     Hope this is useful,

     

    in reply to: Looping Message in Orchestration BTS 2006 #15837

    Thanks Bryan, slowly (as I am) I get an idea of how messages are being constructed.

     Still don't know if my approach I'm using at the moment is right but I will come back.

    Hansi
     

    in reply to: .net Class Library #15835

    TNX Tomas,

    I understood what u mentioned, however do u have stuff concerning invoking or what ever .net class library  from Biztalk-2006. Or to explain in more details how to figured it out.

     

    Tahnk u

    in reply to: .net Class Library #15834

    You can certainly do that. The easiest way is to create your .NET class so that the method takes an XmlDocument instance as an argument, and then you can just directly pass your BizTalk message as the argument and BizTalk will do the conversion behind the scenes. You can however also use classes that support XmlSerialization if you want as long as the class serializes to the exact same schema you got in BizTalk for your message.

    in reply to: MSMQ and MSMQT #15833

    Sajid,

    It does sound like you (possibly accidentally) enabled the MSMQT adapter. You can remove it easily, though, from the BizTalk Management Console: look under Platform Settings -> Adapters, find it and you should be able to remove it via right-click and the context menu.

    in reply to: SQL receive adapter problem #15832

    I would look at your Receive Port Location.  Change the pipeline to XML data vs pass through and I bet that corrects the issue as I understand your initial post. I dont think it has anything to do with encoding type and such.

    in reply to: Multiple invoices in edi file to one xml out file? #15830

    Maybe one could group the edi messages on the interchange ID ?

    If you are using Covast Adapter, you can batch the output on interchange ID.

    not sure how it does in BizTalk EDI Adapter does????

    Is it possible to join all the invoices in the edi file to one xml file?

    Send Port ->Copy mode:Append

    R-

    in reply to: Biztalk server 2004/2006 on windows XP media center #15829

    when i purchased laptop it came with XP media center(free), at that time i don't know it suports windows XP Prof OS too..

    i payed for Windows XP Prof… for update, later i came to know Media center suports both.

    If it workes let the group know, hope somebody save some bugs.

    Thanks

    Nar-

     

    in reply to: Biztalk server 2004/2006 on windows XP media center #15828

    Thanks.

    I will try it.

    in reply to: Biztalk server 2004/2006 on windows XP media center #15827

    Anil,

    I guess it should work, windows XP media center(Suports windows XP Prof)

    just like BIzTalk Installation process on Windows XP Prof …..

    Nar-

     

    in reply to: Looping Message in Orchestration BTS 2006 #15823

    Hansi,

     I'd look at this post for ideas on how to create a message within an orch.

    http://www.objectsharp.com/Blogs/matt/archive/2004/11/09/1009.aspx

     

     

Viewing 15 posts - 7,006 through 7,020 (of 9,652 total)