Forum Replies Created
-
AuthorPosts
-
Hi lisa,
Did that worked for you? Mine didn’t worked.
Regards,
FredJune 22, 2006 at 3:49 AM in reply to: Request-response Timed Out before response could be deliverd #13834Ok – maybe this will be an insulting question – but did you make a physical receive location of the type Request-Response and have bound that to the deployed orchestration receive configuration?
I had a similar problem just today. Seems like something gets \”stuck\” in memory when adding and removing things from the same installer package. Try nuking the old installer package altogether (delete the BTSInstaller project completely from under your project folder) and adding it back into your main project fresh from the SDK. If you have referenced everything properly in your main project then when you add it’s dll to the application folder it should automatically pull in the other 2 project dll’s.
Hi,
I think BTSInstaller support Multiple Biztalk Project. I’ve tested it…
However I am encountering a new problem…
Consider this situation
BiztalkProjectA (which contains Orchestrations) calls BiztalkProjectB (which contains also orchestration) and both uses BiztalkProject C(which contains the schemas)
when I put BiztalkProjectA, BiztalkProjectB and BiztalkProjectC together in the BTSInstaller Package, it would BiztalkProjectA and B would not be deployed, only BiztalkProjectC is deployed, however if I took out BiztalkProjectA, then BiztalkProjectB and C will be deployed.
Do you guys know why this is happening?
Thanks in advance,
FredJune 22, 2006 at 1:46 AM in reply to: Request-response Timed Out before response could be deliverd #13831Hi lisa,
This is not a file-base. I’ve used a submit-direct adapter used in the SDK Sample. It seems that the Adapter/Port is getting the timeout.
Regards,
FredJune 22, 2006 at 12:49 AM in reply to: Request-response Timed Out before response could be deliverd #13833This will happen anytime you are waiting for a response and the other end doesn’t respond within the designated timeframe. Is this a file based receive location? If so I would guess that whatever application is writing to the location is placing a 0 byte file holder out there and then building the file instead of just copying in a finished file. What happens then is that BizTalk tried to grab the file before it is completed and can’t.
[code:1:dc8a31d13c]
HiTools: C#, .NET 1.1 and Biztalk 2004
I want to execute a policy rule which gets fired based on some input xml and database facts. I am able to pass the input xml facts but how to I pass the database facts information before executing policy. Basically, by passing \"Role\" information, I want to get \"Salary\" values which are stored in a database table.
Following is the code snippet:
————————————————————–
Input XML:<ns0:EmpInfo xmlns:ns0=\"http://EmployeeInfo.EmpInfo\">
<Emp>
<Salary></Salary>
<Role>Manager</Role>
</Emp>
<Emp>
<Salary></Salary>
<Role>CIO</Role>
</Emp>
</ns0:EmpInfo>————————————————————–
—————————-
public string Execute(string sRequestXML, out string sResponseXML, out string sErrorMsg)
{
sResponseXML = string.Empty;
sErrorMsg = string.Empty;
DebugTrackingInterceptor dti = new DebugTrackingInterceptor(@\"C:\\Biztalk\\projects\\EmployeeInfo\\XSDs\\jit.txt\");//create an instance of the XML object
XmlDocument xd1 = new XmlDocument();
xd1.Load(@\"C:\\Biztalk\\projects\\EmployeeInfo\\XSDs\\Copy of EmpInfo_output.xml\");TypedXmlDocument doc1 = new TypedXmlDocument(\"EmpInfo\",xd1);
// create the array of short-term facts
object[] shortTermFacts = new object[1];
shortTermFacts[0] = doc1;Policy policy = null;
// now execute to see what happens
try
{//Console.WriteLine(\"Grabbing the policy …\");
policy = new Policy(\"EmpInfo\");
policy.Execute(shortTermFacts, dti);FileInfo finfo = new FileInfo(@\"C:\\Biztalk\\projects\\EmployeeInfo\\XSDs\\ProcessedRFP.xml\");
StreamWriter writer = finfo.CreateText();
writer.Write(doc1.Document.OuterXml);
writer.Close();}
catch (Exception ex)
{
FileInfo finfoError = new FileInfo(@\"C:\\Biztalk\\projects\\EmployeeInfo\\XSDs\\Error.xml\");
StreamWriter writerError = finfoError.CreateText();
writerError.Write(ex.Message);
writerError.Close();
}dti.CloseTraceFile ();
policy = null;
return \"PASS\";}
[/code:1:dc8a31d13c]
June 21, 2006 at 7:18 PM in reply to: newbie question: strip off trailer of positional flat file #14880Hi,
I am newbie in using BizTalk 2006. I am having issie in receiving a simple positional flat file and strip of the trailer from it for further process.
The positional flat file format looks like below. Each field has trailing space, if that field value doesn’t take all the length, except the last field which may end with whatever length of data it contains(even less than the predefined field length).
FieldA1 FieldA2 FieldA3
FieldB1 FieldB2 FieldB3
FieldC1 FieldC2 FieldC3
EOFI defined body/trailer schema and flat file receive pipeline by following Stephen Thomas’s BizTalk 2004 sample, except my case has trailer but no header. However, the parser seems having problem to parse the Body and Trailer schema, and trying to look for further data. From the following error message, it seems the parser keep looking for third line of data, even though I only have single record and one trailer line.
Thanks in advance for your help,
MJ—————–
There was a failure executing the receive pipeline: \”ABC.BizTalk.Demo.pipeline, ABC.BizTalk.Demo, Version=1.0.0.0, Culture=neutral, PublicKeyToken=14e1e338d558d117\” Source: \”Flat file disassembler\” Receive Port: \”TestInboundBatch\” URI: \”C:\\ABC\\TestInboundBatch\\*.*.cms*\” Reason: Unexpected end of stream while looking for:
Positional data (length is 14)
The current definition being parsed is Record. The stream offset where the error occured is 240. The line number where the error occured is 3. The column where the error occured is 0.
—————–Hi,
I have an orchestration and send and receive messages. When i receive a message, i want to change the original message.
On the next step i want to send the original message. When i receive a answer i want to change the original message.
The problem is when i edit the message in the construct Message, i get the message
use of unconstructed message ‘SF_Message’
How can i solve this? Do I need a lot of messages, or can i use the same on a way?
Please Help me
I have a proper message msgData and in expression make sth like msgData(myNameSpace.PropertySchema.key1). And I would like to pass the key value to some variable to make some stuff. Everything works fine if the keys are unique. Hope to give you all information you wanted.
Thanks
Peter
Thanks for the replies.
Neal,
The Z is where the project is located. It’s a mapped drive, I use BTS2004 in a VPC image since BTS2006 is installed on my laptop.Greg,
At this time I just validated the document from Visual Studio.
However, I deployed the schema (using default XMLReceive pipeline) and this works without problems!
Strange that Visual Studio behaves different from the actual implementation.Thanks for you help,
Dirk
The Biztalk hosts are running and we didn’t change any settings. It’s kind of weird that all the Ready to Run orchestrations start running as soon as we restart one particular BizTalk host. I took a good look at eventLog and found \”database enigine stopped\” posted as info message and I am wondering if this is the cause.
I have only seen Ready To Run if the host wasn’t started or water marks were set way low.
Have you changed any of the water mark settings?
Are all the hosts running?How are you trying to access the Xml message?
What are you trying to do with the key values?The Z: looks kind of suspicious. Did some create the schema or import a schema from a mapped drive, and you don’t have the same mapped drive on your computer?
-
AuthorPosts