How to configure Send Handler for BizTalk 2013 Dynamic Send Port on deployment?

Hi,
I do know how to manually configure a send handler for a dynamic send port in BizTalk 2013 Administration console. Though, once you export your application's configuration to a binding file, the dynamic send port's configuration does not
contain any information regarding the send handler. When you try to use this binding file when deploying your application your dynamic port's send handler falls back to the default host instance.
So my question is, how could we automate this process to avoid manual step in a dynamic port configuration during deployment?
Thank you,
--Vlad

Hey vlad,
As discussed at work in the office.. I woudl take the powershelll approach for now as a workaround.  Here's a trivial script for my local dev box (all in one biztalk & SQL)  (must be run in an x86 powershell session):
param
 [string] $bizTalkDbServer = ".",    
 [string] $bizTalkDbName = "BizTalkMgmtDb",
 [string] $fileHostInstance = "SendingHost",
 [string] $sendPortName = "sm_dynamic_sp_test"
[System.reflection.Assembly]::LoadWithPartialName("Microsoft.BizTalk.ExplorerOM") | Out-Null
$catalog = New-Object Microsoft.BizTalk.ExplorerOM.BtsCatalogExplorer
$catalog.ConnectionString = "SERVER=$bizTalkDbServer;DATABASE=$bizTalkDbName;Integrated Security=SSPI"
foreach($sp in $catalog.SendPorts)
 if($sp.Name -eq $sendPortName)
  "Found send port $($sp.Name), analyzing send handler"
  foreach($sh in $sp.DynamicSendHandlers)
   if($sh.SendHandler.TransportType.Name -eq "FILE")
    if($sh.SendHandler.Host.Name -ne $fileHostInstance)
     "Changing $($sh.Name) send handler to '$fileHostInstance' from '$($sh.SendHandler.Host.Name)'"
     $sp.SetSendHandler("FILE", $fileHostInstance)
    else
     "Send handler for $($sp.Name) is already '$fileHostInstance' ignorning .. "
$catalog.SaveChanges()

Similar Messages

  • How to configure SMTP server for osb 10.3.1

    Hi All,
    Can anyone share information on how to configure SMTP server for osb 10.3.1
    and then how to send an email from osb 10.3.1
    Thanks in Advance!!

    Thanks a lot!!
    I configured the same way. When I am sending email to an account on the same domain as my SMTP server is the sending of email is successful. But its giving error when I am trying to send an emain to an account which is on different domain. It giving error as "Operation has been cancelled"
    Please suggest something.

  • How to configure release procedure for rate contracts release

    Dear all,
    How to configure release procedure for rate  contract following are the requirements
    they are two release codes c1 & c2 <=100000,>=100000
                    if  c1 is not there c2 has to be approved
         Change in the value of the rate contract contract
         Change in the validity of the rate contract
         Addition of deletion of line items
    While using a non u2013 released rate contract in the PO an error message should shoot out.
    Also the logic should be changed while using the rate contract in the PO.
    The usage of the rate contract should be till the validity of the rate contract. i.e. the measurement should be end date of the rate contract and the PO creation date and not the delivery date of the PO. &
    It should be possible to refer existing valid rate contracts in purchase orders.
    Regards,
    bhaskar

    Hi,
    In SAP rate contract is known as value contract denoted with wk. The release procedure for rate contract is same as that of other contracts and scheduling agreements. The tables  for contracts will vary with SA (Scheduling agreement) .You may try and maintain condition records based on the customer combination and maintian the validity date of condition records as per your requirement.For contract and PO will have the same header/item table as EKKO/EKPO, and the release
    class in standard is the same FRG_EKKO, you can use the same for contract.
    To distinguish if it's a contract or PO, EKKO-BSART can be used.
    For contract EKKO-BSART will be MK or WK, while PO will have NB/UB etc..
    You can restrict the document type to set up the release strategy for only contract.
    Of cause, you can also create your own release class Z* for contract copying standard
    one FRG_EKKO via CL01/Class type 032, and then assign the class Z* to customizing:
    OLME:
    -> contract
    ->Release Procedure for Contracts
    ->Define Release Procedure for Contracts
    ->Release Groups
    If you have already created the PO release class.
    Assign a new chracteristic of Document Category -BSTYP
    Please check below link for detailed release procedure. I hope this wil help you out .Thanking you.
    http://wiki.sdn.sap.com/wiki/display/ERPSCM/RELEASE+PROCEDURE#RELEASEPROCEDURE-TABLESUSEDFORRELEASEPROCEDURES

  • How to configure Broadcast messaging for IC Webclient profile

    Dear all,
    How to configure Broadcast messaging for IC Webclient profile. what are the prerequisites for it?
    We are not using EP interface for IC Webclient, then where can I find broadcast messaging URL in SAP CRM system.
    I have checked for the relevant BSP application, but could not find.
    Please help me to configure the scenario successfully, your help will be highly appreciated.
    Best regards,
    Raghu ram

    Hi raghu
    In CRM Broad cast messaging application is CRM _BM,
    Go to easy access u2013 go to favourites u2013 select add other objects - select BSP Applications- then select CRM_BM Application.
    Select that BSP application and test it u2026
    `
    Regards,
    Narsimha

  • How to create an handle for Miniport driver Ioctl interface?

    Hi All,
    I am trying to create an handle for my miniport driver Ioctl interface, but it showing the following error while opening the handle with CreateFile API.
    "you are requesting IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMTYPE,
    which has been deprecated. Use IOCTL_HAL_GET_DEVICE_INFO::SPI_GETPLATFORMNAME
    instead"
    Can anyone suggest on how to create the handle for Miniport Ioctl interface?
    Thank you,
    Sagar

    Hi,
    I have seen this error only in GUI based apps. Maybe you are pointing to the wrong error.
    Check if CreateFile returns INVALID_HANDLE_VALUE. API return value should give you more information.
    Regards,
    Balaji.

  • TCPIP adapter for BizTalk 2013

    Hello,
    Is there a TCPIP adapter for BizTalk 2013. The one on codeplex can not be installed.
    Regards,
    Paul

    You should download the one from CodePlex for BizTalk 2009 and edit the setup project where it is checking for BizTalk Version and modify this to the value for 2013. Rebuild and then you'd be able to deploy.
    You would also need to re-target the one for 2009 from .Net 3.0 to .Net 4.0
    Regards.

  • SOFWTARE COMPATIBILITY FOR BIZTALK 2013

    HI ALL,
    Please tell me if below softwares are compatible for Biztalk 2013
    MS SQL SERVER EXPRESS EDITION WITH ADVANCED FEATURES -- 2012 VERSION
    MS VISUAL STUDIO EXPRESS EDITION --2013 
    MS BIZTALK SERVER 2013 DEVELOPER EDITION
    Thanks,
    RENGA

    Hi Rengaraj,
    Express Editions are not recommended as they do not have all the required components, For SQL express check the blog -  http://blogs.biztalk360.com/biztalk-server-with-sqlexpress/
    You should go for  the softwares as suggested by Microsoft :  Hardware and Software Requirements for BizTalk Server 2013 and 2013 R2 
    Maheshkumar S Tiwari|User
    Page|Blog|BizTalk
    Server : Scheduling Orchestration using Trigger Message

  • [svn] 4258: Bug: LCDS-522 - Add more configurable reconnect handling for connecting up again over the same channel when there is a connection failure /outage.

    Revision: 4258
    Author: [email protected]
    Date: 2008-12-08 16:33:17 -0800 (Mon, 08 Dec 2008)
    Log Message:
    Bug: LCDS-522 - Add more configurable reconnect handling for connecting up again over the same channel when there is a connection failure/outage.
    QA: Yes
    Doc: No
    Checkintests Passes: Yes
    Details:
    * Updates to configuration handling code and MXMLC code-gen to support new long-duration reliable reconnect setting.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/LCDS-522
    Modified Paths:
    blazeds/trunk/modules/common/src/flex/messaging/config/ClientConfiguration.java
    blazeds/trunk/modules/common/src/flex/messaging/config/ClientConfigurationParser.java
    blazeds/trunk/modules/common/src/flex/messaging/config/ConfigurationConstants.java
    blazeds/trunk/modules/common/src/flex/messaging/config/ServicesDependencies.java
    blazeds/trunk/modules/common/src/flex/messaging/errors.properties
    Added Paths:
    blazeds/trunk/modules/common/src/flex/messaging/config/FlexClientSettings.java
    Removed Paths:
    blazeds/trunk/modules/core/src/flex/messaging/config/FlexClientSettings.java

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • How to configure Email notification for User login's in Exchange Infrastructure?

    How to configure Email notification for User login's in Client Machines?

    Hi ,
    Based on the description , you need to assign logon scripts to the end users via group policy and also use your exchange server as the smtp server in that logon script to relay emails to the internal recipients.
    Thanks & Regards S.Nithyanandham

  • How to configure the file adaptor so as to send an sample XML message.

    Hi all ,
    I had done the configuration and now i want to test the scenario but i dont now how to do that ?.
    how to configure the file adaptor so as to send an sample XML message to the integration server ?.
    I am totally new to XI.
    please help me out how to do it.
    its an urgent.
    Thanks,
    shuja

    Hi,
    I think you should post your question Process Integration (PI) & SOA Middleware.
    Regards
    Message was edited by:
            Shehryar Khan

  • BizTalk + using macro on send handler for messageID

    Hello,
    I was trying to use the macro on the send port. I am assigning the document number to the recieve file name as a string in the message assignment. something like
    mymsg(FILE.RecievedFileName) = msgenv(propertyschema.documentnumber)
    In this case, can i get the document number as file name on the send port using %SourceFileName%
    Just want to get the document number as a file name at the send port
    Please help.
    thanks
    Nan

    Hi NanLu,
    Let me quote the following,
    %SourceFileName%
    Name of the file from which the File adapter read the message. The file name includes the extension and excludes the file path, for example, Sample.xml. When substituting this property, the File adapter extracts the file name from the absolute file path stored
    in the FILE.ReceivedFileName context property. If the context property does not have a value—for example, if a message was received on an adapter other than the File adapter—the macro will not be substituted and will remain in the file name as is (for example,
    C:\Drop\%SourceFileName%). 
    Note: Correct implementation of this macro requires that the output message is the same message as the received message.
    Few things to check here,
    1)You should be receiving the file using a File Adapter.
    2)Please check if the FILE.ReceivedFileName appears as 'Promoted' in your OUTPUT message. Basically if you are assigning your input message to your output message the body as well as the context is automatically copied.But if your output message is not same
    as your input message then you need to promote this property so that at the Send Handler the macro will be applied.
    Please check and see how it goes.
    Regards,
    Sajith C P
    Please mark as answer if this helps

  • How to add event handling for a menu?

    hi,
    I have created a menu and few mneu items.
    for eachmenu itme , i did event handling and it is workign fine.
    it was like this
    menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
    menuItem.addActionListener(this);
    menu.add(menuItem);
         public void actionPerformed(ActionEvent e)
    JMenuItem source = (JMenuItem)(e.getSource());
    String s = "Action event detected. Event source: " + source.getText();
    System.out.println(s);     
    public void itemStateChanged(ItemEvent e)
    JMenuItem source = (JMenuItem)(e.getSource());
    String s = "Item event detected. Event source: " + source.getText();
    System.out.println(s);
    now int he second menu i don't have any menu item and i want to do the event handling for the menu itself. any ideas how to do it. following is the code for the menu
    //Build the second menu.
    menu2 = new JMenu("Options");
    menu2.setMnemonic(KeyEvent.VK_O);
    menuBar.add(menu2);
    menu2.addActionListener(this);     //this does nto work

    You were on the right track. However, selecting a menu is different from selecting a menu item. MenuItem chucks an ActionEvent and Menu will send an ItemEvent.
    If you pile all action output to one actionPerformed method then be careful of your assumptions on what the source type will be. If by any chance the Menu has sent an ActinoEvent then your code will have caused a ClassCastException.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MenuTest implements ActionListener, ItemListener {
        JMenuItem menuItem;
        JMenu menu1, menu2;
        JMenuBar menubar;
        JFrame frame;
        public MenuTest() {
            frame = new JFrame("MenuTest");
            frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
            menubar = new JMenuBar();
            frame.setJMenuBar(menubar);
            menu1 = new JMenu("File");
            menu1.setMnemonic(KeyEvent.VK_F);
            menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
            menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
            menuItem.addActionListener(this);
            menu1.addItemListener(this);
            menu1.add(menuItem);
            menubar.add(menu1);
            //Build the second menu.
            menu2 = new JMenu("Options");
            menu2.setMnemonic(KeyEvent.VK_O);
            menu2.addActionListener(this); //this does not work
            menu2.addItemListener(this); // use this instead
            menubar.add(menu2);
            JPanel panel = new JPanel();
            panel.setPreferredSize(new Dimension(100,100));
            frame.getContentPane().add(panel);
            frame.pack();
            frame.show();
        public void actionPerformed(ActionEvent e)
            String s = "Action event detected. Event source: " + e.getSource();
            System.out.println(s);
        public void itemStateChanged(ItemEvent e)
            String s = "Item event detected. Event source: " + e.getSource();
            System.out.println(s);
        public static void main(String[] args) {
            new MenuTest();
    }

  • How to configure mail server for subscription

    Hi,
    I want to test subscription. My problem is how to configure the mail server.
    As to my understanding, we need first configure mail server, then the user can choose "Subscribe" in the Details screen of a folder.
    My steps are:
    1. In KM - CM - Utilities - Channels, specify SMTP server, userId and password.
    2. In KM - CM - Utilities - Channel originators, set the Original address for notificator.EMAIL.
    3. In KM - Collaboration - Groupware Transport - Mail Transport, specify SMTP server and sent message folder.
    After that, when I choose a user and click "Send email", it failed saying "Failed to communicate with SMTP server when sending the email.".
    Could anyone tell me what's wrong with my configuration, or what should I do to make subscription work?
    Thanks,
    Ray

    Hi Vineeth,
    Thanks for help.
    According to your steps:
    1. set up a mail transport and making notification and mailing service active.
       In System admin - KM - CM - Global services, I've enabled Inbox, Mailing and Notification services.
      In KM - CM - Collaboration - Groupware Transport, I've set up a mail transport:
      Name: JavaMailTransport
      SMTP Server: smtp.yahoo.com
      Sent message folder: /documents
      System alias name: mytransport
    2. Give everyone read permission on notifications in KM.
      Where can I set user's permission on notifications? I think you mean folder /etc/notifications, but I don't know how to set permissions.
    3. Check if proper id's are maintained in users profile.
      How to do this?
    Thanks for help~~
    Regards,
    Ray

  • How to configure Reporting functionality to SharePoint 2013 if RS is already installed as Native mode

    Is it possible to publish reports to SharePoint if SQL Server 2012 reporting service is on native mode?
    How to do it?
    I have SharePoint 2013 and SQL Server 2012. I have created cube and reports with its data tools. This is single server environment.
    This is what I have done:
    A) I can successfully see from SQL Server installation tool that "Reporting Service-SharePoint" and "Reporting Services Add-in for SharePoint Products" are checked.
    B) I don't see Reporting Services under the Manage Service Application of the SharePoint Central Admin.
    c) When I choose report from reporting service project and I click deploy, it asks Reporting Services Login, but it does not accept admin logins. Server path should be valid.
    I got idea from following instruction that I should register and start the Reporting Services SharePoint service
    http://msdn.microsoft.com/en-us/library/jj219068.aspx
    C) I tried to run command Install-SPRSService, but it was not recognized cmdlet command.
    D) I see from Reporting Service Configuration Manager that Reporting Server Mode is Native. Report Service Status is Started.
    Kenny_I

    Hi Kenny_I,
    Since the release of SQL Server 2012, Reporting Services SharePoint Integrated mode has been changed from a Windows Service to be a SharePoint Shared Service. In this way, Reporting Services Configuration Manager no longer supports Reporting Services SharePoint
    mode, and all the configurations of SharePoint mode is completed using SharePoint Central Administration.
    In SSRS 2008 R2 or lower version, only one report server (either native mode or SharePoint integrated mode) can be active at one time in one SSRS instance. In SSRS 2012, the report server that runs in SharePoint integrated mode and the report server that
    runs in Native mode work separately at the same time in one SSRS 2012 instance. So, in this issue, you don’t need to care about the report server that runs in native mode when you work with the report server that runs in SharePoint mode.
    First, please install SQL Server 2012 SP1 which introduces more BI features.
    For the issue you encounter when running the commands to register the Reporting Services SharePoint Service, it may occur if you run the commands in the Windows Powershell instead of the SharePoint Management Shell. Please launch the SharePoint Management
    Shell by clicking Start-> All Promgrams -> Microsoft SharePoint 2013 Products -> SharePoint 2013 Management Shell. Then, please continue the steps in the following document or blog to create a Reporting Services Service Application:
    Install Reporting Services SharePoint Mode for SharePoint 2013
    Installing and configuring SQL Reporting services on SharePoint 2013
    After a SSRS Service Application is created properly, to deploy the project to the SharePoint integrated mode report server, please see the project property settings in the following document:
    Project Property Pages Dialog Box
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • OBIEE 11g - How to configure Virtual IP for servers hosting OBIEE 11g

    Hi,
    I have 2 Linux servers.
    I have installed OBIEE 11.1.1.6 on first server and did a scale out on second server.
    I don't have a Load Balancer.
    I want to configure Virtual IP for these hosts.
    Please advise how to do it.
    Thanks
    Nitin Aggarwal

    Refer to below lhks.
    http://www.rittmanmead.com/2008/12/obiee-high-availability-the-bi-server/
    http://www.rittmanmead.com/2009/02/obiee-high-availability-presentation-services-and-scheduler/
    Thanks
    Jay.

Maybe you are looking for