Consume one WCF service for multiple Biztalk application

Home Page Forums BizTalk 2004 – BizTalk 2010 Consume one WCF service for multiple Biztalk application

Viewing 1 reply thread
  • Author
    Posts
    • #25669

      Hi Sir,

      I have an one WCF service “InsertData”. Because I have some kind of text files to insert into database so for each kind of file and create one new Biztalk application consume “InsertData” wcf service to insert text file data to database.

      The first Biztalk application was very good when I used binding to consume “InsertData” wcf , but from the second application, I got the message ” this port already exists, Specify a unique port name “.

      Please help to give me the solution to resolve it.

      Thank you so much.

       

    • #25674

      Hi,

      Create port with different name.  You can’t have two ports with same name.

      • #25682

        Hi Yonathan Masovich,

        Thank you for quick help. I intended to do with your guide. Unluckily, this service was hosted at another company. My biztalk applications  just used “Add Generated Items” –> “Consume WCF service”.

        Thank you,

         

        • #25691

          Hi,

          But after you generate schemas – you have binding files – in which you can change port names – to be created.

          Open binding XML file, find there a property Receive port name/ or send port – if you send request and get resposne – and change them.

          The other thing: if you need to use one receive location – by two different applications (by the way – what’s the difference? all messages are proceeded twice? Or different messages?) – and use direct binding. When a message arrives to message box – it will be picked by all subscribers (two your applications at once.)

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.