Forum Replies Created
-
AuthorPosts
-
Yep. Take a look at the walkthrough I posted above. It explains how to consume a web service with the WCF adapter. The setup is really similar to the SOAP adapter, except you generate a schema instead of adding a web reference. The BasicHttp WCF binding is designed for interoperability with standard (non WS-*) web services. This means the WCF-BasicHttp adapter can do everything the SOAP adapter can do, and then some. You want more info about why the web service call failed? Just enable WCF tracing: http://blogs.msdn.com/madhuponduru/archive/2006/05/18/601458.aspx.
I find this online tool pretty useful as well:
http://www.whitebeam.org/library/guide/TechNotes/xpathtestbed.rhtm
[quote user="gmk51080"]
I’m integrating BizTalk with K2, the Normal flow of the WorkFlow consists that BizTalk creates a Task in K2 and then K2 Must send a response to BizTalk in order to continue the workflow. In the time BizTalk is waiting the response in K2, the Orchestration is dehydrated. the problem occuring is that when the Task in K2 in created, and once K2 Reponse reachs BizTalk, Routing Failure error take please because the orchestration that should be in the “Dehydrated” status is no long existing in the administration Console, This is how i know that the Biztalk Orchestration in terminated suddenly and without being able to trace it .
[/quote]
How do you have your BizTalk Orchestration configured to wait for the response from K2? I have a similar process where I have to wait for 3 files that make up an invoice before continuing the Orchestration. I use the Listen shape to accomplish this. It sounds like your orchetration is sending a message to K2 and then dehydrating before it gets a response back. If you’re not using a listening shape, try that.
Can you break the orchestration up? Can you have 1 orchestration send a message to K2, then terminate and have a second orchestration that listens for response message from K2?
[quote user="Anonymous"]
Sounds dangerous not to develop in same environment. Wouldn’t you at least have to rebuild the solution on R2?
[/quote]
That’s what I’m nervous about, but I was hoping that because R2 isn’t a completely new version deploying an R1 release would be a straight-forward process. Does anyone have any experience with this at all?
GMK,
You will see suspended orchestration instances in the BizTalk Admin Console; terminated instances will not appear as they have completed.
I still believe this could be K2 related as I have never heard (in the last four years) of an orchestration terminating unexpectedly without throwing lots of errors in the Event Log or suspending as non-resumable in the Admin Console.
Nick.
Thanks ruselw,
I am actually consuming a published web service and not publishing it. Can we use WCF-BasicHttp consuming wizard to communicate with a normal SOAP based web service?
Thanks Neal! Funny, I just submitted a PO request to my boss to order one of your 6 month Biztalk training bundles!!
Hi,
I don’t think it would be a problem from K2.
But what i would like to know is where can i check the “Tracking DataBase in BizTalk” ?
Regds,
GMK
Here is a blog on how to do XPATH with namespaces (which BizTalk normally adds):
http://nealwalters.blogspot.com/2005/01/common-xpath-examples-questions-issues.html
I suggest using a tool like StylusStudio or XML-Spy to test your XPath, then copy/paste a working one into BizTalk. This can save a lot of time!
Here is a brief blog on how to use XPATH in a Biztalk Expression shape. As it says, don’t forget the keyword “string()” around your xpath. Also see BizTalk documentation for how this works.
http://geekswithblogs.net/andym/archive/2006/12/06/100475.aspx
As far as I know, the XPath command in BizTalk cannot add nodes. You have to call a C# helper class.
Here are two examples of how to add a node to an XML document using a C# helper method.
http://biztalk-training.com/administration/articles.php?article_id=14
Neal Walters
http://BizTalk-Training.com – Learn BIzTalk with VideosSidhu, Have you checked the timeout values on the sender and remote service? I had this issue when connecting to a Apache webservice . (Except that as far as i can remember i saw timeout errors in the logs). Anyway, I found that while my Http timeout is 90 seconds, the tomcat server had set theirs to 20 seconds. Increasing that to 120 seconds helped overcome this exception.
HTH,
Benjy
You have R2 installed? Why not use the WCF-BasicHTTP adapter? It might immediately fix your issue and it will definitely give you MUCH better debugging capabilities and MUCH more flexibility than the SOAP adapter. Here is a walkthrough: http://msdn.microsoft.com/en-us/library/bb246019.aspx.
Nick,
I am receiving “BTS2006x86 not found or this package does not contain compatible patch.” I have BizTalk server 2006 R2 installed on my machine. Is the error because it’s fixed with R2?
I think Microsoft chose bad terminology here.
An orchestration or send port can be in three states:
1) Started
2) Stopped (could also be called Enlisted)
3) Unenlisted
When “Enlisted”, the subscription to your send port are held for that send port (or orch) until the orch is started.
When “Stopped”, the send port (or orch) totally misses out on subscribing to any messages.An analogy is that you have a mailbox at the local post office. When you go out of town on vacation, you drop from the “Started” to the “Enlisted” state. They hold your mail for you, and when you return, they give you the box full of mail. When you move out of town (or are tired of all the junk mail), you “Stop” your mail and they post master marks it as undeliverable.
What is confusing is that “Stop” changes the state from “Started” to “Stopped/Enlisted”.
Enlist will move from Unenlisted to “Stopped/Enlisted” state.Neal
More excellent training at http://BizTalk-Training.com
August 4, 2008 at 8:11 AM in reply to: Business Rules Vocabularies – Test for in a Range of Legal Values #20316It’s not so much validation, as trying to almost put a shareable rule into a vocabulary.
We might have several rules that need to check if the status of a loan is “registered” or “locked”, and we will call that SendRegistrationToXYZ. But maybe tomorrow, we also want to send to XYZ when the status is “funded”.
Based on what you said, I think the database lookup vocab fits the best.
Thanks,
NealSounds dangerous not to develop in same environment. Wouldn’t you at least have to rebuild the solution on R2?
Neal -
AuthorPosts