community-content

Forum Replies Created

Viewing 15 posts - 991 through 1,005 (of 9,648 total)
  • Author
    Posts
  • in reply to: Dynamic Send Ports- File Adapter #25169

    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 occured

       at 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: PublishMessageException

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

    in reply to: BizTalk 2009 & SAP Business Warehouse (BW) integration #25167

    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.

     

    in reply to: Map error #25165

    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.

    in reply to: Modify xml message by coding #25163

    use .net class to read and modify xml.

    in reply to: Modify xml message by coding #25162

    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:

    http://blogs.msdn.com/b/paolos/archive/2009/09/10/4-different-ways-to-process-an-xlangmessage-within-an-helper-component-invoked-by-an-orchestration.aspx

     

       Hope these resources help,

     

       Daniel.

     

    in reply to: Flat File Schema doesnt work #25161

    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.

     

    in reply to: Dynamic Send Ports- File Adapter #25159

    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.

    in reply to: Dynamic Send Ports- File Adapter #25158

    I’ve tried but there is the same error…

     

    Have you solved your problem ? I have exactly the same error.

    Thanks

    in reply to: Dynamic Send Ports- File Adapter #25156

    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.

     

    in reply to: Renaming files with MessageID #25155

    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

    in reply to: Flat File Schema doesnt work #25153

    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.

     

     

    in reply to: Flat File Schema doesnt work #25152

    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.

     

    Hi Daniel,

    thanks for the Link.

    I will check this out and see if I can handle it.

    Thanks again

    Wolfgang

    in reply to: Renaming files with MessageID #25149

    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.

     

Viewing 15 posts - 991 through 1,005 (of 9,648 total)