Forum Replies Created
-
AuthorPosts
-
You need to create the Xml Instance with the node you wish to add data to. And then use fully namespace qualified xpath
xmlDocVariable.LoadXml(“<Root xmlns=’http://Test.Xpath’><Response/></Root>”);
Response = xmlDocVariable;
xpath(Response, “/*[local-name()=”Root’ and namespace-uri()=’http://Test.Xpath’%5D/*%5Blocal-name()=’Response’ and namespaceuri()=”]”) = “Hello”;
The XPath function does not change the the xml structure, just allows you to read or write from existing nodes. You can retrieve the xpath string from the schema, select the node in question and copy/paste the Instance Xpath property
Thanks Greg!
I went with option 2
DBMessage.InputFileName = InputMessage(FILE.ReceivedFileName);as DBMessage is a mapped Message and is only available after the receive pipeline processing is done and it is mapped from the InputMessage.
-Jerry
Thanks Guys,
I have solved it. I wrote a new stored procedure in SQL for insert and then used the scope_identity() method to return the last updated identity.
I have the same problem !!!
I need a help too.
June 10, 2008 at 5:26 AM in reply to: Problems with third party resource files while importing Msi #19884Hi Rajendra,
Can you put the enterprise dlls in a separate application and share them to both that need them? This is what the Operations manual recommends.
Deploy shared artifacts in a separate application
If artifacts are going to be shared by two or more applications, deploy the shared artifacts into a separate application. For example, if two applications share a schema, place the schema in a separate application. We recommend this because only one artifact in a BizTalk group can have a single locally unique identifier (LUID). A LUID consists of the artifact name and optionally other attributes. If you include an artifact in one application, and then create a reference to it from another application, the referring application may not function correctly when you stop the application containing the artifact.
This best practice applies to all artifact types except for files, such as Readme files and scripts, which are added to the application as a File type of artifact. This is because more than one file artifact with the same name can be deployed in a BizTalk group. Therefore, you can use a file having the same name in two or more applications. In this case, stopping one application will not impact the other application. For more information about adding file artifacts, see “How to Add a File to an Application” in BizTalk Server 2006 R2 Help at http://go.microsoft.com/fwlink/?LinkId=106818.
Hi,
I created a solution with one BTS Project and Class Library. I invoked the class lib thru Expression Editor in the Orchestration. Class Lib is GACed [ Debug Mode]. I set the breakpoint in the method inside the class lib.
Attached the BTSNTSVC process to the class lib.Ensured the Orchestration is running.
Kept the message in the recv folder. Happily received in Send Folder. But it has not hit the breakpoint.
Let me know whether i’m in right dir?
June 10, 2008 at 4:40 AM in reply to: Problems with third party resource files while importing Msi #19882I usually just run the Enterprise Library MSI separately from my BizTalk MSIs. This is not ideal, but I don’t know of any good way to check for existence of DLLs in the GAC from a BizTalk MSI. It wold be nice if we could just add a custom action like we would on a normal MSI, but that is not possible in BizTalk MSIs as far as I know. If you really need to automate this, then you could leave the EntLib DLLs out of your MSI, and write a batch file that uses BTSTASK to import the MSI, and then uses GACUTIL to check for the EntLib DLLs and install them if they are not there.
Yes, you can debug that class. Just set a breakpoint in the class, then attach the debugger to the BizTalk host process. To do this, click on Debug, then click Attach to Process, then select BTSNTSVC.exe. Now when your orchestration runs it will stop at the breakpoint.
Hi, can you share your trailer schema? I am having the same issue and was able to solve it by creating the trailer schema. However, for document that doesnt’ have the extra CrLf, it errors out with the following error:
The trailer specification specified on the pipeline component properties does not contain an interchange trailer.
Hello ,
thanks for the response.the process followed:
a flat file comes in containing orders.
in a given flat file there could be Order created rec, order modififed rec etc.
for e.g the first rec could be order create and the 10th rec in the flat file could a mod on the same order.
we want the same orchestration to process so that mod does not happen
before create. so only we thought of sequential convoy..as i said, orchestration is correlated onOrder ID.
Regards,
I’m sorry for this needless post. I simply overlooked the string format in the input xml. It’s different from the required form.
I guess I need a vacation… Regards, Michael
The sendport is separated from the orchestration by a pub/sub database. It is subscribing to messages with a particular BTS.SPTransportID ( when you bind your port to the orchestration, the orchestration will add this property to outgoing messages on this logical port). If you set Ordered Delivery then only one instance of this port will be initiated to guarantee messages are sent in order. There is no way of making the sendport convoy (or orchestration instance) aware that I know of.
One possibility is to reset the ordered delivery option on the physical port and use Delivery Notification on the logical port. This will cause the orchestration to block on sending a message until it has been delivered, hence guaranteeing order by orchestration instance. Not sure what this will do to overall performance? Might make it better or worse depending on where the message is going, how it is getting there (adapter being used) and what sort of latency there is.
Can you explain a bit about the orchestration and why it is a sequential convoy, how many messages does each orchestration instance consume and how many messages does each instance send. Is there another way of doing this that does not involve a sequential convoy?
June 7, 2008 at 4:14 AM in reply to: The send port configuration corresponding to the message was not found #19870No, There is nothing related to SSO at eventlog.
I checked SQL Server eventlog and I found following error
Application eventlog entry:
Event Type: Failure Audit
Event Source: MSSQLSERVER
User: Domain\User
Computer: SQLSERVER2005
Description: Login failed for user ‘Domain\User’. [CLIENT: <local machine>]Security eventlog:
Event Type: Failure Audit Event Source: Security
Event Category: Logon/Logoff Event ID: 539
User: NT AUTHORITY\SYSTEM
Computer: SQLSERVER2005 Description:
Logon Failure: Reason: Account locked out
User Name: Domain:
Logon Type: 3 Logon Process: Authz
Authentication Package: Kerberos
Workstation Name: Caller User Name: User
Caller Domain: DomainTo check if Account is actually locked I do log Off and Log in again and it allowed me to log in.I can connect the database via SQL Server Management studio using same Host Account.and, my point is that If the account is actually locked then Host should not process any Service instance. but if I try to resume the suspended service instance it works for me.These error are repeating but not consistent with my message suspension
_______________________________________________________
PS: I deployed the same solution on other BizTalk Server.Where it is running smoothly.
any suggestion Please?
Thanks
Umair Ahmed
There is no way of suppressing these error messages from the adapter that I know of.
Is there anyway you can determine why the mail server is failing to authenticate, is it possible that there is already a connection to the mailbox from Biztalk and the second connection is rejected.
Have you tried increasing the polling interval, to 60 seconds – does this have any effect.
June 5, 2008 at 2:16 PM in reply to: Call .NET class from Orchestration (update assembly reference) #19867It would be best practice to rebuild your Biztalk assembly if it references a .NET assembly that is rebuilt. These assemblies are tightly coupled, and while it might work by keeping the same assembly version (it will be able to load the assembly), there is no guarantee that any calls to that assembly will work correctly.
You can get weird and bizarre errors running mismatched assemblies.
-
AuthorPosts