community-content

Forum Replies Created

Viewing 15 posts - 5,266 through 5,280 (of 9,648 total)
  • Author
    Posts
  • in reply to: Architecture – WCF or BizTalk? #18559

    Microsoft has given you two things to choose from,

    1. WCF, the pie in the sky that doesn’t exist yet or

    2. Biztalk, which is already being abandoned as they build WCF.

     

    in reply to: what is the purpose of Biztalk Accelerators ? #18558

    to provide prebuilt schemas and possibly a transport, like RNIF for Rosettanet.  

    in reply to: BTM1010 #18556

    No problem!

    Lieven

    in reply to: ‘Receive Port cannot have more than one #18555

    Hmm …. interesting. I am racking my brain trying to remember what one of our architects told me about ‘not being able to copy elements from one project/location into another’ …. I will check with him when he comes into the office later in the week.
    BTW have you gone into the BiztalkMgmtDb database and checked if that location exists against that project. That might be a good place to start and I will follow up with some of our Biztalk devs here and see if anyone has come across this before …

    Cheers
    JMan 

    in reply to: BTM1010 #18554

    Hey thanks for that – I have just learned something. I too have had errors testing a map with functiouds that access external assemblies and now I know that it needs to be GAC’d – and I thought I was gonna help you ! 🙂

    Cheers
    JMan

    in reply to: Disabling the Send Port for a certain time #18552

     You could use WMI to stop the send port at a particular time and then start it up after your maintanence window.  You could do this as a scheduled task and reach out to some .Net code or script.

     Here is a link to some info about wmi scripting.  In your case you would want to use the ROOT.MicrosoftBizTalkServer.MSBTS_SendPort.cs class.  Also ensure that you want to keep the Send Port enlisted.  Enlisted ensures that a subscription still exists in the database.  That way then you start the send port up, all “queued” up messages will be resumed.

    http://kentweare.blogspot.com/2007/11/wmi-scripting-for-biztalk-operations.html

    in reply to: Difference between Biztalk 2000 and 2006 R1 #18548

    Wow, between BizTalk 2000 and BizTalk 2006 there are significant, fundamental changes.  There are plenty of show stoppers 😉  Not sure I’ve seen a side-by-side comparison, but the changes I can think of include:

    • Change in how messages are processing (channel/port to pub-sub)
    • Rebuilt orchestration engine (script to compiled code)
    • Schemas are XSD now vs. XDR
    • Changes in underlying platform (COM to .NET)
    • Integrated web services support now
    • 20+ adapters instead of the 4 provided in BizTalk 2000
    • Peripheral features now such as Business Rules Engine and Business Activity Monitoring

    I’m sure I’ve skipped others.

    What is the same?  Mapper looks the same.  Use cases (B2B/EAI/workflow) are still there.  Conceptually a similar product, but you’ll have to look at the artifacts in your 2000 application, and see how to either upgrade or rewrite each of them.

    in reply to: Biztalk Mapper #18547

    A few different ways are possible.  Mostly commonly, you’d use Value Mapping functoids.  There’s no explicit “if … else”, so you’d have two “equals” functoids connecting to two “value mapping” functoids.

    You could also accomplish this using the Scripting functoid and custom XSLT (although XSLT doesn’t have an if .. else either), or use a Scripting functoid and inline code.

    in reply to: Sending a Received File’s Name to Database #18546

     Yes that is the exact issue, but the orchestration is a bit more
    complex than that because I also need to store an adminstrator id
    (which is a promoted property from a property schema).  This forces me
    to use a multi-part message and a solicit-response send port (at least
    I think it forces me to).

    When I tested it using just the myString =
    msgReceiveMessage(FILE.ReceivedFileName) with a static one-way send
    port it seemed to be fine but I run into problems when I try to piece
    it all together.

    in reply to: BTM1010 #18542

    Hi,

     Thanks for your reply, I’ve searched on the internet. The thing I’ve done was to try and install the external assembly in my global assembly cache, and to start all over again. It worked, but however, it doesn’t seem to be logical. I’ve tried the “test map” option, and that’s where I got the message that external assemblies should be in the global cache.

     Regards,

    Lieven

     

    in reply to: BTM1010 #18541

    Hi there

     I must be a bit slow this morning but could you break your question down so that I can try and understand it a bit more ….
    perhaps some example code of your script and some error messages would help.

    Thanks
    JMan

    in reply to: Sending a Received File’s Name to Database #18540

    Hi there

    It seems to me that your approach is correct. Whenever I have had to capture the file name I use the FILE.ReceivedFileName property. You do know though that it returns the whole path – well at least it has for me – c:\somefolder\anotherfolder\somelocation\somefile.xml. I have had to do some SQL magic to extract just the file name. Anyway back to your issue ….
    It has been a while since I did this but I assume that you have a receive port that picks up a file and places the contents into a message:
    You then have a string variable that grabs the file name like so ….

    myString = msgReceiveMessage(FILE.ReceivedFileName)
    and it is telling you that msgReceiveMessage is unconstructed and therefore cannot be used?

    Correct so far? Feel free to correct me and I am sure that we will solve your issue together 🙂

    JMan 

    in reply to: Passing the Raw xml to a functoid? #18539

    Hi there

     

    Are you familiar with the function called OuterXML. I use it all the time to grab the raw xml contents of a message.

    Step 1:
    Create a variable of type String: strVar
    Step 2:
    Create a variable of type System.Xml.XmlDocument: xmlVar
    Step3:
    Add an expression shape to orchestration
    Step 4:
    Enter Code ….
    varXML = msgIncomingMessage
    strVar = varXML.OuterXML

    Now that you have the xml message contents inside a string you can use it however you need to.

     Hope that helps
    JMan

    in reply to: Diference of Web Service and a file port #18537

    Hello!

     That issue is not Biztalk related. It has to do with the serialization/deserialization of the XML document. 

    It’s a way to minimize the data that is sent to biztalk.

    To avoid this behavior, you can comment the “DefaultValueAttribute” in the generated code of the web service.

     

    You can see more details in this link:

    http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=96301 

     

    in reply to: I met the end of my hopes and need a book recommendation #18536

    Well, thank you for the replies ! I’ve ordered Professional Biztalk Server 2006. I’ll consider the other one after getting the basics.

Viewing 15 posts - 5,266 through 5,280 (of 9,648 total)