Forum Replies Created
-
AuthorPosts
-
February 18, 2010 at 7:50 AM in reply to: Custom Pipeline Component -how to loop through Ibasemessage.bodypart #24244
Hi.
Which pipeline component you have made?
I beleive that you should build a Validate Pipeline Component. It’s sound like the message isn’t a xml yet, and you have a message like this.
February 18, 2010 at 7:39 AM in reply to: Large file cannot be handled by send pipeline BTS 2006R2 #24243Hi.
You should use envelope to handle large messages on send pipeline.
Have you read these post, maybe it could help :
http://blogs.msdn.com/sql_protocols/archive/2005/10/19/482782.aspx
http://support.microsoft.com/kb/811889/en-us
Are you in an enterprise context with Kerberos protocol ? (it could explain why it’s work with you local account
February 17, 2010 at 3:00 PM in reply to: Xpath to assign value to element giving Biztalk error – PLease help #24239Ok,
Sorry for the missed ].
I have made an orchestration with your schema in an orchestration.
To verify that the Xpath is correct, check the following properties in the node of the xsd schema : Instance Xpath.
If it is correct, verify that the node exist. The Xpath command can modify a node-value but can’t create a node.
In your construct message, do you use a Transform with a map or do you try to set the message directly? (If you use a transform map,be sure that you create the node).
If necessary, post more details on your orchestration
February 17, 2010 at 9:06 AM in reply to: Xpath to assign value to element giving Biztalk error – PLease help #24237There was a ] missing. I corrected that and now I am getting the same error as the original post
PLease help anyone
February 17, 2010 at 8:43 AM in reply to: Xpath to assign value to element giving Biztalk error – PLease help #24236Thank you for the solution, but 1st one is giving the same error but 2nd one is giving the below error
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 1260b7ad-1b54-4b39-b9d6-89c370086e6b
Shape name: ConstructMessage_1
ShapeId: 4550da5e-acfe-4062-a6dd-263fe881da71
Exception thrown from: segment 1, progress 20
Inner exception: ‘/*[local-name()=’Root’ and namespace-uri()=’http://Blx856Outbound.Blx856FF’/*%5Blocal-name()=’Value’ and namespace-uri()=”]’ has an invalid token.
Can you please help
As I know,
It is technically possible to use BizTalk Server 2006 R2 with SQL 2008 but it’s not supported and Notification Service is out of the product (separate DL) in the SQL 2008(If you use BAM).
SQL 2008 is supported in BizTalk 2009
February 17, 2010 at 4:00 AM in reply to: Xpath to assign value to element giving Biztalk error – PLease help #24233hi,
I think your Xpath request is not valid maybe du to the namespace.
Try the following Request :
xpath(NewBlx856FFMessageCopy.MessagePart,”//Root/Value”))=System.Convert.ToString(This856);
or
xpath(NewBlx856FFMessageCopy.MessagePart,”/*[local-name()=’Root’ and namespace-uri()=’http://Blx856Outbound.Blx856FF‘/*[local-name()=’Value’ and namespace-uri()=”]”)=System.Convert.ToString(This856);
Hi,
Can any one please send me the dump for 70-241 to my below mail id,
Thanks
Suresh Kumar Ramu
Yahoo e-mail spread sheet has misplaced DTD entry. Please rfemove. Useless iritation. MICROSOFT link,
Hi Greg
Could you please tell me in which file I should put your code? In orchestration xxx.odx.cs file or somewhere else? And also where do I need to call the AttachImage function?
Thank you very much.
Br, Toan
You need to Publish a Web Service.
First you need to declare your input and output schemas and then use the BizTalk WCF Publishing Wizard or the BizTalk Web Services Publishing Wizard.
These utilities set-up the IIS virtual directory, receive locations, etc.February 11, 2010 at 3:30 AM in reply to: configuring adapter to recieve and send excel files #24221You only need a schema if you wish to read or write the data in a message.
It is possible to pass binary data files thru an orchestration.You need to use a Pass-thru pipeline and declare the message type in the orchestration as System.Xml.XmlDocument. This may seem strange, particularly if your message is not Xml, but it is XLANG’s method of specifying an untyped message.
I briefly tried to get this to work, but failed. It should be possible.
Basically, you need to create a multipart message, with the your html body and the image as an attachment. The MIME encoder will create a mutlipart MIME message. The <img> src attribute in your html body should point to your attached image using the MIME Content Id property.
e.g. <img src=”cid:contentidentifier”/>Here is some code I tried to use in a message assignment shape to add the image to the multipart message. This is the part that failed:
<
namespace Common
{
public class MessageHelper
{
public static void AttachImage(XLANGMessage message, string contentid)
{
try
{
IStreamFactory factory = new ImageStreamFactory(typeof(Common.MessageHelper).Assembly.GetManifestResourceStream “LesMills.Common.ErrorNotification.BizTalkServer2009.jpg”));
message.AddPart(factory, “image”);
message[“image”].SetPartProperty(typeof(MIME.ContentID), contentid);
}
finally //decrement refcount
{
message.Dispose();
}}}}I was finally able to resolve the issue .
I have identified the following in the system1. Time was not sync among the machines in the production
2. Unexpected behaviour in the delay shape
3. System is throttling because of high DB (Message Publishing Throttling State is 6 in the system)
The system performance was increased considerable amount after doing the time synchronization. But still delay shape behaviour was there. So I removed & ran the application. I stopped with database deadlocks.
So I went for an alternative approach. The business process (orchestration activity) was divided in to two processes. The main orchestration invokes the nested orchestration synchronously. The enclosing orchestration waits for the nested orchestration to finish before continuing. As this is inside the loop, the next cycle has to wait till the sub orchestration finished. So this is kind of waiting or reducing the number of open transactions to the external database. I used “Delivery Notification = Transmitted” at the send port.This approach was really success one. It increased the system throughput tremendously.I have noticed some required BizTalk Jobs are not running in the SQL from last year. No idea why it has been stopped .Once I ran it, system stopped throttling. But need to do further analysis. Because could not find old events records in the system event viewer.
After doing the above, the system is quite good. It is running smoothly without any issues so far. -
AuthorPosts