Forum Replies Created
-
AuthorPosts
-
Mike,
Have a look at a previous response to a similar question on this forum at http://www.biztalkgurus.com/forums/t/9651.aspx
However, you will need to modify the XSLT so that it reads:
<xsl:value-of select=”//Page[@number = 1]/TBox[@id = 63]/Value” />
Note: this just returns the value of the <Value> element only where Page = 1 and TBox = 63
Regards, Nick.
April 30, 2008 at 7:13 PM in reply to: How to return xml message as a string from an orchestration published as web service? #19513Hi Sidhu,
Look at this link. http://www.objectsharp.com/cs/blogs/matt/archive/2007/04/17/biztalk-message-helper-methods.aspx
It has a helper method GetStringFromBTSMessageBody, you send the message and get a string.
Hope this helps.
GokulIn the property schema have you defined your property as MessageContextPropertyBase. This set in the Property Schema Base property of the xml node in the property schema
April 30, 2008 at 4:59 PM in reply to: How to return xml message as a string from an orchestration published as web service? #19511Hi Sidhu,
I think it would suitable to place this piece of code (converting XML to string) in a send pipeline. by doing this you will leave the orchestraion untouched
Hope it rings any bells,
Mike
Everything is doable, but it needs time and effort!
you may use custom XSLT in your map, and write the XSLT manually.
you may find this article useful
Hope it helps,
Mike
[quote user="Anonymous"]myEmpInstance.EmpID is undefined[/quote]
are you saying that It’s not defined as it’s not shown using intellisense???
Mike
In the Or, how do I set a reference to the Property Schema? Is the different than BT2004?
Thanks Nick – TheOption 1 really worked for me and implemented in same fashion. Now i have another query which resembles some what in the same way. I have an Orch1 which is exposed as webservice to the client. Now Orch1 exposes a msessage(MSG1). How when the client consumes it, he will be sending details in format of MSG1. What i want to acheive is can i have map defined in my receive port and transform MSG1 to MSG2. But still my orch should have a receive shape with MSG1 since i dont want the client to send msg in MSG2 format. How can i acheive this. Can i use receive shape and port to have MSG1 and then use map in port and transform it to MSG2. Can i still receive message of type MSG2 in my orchestration. if not what would be good alternative. Since i need to dump this MSG2 in message box.
-Thanks again for all your help – AK
hi Mike,
Are you expecting this promoted property to come from a pipeline component or its just in the orchestration?
If you expect from the pipeline component make sure you dont use passthru transmit.In the orchestration make sure you have the reference to your property schema. Close Visual studio and start again. This helps sometimes
HTH
I don’t believe it is possible to send an e-mail from the BRE, so I would suggest the following:
Use a BRE policy to check whether the element contains the required value and update a boolean attribute (e.g. emailvalid) to indicate whether the email is valid. Return the updated message back to your orchestration and in a decide shape, check the value of the attribute, sending an e-mail via a send port only when the value of the emailvalid attribute is false.
Hope this helps, Nick.
Are you running the message through an Xml Disassembler in the receive pipeline so that they are promoted?
You either need to use the out-of-the-box XmlReceive pipeline, or a custom pipeline with an Xml Disassembler component at the disassemble stage.
Rgds, Nick.
There is no problem in doing that however you risk losing the integrity of your environment if you do (and I believe you won’t be supported by MS in the event that a restore doesn’t go quite to plan). To quote from MSDN (http://msdn.microsoft.com/en-us/library/aa577848.aspx):
The Backup BizTalk Server Job creates synchronized backups of all
BizTalk Server databases by using full database backups and transaction
log backups, in conjunction with a type of transaction known as a marked transaction.
Marked transactions are transactions that place a mark into the
transaction log of all databases participating in the transaction. The
marked transaction blocks new distributed transactions from starting,
waits for the distributed transactions that are currently running to
complete, and then executes to place the mark.The mark
represents a transaction point that is consistent across all databases;
you can use the mark with subsequent log backups to restore your
databases to that point.If you want to take a full backup once a day and then hourly transaction log backups this can be acheived by configuring the BizTalk backup job – see http://msdn.microsoft.com/en-us/library/aa577848.aspx
In fact, there is a good, in-depth section on BizTalk Backup and Restore which is well worth a read at http://msdn.microsoft.com/en-us/library/aa562140.aspx
Hope this helps, Nick.
Thank you Greg,
It’s working.
Michael,
What is the exception sequence you are getting in event log?
-
AuthorPosts