Forum Replies Created
-
AuthorPosts
-
Unable to figure it out. Rebooted several times and finally started working. Must have been gliche of some sort.
Hi Stephen
I find the solution during the friday evening and exactly the problem is in the namespace. I'm working with WSLD and they have several levels of reference for complex and simple types. For some reason the line with the input (location and namespace) doesn't appear in the map and the types were missed. The solution is so simple that open the map with a XML editor and add the lost line.
Thank you
Thanks Stephen, this is definitely something we will try in Test first.
September 30, 2006 at 11:24 PM in reply to: Error while accessing stored procedure on biztalk server 2004 from client development environment. #15914Could it be a permission problem?
Does your BizTalk host user have rights to run the procedure?
September 30, 2006 at 11:12 PM in reply to: Biztalk 2004 FTP Adapter – Rename Dynamic filename #15913Have 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 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.
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.
Oh, you might want to check this out as well: http://martijnh.blogspot.com/2006/09/renaming-your-biztalk-server-and-sql.html
September 30, 2006 at 8:33 AM in reply to: Http Adapter framework – available outside Biztalk? #15909Is it possible to build a web service on there side to handle this?
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.
September 29, 2006 at 11:40 PM in reply to: How to use value within Scope shape in Catch Exception block? #15907The 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.netYou 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.netActually, 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.netYou 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.
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.
-
AuthorPosts