Forum Replies Created
-
AuthorPosts
-
Thanks – I forgot about the option \”Export items not associated with any asembly\”. At my last client, everything was tied to orchestrations and I had written a nice VBScript to generate all the syntax (so I was starting to forget what the Deploy utility does).
Neal Walters
http://Biztalk-Training.comI posted something like this in another query this week:
msg2 = xpath(msg1,\”//rootnode/somechildnode[3]\”);
the three can be a subscript, but you will have to string together your xpath, something like this:
dynXpath = \”//rootnode/somechildnode[\” & System.Convert.ToString(myLoopCounter) + \”]\”
msg2 = xpath(msg1,dynXpath);
Neal Walters
http://Biztalk-Training.comHi,
the link greg gave you got me started with adapter development. I was in the same situation, didn’t even know where to start. Once you check out the sample of the TcpAdapter that Greg’s link provides, you’ll get a better understand.
There’s nothing extraordinary about the adapters. The receive adapter portion just makes calls to biztalk api’s in order to submit message into biztalk. The transmit adapter is run by the biztalk server, once it receive a message it places the Message(workitem) on a queue and they get procesed by the threadpool.
The Wizard will create all the necessary code for you. All you have to do is edit around 2-3 methods.
When you are ready to test the adapter make sure you GAC it or you will get no where. The biztalk will complain about not being able to find the assembly.
If you have any questions I’ll be happy to answer
Gino
Hi guys,
I have a receive port which receives an HTTP post on an url such as /mydir/BTSHTTPReceive.dll?Action=Bla.
Every night in the AM’s, so far 3 days in a row, first day 2am, then 2am and then 5am……i get an error in my eventlog that it could not find a subscription to the message submited by biztalk http receive source and references that URL.
So I am receiving that message and I don’t know where it is coming from. There is a remote chance that the other party is indeed posting to us but I doubt it.
When in HAT, I go into Queries->Messages Sent in past day, I find that message and it’s event/direction = \”SEND\”. I don’t understand why it would be send if I am suppose to receive it on a receive port. Or is it \”send\” as in Pipeline wants to Send/Publish to the MsgBox?
All the other messages that result from the query are indeed messages that I sent and their urls are remote urls, not URLS where I am suposeto receive messages on.
Anyone have any ideas on how to figure this out? The messages don’t mess up my orchestration instances but they are annoying.
Thanks
Gino 🙂You need to design your schema in such a way that, the max occurence is set to 1 for each node. This way, all records will be broken up into single xml messages and sent to orchestration.
As for the condition mapping, depending on the value of message properties, you can divert your message to the respective SQL table using the adapter.
and if same combination of childnode is present more than once then what to do ?
as in our case nodes will be repeatedI have an input schema which contains the records. I want to get the count of records in output schema.
Currently I have used division functoid with same input from one of the element of record. Finally I am using the cumulative sum to get the record count. Please suggest me the best alternative.
Regards,Stephen Thomas, the man behind this web site has produced a lot of good info on debatching.
I would suggest that you start here:
[url]http://www.biztalkgurus.com/WhitePapers/Debatching-Options-Performance-BizTalk2004.html[/url]There is element in input xml file called Special indicator under the record node, I want to create multiple set of output for different value of Special indicator.
For example if input xml file contains five records three with special indicator * and the remaining two with blank special indicator.
The out should contain two xml file one with three records and other with two record.I will be thankful to you, if you can provide me the detail of more resources about Debatching the message in pipeline and inside an orchestration loop.
I tried using an xmldoc variable see whats in it.
Can you tell me how to debug a helper class by just using .net IDE and no third party tools?
I also tried validating the map and it seems fine.
Are there any other ways to resolve this problem?
I tried to install BizTalk 2004 on xp but while installing it tries to install a hotfix(KB834280) which also fails with:
It fails with an unable to install KB834280 error and adds the comment that
it will be necessary t install it manually before installation can proceed.
Searching for it reveals that it is for a fix that is contained in SP1 for
the .NET Framework 1.1.Downloaded that and went to install it only to find that the system reports
that SP1 was already installed and did I want to install it again, so I did.Back to install BizTalk and nothing has changed. I look on the net and find
this problem reported in seeveral articles but when I come to this newsgroup
a search for kb834280 reveals nothing.I tried various techniques but cant find a resolution.
Please help!Thanks for the reply both the answer works fine.
But really I have not considerd using cumulative sum and average functoid. It is the simplest solution and works fine.regards,
Hi Greg,
Thanks for the timely response. First of all, the following conditions were the ones that led me to conclude that the memory leak could be causing the BizTalk server from responding.
1. Performance graphs have indicated that the memory leak occurs once the BizTalk server has been restarted and continues till the next time it is restarted.
2. There are other Windows 2003 servers in the same environment and the memory graphs for them do not show any kind of leakage. If what your saying about the memory leakage is acceptable, then that trend should have been observed on all the other servers too. But that is not the case.
3. We do a BizTalk clean up of the databases and then reboot the server. On days when the server gets rebooted, the BizTalk server seems to have responded exceptionally well. And then when the same job is run for the next day we have experienced delays. We keep observing these delays till the day when BizTalk server is restarted again. On that day again the job response time was noted to be exceptionally well. Thats why we started attributing the memory issue to the responsiveness of the BizTalk application.Also, with regards to the FILE adapter failures, I see the following message as a warning event in the event viewer logs of the BizTalk server.
\”The adapter failed to send the message to the send port \”D:\\AIApplicationHome\\BTSApplicationHome\\NICE\\temp\\requestinstance\\%MessageID%.xml\”. It will be resent after the retry interval specified for this send port.\” Event Id: 5786
The folder location is the place where we send the xml files to get stored. We initially thought that it could be a problem only with a particular xml file. So we tracked down the job and reran it again only to find that at the other instance the job ran fine without any FILE adpater warnings. We also observed that during the retry interval for this adapter failure, the FILE adapter just does not do any other processing even though there are other orchestrations which require it.
We arrived at the conclusion that the memory leakage was causing the FILE adapter failure which in turn led to the bad response ( or no-response) state of the system. We even found out a microsoft article which spoke of a memory leakage in the FILE adapter. The article can be seen at http://support.microsoft.com/?scid=kb;en-us;886226&spid=1444&sid=297
The article suggests that we use the latest service packs on the server. We did try that out and still found out that the issue was recurring.
Please let us know in case if we are missing anything or if our understanding is wrong.
Our sincere thanks for all the efforts.
[quote:72a62783c7=\”greg.forsythe\”]Rich,
Are you able to email me your project and some sample input data?[/quote:72a62783c7]I don’t even know where to begin as far as what to send you. I’m trying three different approaches, and I’m just not sure what’s the best path to take…I’ll build the basic of basics of what I’m trying to do…maybe that will at least get us somewhere. I’ll send it when I have it ready for you.
Thanks for the assistance.
-RichThere are a number of ways.
[list:c86f173b74]1. Add the map to the Receive Port as an inbound map. The receive port will publish an updategram message to the messagebox. You can use SQL send port with a filter to subscribe to this message.2. Add the map to the Send Port. The receive port will publish a source message to the messagebox. You can use SQL send port with a filter to subscribe to this message where it will be mapped.
3. Use an orchestration with a construct message shape and a transform message shape. The orchestration will receive a source message and send an updategram[/list:u:c86f173b74]
The best bet with a SQL send port is to use an orchestration. -
AuthorPosts