Forum Replies Created
-
AuthorPosts
-
I went through the article but I don’t think it is not helpful for soap adapter. when i downloaded and trying to install the hotfix it is throwing error. So, I am not sure if this is helpful for soap adapter.
Sidhu,
See the Microsoft Support Article: http://support.microsoft.com/kb/924638/en-us; you may also be interested in this MSDN forums thread: http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3144339&SiteID=17
Rgds, Nick.
Dhaval,
You’re in classic parallel convoy territory here (links at the end of the reply) – a parallel convoy allows you to wait for two correlated messages before processing starts on those messages (In this case, your ‘unique-no’ would be the value that is used to correlate the two messages).
In the scenario above, either the item or header file can be received first, which will instanciate the orchestration. It will then wait until the other message is received before continuing with the orchestration. The only slight issue I see here is where you will take the ‘unique-no’ from. If it is also in the message, you will just need to promote the element into the message context (not a distinguished field) and then use that as the correlation value. If it is only in the filename, you will need to write a receive pipeline decode component to take the unique-no out of the filename and promote it.
HTH, Nick.
Interesting approach Richard, that one had me stumped to be honest!
Nick.
If you suspend/terminate they, does the pending action (for those instances) change to either suspended/terminating? What happens when they have a pending action and the Host is restarted?
Nick.
July 31, 2008 at 1:00 PM in reply to: How to increase wait time for receiving response from web service #20288Sidhu – I’m going to start charging for this soon 😉
As per the information here, you can set the executionTimeout parameter on the httpRuntime app.config setting (i.e.btsntsvc.exe.config) to increase the timeout period, as follows:
<system.web>
<httpRuntime executionTimeout=”90″ maxRequestLength=”4096″
useFullyQualifiedRedirectUrl=”false”
minFreeThreads=”8″
minLocalRequestFreeThreads=”4″
appRequestQueueLimit=”100″ />
</system.web>The default is 90 seconds, so for a 5-6 minute window, you would need a value around 360.
Full options for the httpRuntime setting can be found on MSDN: http://msdn.microsoft.com/en-us/library/e1f13641.aspx
HTH, Nick.
Thank you Richard,
I followed that link, however I dont see any record under the “related activities” on BAM. I used the msgID as ActivityID for parent activiy and used that in AddRelatedActivity.
I have the following before loop start:
msgID = inputMsg(BTS.MessageID);
Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.BeginActivity(“Process Activity”,msgID);
In side the loop, I have following coding
Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.BeginActivity(“ProcessLoopActivity”,singleInvoiceMsg.InvoiceNumber);
Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.UpdateActivity(“ProcessLoopActivity”,singleInvoiceMsg.InvoiceNumber,”Begin”,System.DateTime.Now,”DocID”,msgID);
After mapping donw I have following
Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.UpdateActivity(“ProcessLoopActivity”,singleInvoiceMsg.InvoiceNumber,”EndSuccess”,System.DateTime.Now);
Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.AddRelatedActivity(“ProcessLoopActivity”,singleInvoiceMsg.InvoiceNumber,”Process Activity”,msgID);
Microsoft.BizTalk.Bam.EventObservation.OrchestrationEventStream.EndActivity(“ProcessLoopActivity”,singleInvoiceMsg.InvoiceNumber);
I have map for both acivity as well. I deployed them too. I have seprate view for both just for testing purpose. I could see records under the ProcessActivityLoop view but not under the “Process Activity’s related actvity section.”
Am I doing anything wrong here?
Thanks for the reply
I have already try it, but nothing happens.
Also try to fix it, by restarting the hosts.
I think that the instances are staying in that state, but they are completed.A found out many people on forums reporting similar symptoms.Maybe the pipeline components have some error that is not reported…Do you have more ideas?Cheers,Pedro, O MoleiroIt would seem you need an orchestration that uses a helper component to check the destination directory for files named SO-import.DONE. If it doesn’t find it, then within an orchestration loop, you’d have a delay for a defined amount of time (e.g. 5 minutes). Then, it would try again and again until the file was there on disk. Once the “.DONE” file was found, the loop should break and you can send the message out of the orchestration through the send port.
As for frequency of files being sent, you can consider using BizTalk BAM to monitor it.
If you’re dealing with looping, and need to capture something within the loop, you’ll have to change the orchestration to use the BAM API (http://blogs.msdn.com/richardbpi/archive/2006/03/29/564114.aspx). Don’t think there’s any way around that.
What happens if you bounce the host running the receive/send ports?
Sri,
The BizTalk schema exposed as a web-service that is being consumed by SAP will appear as a typed Xml Message within your orchestration. You can map this message to the format of the request message for the next web-service in the chain, using the map to create your header and footer – there is no need to do this in XLANGs in an expression shape.
If the web-service that you are consuming requires a string to be passed in the request message (and not a typed message), you can load the result of the map (above) into an XmlDocument object and use the .OuterXml() method to get the Xml as a string, passing this to the web-service.
HTH, Nick.
Using the BAM Excel Add-in in Excel 2007 is not supported until BizTalk 2006 R2.
I was using Microsoft BizTalk 2006 VHD (Virtual PC Evaluation version) which in fact isn’t R2.
Hi Nick,
thanks for the quick response but my requirement is as such that SAP would my Biztalk Schema Exposed as a Webservice and I need to pass this value to another webservice…I explained this to you before and you asked me to use the maping at both send and receive ports but I said I cannot as I need to have exception handling(the query was asked as an anonymous user).
So I am trying to use Expression shape to put in the Header and footer using C# code..as such I need to something to work with the envelopes but along with the exception handlers.And secondly I need the XML string from first WS to be passed to another webservice as XML string.Hoping for an answer ASAP
Cheers
Sri.
Thanks Nick.
I talked to our network guys and the exception is coming from our proxy only. Once I updated the send port with proxy credentials, I am able to reach the web service.
-
AuthorPosts