community-content

Forum Replies Created

Viewing 15 posts - 6,961 through 6,975 (of 9,648 total)
  • Author
    Posts
  • in reply to: Renaming BizTalk Server 2006 Servers #15915

    Thanks Stephen,  this is definitely something we will try in Test first.

    Could it be a permission problem? 

    Does your BizTalk host user have rights to run the procedure?

    in reply to: Biztalk 2004 FTP Adapter – Rename Dynamic filename #15913

      Have you looked at: http://www.biztalkgurus.com/Samples/Naming-Output-Files-Orchestration.html

     

    The BizTalk FTP Adapter will remove the file from the FTP system.  But after you receive the file you can rename it inside BizTalk before you write it out again.

    in reply to: Acks and Nacks over Request-Response port #15912

    In the past, I returned the correlation token of a started Orchestration to the caller and then had the called send another request to another service that checked the status of the previous request (i.e. had the Orchestration do validation). 

     

    If I remember correctly, I tried to handle something like this using an Orchestration with a Receive / Send Shape.  It was about 3 years ago and my very first 2004 project. 

     

    I think I got it to work by returning custom text in the Http response message.  I might have simply used a 2 way Http port with an Orchestration. 

     

    It was a long time ago so I don’t remember all the details.

     

    Hope this helps.

    in reply to: Map with several schemas #15911

    I’m guessing it’s a namespace problem. 

     

    Do you have problems when you map the items signally?  If not, you might have to use two separate maps.

    in reply to: Renaming BizTalk Server 2006 Servers #15910
    in reply to: Http Adapter framework – available outside Biztalk? #15909

    Is it possible to build a web service on there side to handle this?

    in reply to: Renaming BizTalk Server 2006 Servers #15908

    Yes, I think that’s all that is required.  You need to do just what you said, unconfigure, rename, reconfigure. 

     

    Also note the next time you lost into BizTalk Admin, you’ll need to re-add manually the new BizTalk Group.  Since the admin tool will be pointing to the wrong group. 

     

    Best of luck.

    in reply to: How to use value within Scope shape in Catch Exception block? #15907

    The best way to think of a Scope shape that has a Catch block is as a Try/Catch structure.  For instance:

    try
    {
       string myString = "Test";
       // Scope Contents Here
    }
    catch (Exception ex)
    {
       // Catch contents here.
    }

    As you can see, if your scope is declaring a variable, it will of course not be available within the catch because it has fallen out of "scope".  As Stephen recommended, if you declare the variable outside the scope then it will be available to both Scope and Catch for use.

    Tim Rayburn
    Principal Consultant, Sogeti USA LLC
    http://www.TimRayburn.net

    in reply to: converting GUID to String #15906

    You can't?

     Message Assignment is used for exactly what you might guess, assigning to a message.  On the other hand if you put an Expression shape into your Orchestration then you can simply perform a .ToString() on your GUID variable and you should be good to go.

    If you're trying to assign the GUID to a message and need it as a string, simply create an Orchestration variable before hand, assign the .ToString() to that, and then use the variable in the Message Assignment shape.

    Tim Rayburn
    Principal Consultant, Sogeti USA LLC
    http://www.TimRayburn.net

    in reply to: Yet another mapping question #15905

    Actually, yes there is a better way to do this, and the answer is Custom Functoids.  If your example above is very close to the real case you have to deal with I've got even better news.  I've been doing a series of posts on my blog about Custom Functoids and building a library of Custom Functoids one at a time.  The latest is an If … Else functoid which I just posted tonight, you can find the post here:

    http://www.timrayburn.net/2006/09/30/TimRayburnCustomFunctoids+If+Else.aspx

    In the case you describe since the source side is Y/N you could literally just put that value as the boolean check (I use System.Convert.ToBoolean which will figure out that "Y" means true) and then put the constants "Approved" and "Denied" as constants for the second and third parameters.  The result becomes if "Y" then "Approved" is output, else "Denied" is output.

    Even if your input values don't directly map to booleans, it would still save you alot of functoids and increase readability of your maps.

    Tim Rayburn
    Principal Consultant, Sogeti USA LLC
    http://www.TimRayburn.net

    in reply to: Accumulations (Group By) in BizTalk 2006 #15903

    You need a Logical (EqualTo) functoid and link its value to as many of Value Mapping (Flattening) functoid as you want elements to map – each of whose second input should be the values you want to map.

    in reply to: Accumulations (Group By) in BizTalk 2006 #15902

    You need a Logical Functoid (Equalto) and link its value to different Value Mapping (Flattening) functoid (for as many values as you care to have in the destination instance). Look them up.

    in reply to: Nothing works #15901

    Did you start the Biztalk NT (base) Service? If there are any Orchestrations, did you Bind, Enlist and Start them? Did you do the same with the port? Start it and watch the event log for errors.

    in reply to: serialized Dataset as message…… #15894

    Thanks for replying……

     I'm not sure if the xsd will work as a schema for the dataset….my (mis?)understanding, is that xsd's can be used as schema's for xml files, and used to generate datasets, but an application expecting xml based on an xsd wont know what's hit it if a dataset turns up….

     Things have moved on though….I have abandoned using an orchestration to process these messages….basically I got to the conclusion you have given me…..what I'm really after is using the rules engine to process messages, and it's much easier to wire some c# code up to a policy than do it via an orchestration…..

     documentation seems a bit thin on the ground for designing rules……

     any advice in this line?

Viewing 15 posts - 6,961 through 6,975 (of 9,648 total)