Forum Replies Created
-
AuthorPosts
-
I restarted the host, delete the application but it’s not working… I took a llok to the event viewer and i’ve seen the next error(I think there is something very basic that I’m not doing, but I don’t know what):
xlang/s engine event log entry: An unrecoverable exception (see the ‘inner exception’ below) has occurred.
Service Name: PruebaPatterns.Orch
Service Id: cce62be6-ff1d-1aa0-db4b-dfd3f5f85ec4
Instance Id: bf189d74-f0df-4853-9fb0-a21451d8e46d
Exception occurred when persisting state to the database.
Exception type: PersistenceException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void Commit()
The following is a stack trace that identifies the location where the exception occuredat Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.Commit()
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.ScheduleComplete(Boolean terminate)
at Microsoft.BizTalk.XLANGs.BTXEngine.BTXService.ScheduleComplete(Context ctx, Boolean finalPersisting, Boolean terminate)
at Microsoft.XLANGs.Core.Service.Persist(Boolean dehydrate, Context ctx, Boolean idleRequired, Boolean finalPersist, Boolean bypassCommit, Boolean terminate)
at Microsoft.XLANGs.Core.ServiceContext.OnCommit()
at PruebaPatterns.Orch.segment0(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)
Additional error information:A batch item failed persistence Item-ID 6db972d5-102a-4659-a643-e9dae47f31e0 OperationType MAIO_CommitBatch Status -1061151998 ErrorInfo The published message could not be routed because no subscribers were found. .
Exception type: PersistenceItemException
Additional error information:Failed to publish (send) a message in the batch. This is usually because there is no one expecting to receive this message. The error was The published message could not be routed because no subscribers were found. with status -1061151998.
Exception type: PublishMessageExceptionFor more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Hi Venkat,
I am not aware of BizTalk having any adapter pack for SAP BW, so if you can expose SAP BW data and functionality through Web Services (either SOAP or REST), then you can consume those services in BizTalk using WCF Adapters.
Conversely, you can expose a BizTalk orchestration as a web service and possibly consume that service in SAP BW environment (?).
Daniel.
Sorry, found my error, I haven’t changed the property Ignore Namespaces for links to NO, that’s why my map wasn’t behaving correctly.
Thanks for reading.
use .net class to read and modify xml.
Hi,
To answer your question, it all depends on how large your XML message is:
1) If the message is small in size, you can use XLANGs and XPath queries to modify your XML message and its contents in an Expression shape in your orchestration. Here are a couple of links talking about XLANGs and XPath:
http://geekswithblogs.net/cyoung/articles/3820.aspx
http://msdn.microsoft.com/en-us/library/ee268159(BTS.10).aspx
2) If the message is large, have a look at the following MSDN blog, to ascertain which method might best work for your scenario:
Hope these resources help,
Daniel.
Hi,
Regarding learning about messages and schemas, how about taking a look at this book (see the link below)?
http://moustafarefaat.com/moustafapws/btspraccourse.aspx
Cheers,
Daniel.
Hi,
After you re-deployed your modified orchestration assembly, try restarting your BizTalk host instance to flush your system of any references to old assemblies, and see if that works.
Daniel.
I’ve tried but there is the same error…
July 7, 2010 at 10:18 AM in reply to: BizTalk Accelerator for SWIFT – BRE Validation policy error #25157Have you solved your problem ? I have exactly the same error.
Thanks
Hi,
Try just the following line of code in your Expression shape:
ExitPort(Microsoft.XLANGs.BaseTypes.Address)=”FILE://c:\FILE\OUT\exit1.xml”;
Also, make sure that the path “c:\FILE\OUT\exit1.xml” is valid.
Daniel.
You can create dynamic port in your orchestration where you can define complete location of file (including file name).
Here is a trick. File name is of your own choice. you can create in any way and save at any place for future processing. Just pass that name in the Address of dynamic port to create file with same name.
you have to set the Microsoft.XLANGs.BaseTypes.Address property of your dynamic port with the complete location including file name where you want to place the file
Hello Daniel,
Thanks for your quickly help!
First, I have generate the schema with the Flat File Schema wizard. Then I inserted the sequence-node. Under the sequence-node i put the orders-header record, and the line-item repeating record.. The validation of the Input Instance File works!
Now I will try to build the map that will use this schema as target, and I hope that after that, my target file will be OK.
Thanks a lot!
P.S. If I new better the meanings of the schema elements (like sequence-node, choice-group, etc) – I could find often my own solution. Have you any advice for me where I can found good documentation? I’m a newbie and I’ve buyed the book “ProMapping in BizTalk Server2009”. Its good, but its about mapping, not about building schema structures.
Hi Chris,
Click on my avatar, and go to the link View All Files on the right-hand side, look for the file named myFF.xsd.txt and click on it, then right-click on Download link and choose “Save Target As…” and save it locally. When you try to view it in Visual Studio, make sure to remove the file extension “.txt“.
You will find this XSD to be compliant with your instance file, and you can modify the names of the nodes to your liking.
Hope this helps,
Daniel.
July 6, 2010 at 9:32 AM in reply to: Call Assembly in an Orchestration and use return code to delete dataset in Msgbox #25151Hi Daniel,
thanks for the Link.
I will check this out and see if I can handle it.
Thanks again
Wolfgang
Hi,
You can save your new filename in a string variable declared in your Orchestration and use Dynamic Routing pattern to transmit your message to that given filename. Here’s a tutorial on how to implement Dynamic Routing in an orchestration:
http://www.codeproject.com/KB/biztalk/DynamicRouting.aspx
Daniel.
-
AuthorPosts