Dynamically assign a send pipeline to a dynamic send port in orchestration

Hi
I have an orchestration that is using a dynamic send port. I need to somehow assign the send pipeline to the dynamic send port programmatically.
for example, I will have a decide shape in the orchestration. Based on the condition in the decide shape I need to assign the corresponding send pipeline for that condition. let's say in Branch A, I want to select xml assembler , in Branch B I will want
to select a flat file assembler...
how can this be achieved. I have seen some links recommending using the ESB tool kit, but I do not want to go down that route.
any help is appreciated
Regards, Mazin - MCTS BizTalk Server 2006

Ashwin
Thanks again for your reply.
If I do it using role links I will loose the flexibility I have "having a dynamic file name" lots of our partners would like to receive their files with specific file naming convention based on the content of the file.
If I use a decide shape / another dynamic send port, this means that everytime I have a new custom pipeline I would need to modify the orchestration and add another decide branch with another dynamic send port.
both of the above suggestions will break the flexibility of the solution since we now can configure new partners in seconds in the configuration database without the need to modify the orchestration or add any new send ports
Regards, Mazin - MCTS BizTalk Server 2006
So in your requirement, the “dynamic” nature you want from send port are
 following:
To set the send file names dynamically depends on the message received.
To send the message to different send locations depending on the message received. You want to retrieve this destination URL location from database.
And send ports may have different pipeline component like flat-file and XML ones.
As I have commented in my earlier reply, Role-Link could fit your bill perfectly and this can be achieved by using following:
1) Receive a message into an Orchestration.
2) In Orchestration set the file name dynamically based on the received file and following code shall help you to set the name of the file to dynamic. 
msgToBeSend(FILE.ReceivedFileName)="YourDynamicFileNameUWantToAssign";
Use the above while constructing the outgoing message.
3) Create a “Provider” Role-Link with send port type following the wizard.
4) In Orchestration’s expression shape may be before sending the message out,
performs the party resolution using a code similar to the following:  
YourRoleLinkName(Microsoft.XLANGs.BaseTypes.DestinationParty) = new Microsoft.XLANGs.BaseTypes.Party(msgToBeSend.YourDistingushedPropertyToIdentifyParty, "OrganizationName");
5) In the above sample code “YourDistingushedPropertyToIdentifyParty” refer for the code which could identify the partyname where the send port is configured.
6) Create Parties representing different type of message to be send like flat-file or XML messages.
7) Create a static send port and populate the outbound URL dynamically by using a custom pipeline component. In the custom pipeline component URL can be dynamically bound by calling the database as per your reqirement i.e based on the received message by
accessing its content in custom pipeline access the database, find the destination URL and assign the “OutboundTransportLocation” context property of the outbound message something like this 
msgToBeSend.Context.Promote("OutboundTransportLocation", "http://schemas.microsoft.com/BizTalk/2003/system-properties", YourOutboundURLFromDatabase);
Refer this article on this topic:
http://www.codit.eu/blog/2013/03/06/adding-dynamic-behavior-to-static-send-ports-a-caveat/
8) In the Parties you have created assign the send ports.
9) GoTo your “Role-Links” folder within the deployed BizTalk application and enlist the parties.
These steps enable you to achieve the dynamic requirement you want to implement with the mentioned Role-Link.
Regards,
M.R.Ashwin Prabhu
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Similar Messages

  • Sending EDI To Multiple Partners Using Single Send Port in Orchestration

    Hi Guys,
    I am having a scenario where i am receiving a Xml(which can be in between 11-15). I am having 150 Trading Partners with whom these datsets have to be shared. Now every Trading partner is having there own character Sets and unique numbers so i have created 150
    party agreements for all the Trading partners. I am interested to use a single port. I have created an orchestration to achieve this. Below are the steps i used to create orchestration :-
    1) Receiving 11 XML from receive shape.
    2) Extracting the value of Node TSP(this value is used to know the trading partners unique number on which i am deciding to which party agreement this Xml needs to go) using xpath.
    3) I am constructing the message in construct.                                                                                                                     
    3.1) Mapping  from XML To EDI.                                                                
    3.2) As all 11 datasets are having different version. So i am overidding the value ISA and GS in Message Assignment(SourceName).
    4) Decide shape to decide on the value of TSP to which port it has to be send.
    But according to me this is not an optimized solution. Below are reasons:-
    1) I have to create 150 branch into decide shape. As i am receiving 11 different Xml messages i need to create decide shape for all the different Xml messages.
    2) I have to create 150 different ports which are having 15 operation(depanding upon Xml we received).
    Note:- I have to create 150 different Send Ports only because of Party Agreement. So is there any solution? i only want Single Send port and i can select the party Agreement in the orchestrations.

    Duplicate thread.  See:
    http://social.msdn.microsoft.com/Forums/en-US/c12a377e-ccf6-4fbe-9986-14da63d72282/sending-edi-to-multiple-partners-using-single-send-port-in-orchestration?forum=biztalkgeneral

  • Set Custome pipeline for dynamic send port in orchestration

    I need to assign custom pipeline for dynamic send port in an orchestration .

    The option is available in the Port Configuration wizard
    Thanks, Murugesan M - Please Mark as the Answer, if this answers your question. Please vote as helpful, if this post is helpful.

  • How to reject ACK/NACK from other Send Ports to Orchestration

    Hi Everyone,
    I have a below scenario, Please let me your ideas how can we avoid ACK from other send ports (If there is any failures), in my current scenario getting issues or conflicts because of this
    AckRequired.
    Key points in my scenarios
    SendPort_A is pointing to SAP
    SendPort_B is pointing to SQL
    Flow
    Receive MessageA and Transform to MessageB format, send MessageB to SendPort_A which directly bind to orchestration with transmitted property enabled.
    SendPort_B subscribes the same message, output of map with message type as filter condition (we are not expecting any Acknowledge from sendPort_B, because it’s a generic send port for some scenario).
    Problem
    When I see the context properties both send ports has AckRequired
    Property to true (so getting ACK/NACK from both send ports).
    I want acknowledgement only form SendPort_A which is bind to orchestration with transmitted property enabled, but not from the SendPort_B which subscribes just with message type.
    I have tried the below points but no luck
    Created custom pipeline with custom pipeline component to set / overwrite
    AckRequired Property to false (Pipeline component is working fine, but nothing is overwriting in context, getting acknowledge back to orchestration for any failure in SendPort_B)
    #region IComponentUI
    public IBaseMessage Execute(IPipelineContext pContext, IBaseMessage pInMsg)
    pInMsg.Context.Write("AckRequired", "http://schemas.microsoft.com/BizTalk/2003/system-properties", false);
    return pInMsg;
    #endregion
    Below images gives some info on the same scenario.
    Appreciate your suggestions.
    Thanks, SMS Vikas K

    Hi Vikas,
    Let me know if I understood correctly.
    SendPort_B subscribes the same message, output of map with message type as filter condition (we are not expecting any Acknowledge from sendPort_B, because it’s a generic send port for some scenario).
    Problem
    You have a send port B which is subscribing to the same message using the message type.
    You can set additional filters to ignore Acknowledgement-
    Ex- Mgtype= "" AND
    AckRequired!=True OR
    AckRequired!=False 
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • How to Append date time to the Source File Name in send Port without Orchestration

    Hi,
    I am using the Macro %SourceFileName%_%datetime%.zip in the filename(Send Port).
    say my file name is ABC.zip
    But I am getting the output as ABC.zip_2013T083444
    Please suggest, How to avoid the extension?
    Vignesh S ----------------------------------------------------------- Please use Mark as Answer if my post has solved your problem and use Vote As Helpful if my post was useful.

    The problem here is %SourceFileName% context property would return filename “With” extension. So when you use %SourceFileName%_%datetime%.zip you get FileNameWithExtension_Datetime
    For this you have to handle it either in customer pipeline component or in orceshtration where you have to remove the extension from the Filename.
    Read this post on remove the extension from this file name
    msgOut(FILE.ReceivedFileName) = System.IO.Path.GetFileNameWithoutExtension(msgIn(FILE.ReceivedFileName));
    After this if you use the
    %SourceFileName%_%datetime%.zip macro, you would get the desired output.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

  • Notify a user after the message is been delivered to the FTP location by the send port

    I have a scenario where I need to send an alert to the user after the file is been delivered to the FTP location.
    If for any reason if the send port fails and the file is not delivered then the alert should not be sent. If the first attempt fails there will be a retry and the alert should not be sent on every retry. Only after successful delivery of message.
    I have a limitation, Just need to implement using the send ports, No Orchestration or no custom artifacts.
    Please advice.
    Thanks in Advance.
    Thanks Mallesh Bonla BizTalk Architect

    Hi Mallesh,
    If you don't want to use any custom artifacts like custom pipeline, then you can consider this option.
    Create FTP Receive port/Location (Yes Its Receive) and let it poll for any new files to the FTP location where your send port with FTP has configured for.
    In the FTP adapter property (of the above Receive location) set  "Delete After Download" -No, "Enable
    Timestamp Comparison"-Yes.
    Create a send port with file for the above Receive port name. Configure this send port to send email/alert.
    This configuration would send an email immediately when the FTP folder receives a file. i.e. As per your requirement, whenever file has been delivered
    to the FTP folder/server, the above new receive location would trigger for the newly received file. Since you have enabled "Delete After Download" -No, file would not be deleted from the FTP folder and since you have "Enable Timestamp Comparison"
    to Yes, adapter would not retrigger another transfer. In this case the new Receive location would only act as receiving trigger message whenever FTP folder receive a file.
    This is the only way you can achieve your requirement without any custom artifacts just with the standard out-of-box components.
    Otherwise use
    la Cour option of promoting AckRequired to the context to enable delivery notification in messaging only way. If you use Orchestration, you know you can do this
    with Delivery notification feature.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Use of Self Correlating direct bind in Orchestration send port

    Hi All,
        I have seen examples for self correlating direct bind in receive side of orchestration which will be passed as parameter in Start orchestration shape to
    get back the response. Could you tell me some scenario's where the self correlating will be used in send port of Orchestration.
    Is there any other use of self correlation other than in start orchestration shape.
    Thanks,
    ChampBoss

    If you want your called orchestration to behave like an API call i.e.; support a Request-Response pattern while NOT using a TWO-WAY orchestration port then you would need the self-correlation. How else would you respond to the same thread that called you?
    Regards.

  • Dynamic Send Port : The FILE send adapter cannot open file C:\Temp for writing. Details: Access is denied.

    Hi All,
    We have requirement of using ESB toolkit and transforming incoming xml file to edi format. So, we are using ItinerarySelectReceiveXML pipeline for receiving the input from the input location and "EDISend" pipeline for transforming it into EDI and
    send it to destination.
    Now, the receive pipeline is picking up the file, but it is not processed and sent to destination.
    And, we are getting an Access Denied error from Dynamic send port.
    Error Description : 
    The FILE send adapter cannot open file C:\Users\Public\Temp for writing.
     Details: Access is denied.
    Any Immediate solutions/suggestions are appreciated...Thanks.
    Anand

    The difference between dynamic and static port would be send handler. For dynamic port, default send handler will be used and for static port the one configured on the port will be used, could you validate this configuration.
    Also sometimes, administrative privileges are not "real" administrative privileges and company admins will have limited permissions on C Drive folders. Try writing to some other folder to isolate the issue.
    Regards, Ajeet Kumar MCTS Biztalk Server

  • BizTalk Server 2013 and deployment MSI with dynamic send ports

    Hello community, wonder if any help out there for this odd problem.
    Deployment of application msi fails into BizTalk 2013 prod environment, fails when deploying the project dll that contains all the orchestrations,
    and reports a failure to apply early bindings.  The only early bindings in this project are dynamic send ports.  I cannot recreate the problem in in my QAS environment where deployments of the same msi works fine.  
    I can build an msi without any bindings at all except for the dynamically created ones, and this also display the same behaviour on import.  
    I have test deployed a 2nd unrelated app that also uses dynamic send ports, and this displays the problem.  
    Adding the assembly directly to BizTalk console displays the same behaviour.
    Deployment of msi apps without dynamic send ports are ok.
    The dynamic ports use a pipeline including a custom pipeline component which I can confirm is available in the correct directory
    C:\Program Files (x86)\Microsoft BizTalk Server 2013\Pipeline Components
    No specific further detail is available in the error except.
    Import Wizard[09/05/2014 08:20:47]: Error in Importing Application
    Import Wizard[09/05/2014 08:20:47]: Change requests failed for some resources.
    BizTalkAssemblyResourceManager failed to complete end type change request.
    Unable to deploy early bindings.
    Failed to update binding information.
    Error in the application.
    Other information that may be relevant:
    The main difference between QAS and PROD is that PROD is a two node cluster.  Import behaviour is the same if attempted on either node.  Assemblies are installed in both nodes currently.
    The dynamic ports are set on handlers that are non-clustered hosts (all are for adapter type SMTP).
    I have ensured that all the adapter handlers are identically setup in both environments.
    The project files were migrated to BizTalk 2013 from BizTalk 2010, imported and then converted using VS 2012.
    The msi has installed the assemblies as per usual and they do exist in the .net 4 gac
    There is a reference to a shared resource in a different application, this application is installed and imported ok.
    I’m a bit stuck at what to try now, I have option where I could recreate the dynamic ports from scratch in the orchestrations and redeploy to dev in the hope it’s something that VS2012 didn’t handle too gracefully
    when converting the project.  I could move the functionality into a helper class and forget about using dynamic sends, rather not go down that route.  I'm still suspecting this is small difference in setup
    of the group between QAS and PROD but I can't see anything jumping out.
    Any comments are most welcome.

    The dynamic ports use a pipeline including a custom pipeline component which I can confirm is available in the correct directory
    C:\Program Files (x86)\Microsoft BizTalk Server 2013\Pipeline Components
    I’m a bit stuck at what to try now, I have option where I could recreate the dynamic ports from scratch in the orchestrations and redeploy to dev in the hope it’s something
    that VS2012 didn’t handle too gracefully when converting the project. 
    Two things.
    1. That's what I would do first, recreate (really just change and reset the properties) the Orchestration Ports in Visual Studio.
    2. Probably not related but, Custom Pipeline Components should not be placed in the Pipeline Components folder.  All Custom Pipeline Components should be in the GAC only.  The Pipeline Components folder
    is a compatibility vestige from BizTalk Server 2004.

  • Making a static FTP send port behave like dynamic

    Hi,
    we are on BizTalk 2013.
    we have a static send port FTP. an server ip and a folder is set for this static FTP port. however we want to change the target folder dynamically. so we have a custom send pipeline that promotes the below properties:
                pInMsg.Context.Promote(
    "IsDynamicSend",
    "http://schemas.microsoft.com/BizTalk/2003/system-properties",
    true);
                pInMsg.Context.Promote(
    "OutboundTransportType",
    "http://schemas.microsoft.com/BizTalk/2003/system-properties",
    "FTP");
                pInMsg.Context.Promote(
    "OutboundTransportLocation",
    "http://schemas.microsoft.com/BizTalk/2003/system-properties", 
    FTPPath+ReceivedFileName);
    what is wrong with this approach? Because it always takes the static configuration and not the dynamic as set above.
    Please help.
    Thanks

    Best option would be to suspend a normal message and check it's promoted properties having URI, later in pipeline component just modify/ overwrite those properties.
    You don't need to touch "OutboundTransportType" property as it will be already set to FTP.
    Also "IsDynamicSend" doesn't needs to be set to True, because at adapter level it doesn't matter whether the port was dynamic or not, it only cares about the promoted context properties.
    Thanks,
    Prashant
    Please mark this post accordingly if it answers your query or is helpful.

  • How to configure SMTP dynamic send port?

    Hi,
    I am trying to configure STMP send port to send emails, enabled SMTP Server on the DEV box and configured it as described in the link below.
    https://sandroaspbiztalkblog.wordpress.com/2013/05/09/biztalk-2013-installation-and-configuration-install-and-configure-smtp-server-feature-part-4/
    Able to send emails using Telnet client, and these email get stored in C:\inetpub\mailroot\Queue folder.
    I have a dynamic send with following values.
    msgEMail(SMTP.CC) = “[email protected]”;
    msgEMail(SMTP.DeliveryReceipt) = False;
    msgEMail(SMTP.From) = “[email protected]”;
    msgEMail(SMTP.ReadReceipt) = False;
    msgEMail(SMTP.Password) = “XXX;
    msgEMail(SMTP.Username) = “DDD”;
    msgEMail(SMTP.SMTPAuthenticate) = System.Convert.ToUInt32(XX.SMTPAuthenticate);
    msgEMail(SMTP.SMTPHost) = “smtp.domain.local”;
    msgEMail(SMTP.Subject) = “sdfgdfgd;
    msgEMail(SMTP.MessagePartsAttachments) = 2;
    Message gets suspended with the following error message.
    A message sent to adapter "SMTP" on send port "XXX_DynamicSendPort_XXXX" with URI "mailto:
    [email protected]" is suspended.
     Error details: There was a failure executing the send pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLTransmit,
    Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=81bf3856ad764e35" Source: "XML assembler" Send Port: "XXX_DynamicSendPort_XXXXX URI: "mailto:localhost" Reason: Data at the root level is invalid.
    Line 1, position 1. 
     MessageId: 
    {3C50F418-24C4-4661-9B34-4B7F5F6FBBA4}
     InstanceID: {2F6B9A0E-92EE-4953-81D2-9A124FAC99CE}
    Please can some advise me what is wrong here? do you think I have configured
    msgEMail(SMTP.SMTPHost) property correctly? Or should it be the name of the DEV box?
    Thanks
    SS
    Shiva Sadayan

    Hi Shiva,
    You should not be using XMLTransit pipeline at the send port.
    Perhaps you should go with default passthrough pipeline or
    Create a send pipeline with MIME/SMIME encoder and drop it at Encode section of pipeline. Accept the default settings for MIME/SMIME encoder and use it with the dynamic port.
    I found this article very useful while sending email from BizTalk. Refer:
    Sending Emails in Biztalk
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • BizTalk 2013 SFTP Adapter Dynamic SFTP send port exception: Open remote file for write error

    I am using BizTalk 2013 SFTP adapter. I defined a Dynamic One-Way
    send port on BizTalk server administration.
    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
     Server stack trace:
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpInvoker.OpenRemoteFileWrite(String fileName, Int32 fileOffset)
       at Microsoft.BizTalk.Adapter.SftpInvoker.SftpFileWriterStream.Write(Byte[] buffer, Int32 offset, Int32 count)
       at Microsoft.BizTalk.Adapter.Sftp.SftpOutputChannel.Send(Message message, TimeSpan timeOut)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
     Exception rethrown at [0]:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
     Exception rethrown at [1]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IOutputChannel.EndSend(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendCallback(IAsyncResult result)
    MessageId:  {926F44F2-9180-4B33-96FF-9E4CBC459382}
    InstanceID: {36A50A7F-63C4-48D9-903D-A33C85DDAE36}
    Can you please assist with explaining why are we getting this exception?
    Thank you for your help.

    Below is the error I'm getting on BizTalk while trying to write files to a designated folder on a client's SFTP server.
    When defining the same path and properties on a Static One-Way send port everything works properly and the files are being saved on the SFTP server.
    A message sent to adapter "SFTP" on send port "ComverseSFTP_1.0.0.0_ComverseSFTP.SendFileToSFTP_SendFileToSFTPServer_f6b86b86a22079f8" with URI "SFTP://abc.xyz.com:22/upload/%SourceFileName%"
    is suspended.
    Error details: Microsoft.BizTalk.Adapter.SftpInvoker.SftpException: Open remote file for write error.
    Hi Yaeli1,
    From the error message above,  please check the permission for file writing , it seems that this issue is related to access permission.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • BAM. Track message payload inside dynamic send port

    Somehow Biztalk 2010 BAM fails to track message payload inside dynamic send port. Messaging properties and Context properties (from our own property schema) are tracked correctly.
    I'm using XMLTransmit with specified document schema property on the send port, but this does not help.
    Tracking the same properties on Receive port is successful.
    What could cause this kind of behavior?

    I do not use ESB. There are only simple send ports. I have been trying to track message payload either from static and from dynamic sen ports. In both cases it does not track anything (only null values).
    I've trying with simple solution: one send and one receive ports. No mapping or other stuff. Tracking profile had the same fields set, both with two ports mapped: one send, and one receive. Receive port line is filled with correct values from message, while
    send port line stays empty (null).
    What could cause such behavior?

  • 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()

  • Dynamic file send port configure with variable store path location

    hi ,
    i done like dynamic file send port:
    Port_7(Microsoft.XLANGs.BaseTypes.Address)="sw"; --> sw is path location  string type variable
    Port_7(Microsoft.XLANGs.BaseTypes.TransportType)="FILE";
    here sw is path location :C:\Users\00134\Desktop\Rec\sqltest\senddate.
    but it is not working where im wrong?

    try this 
    Port_7(Microsoft.XLANGs.BaseTypes.Address)="file://"+
    sw +@"\%MessageID%.xml";

Maybe you are looking for

  • Audio malfunctio​ning on hp ultrabook?

    Hello! So i just recently got a laptop in late june almost early july. Its a HP ENVY touchsmart 4 Ultrabook Its not even 2 months old and the speakers on here suck. They kida slurr and like lag. Its stutters really bad. I can't listen to 1 song witho

  • Can my wife and I share music?

    MY wife and I have different apple ID's, one mac with one user profile (dont want to make things messy). We were told she should get her own ID when she got an iphone to imessage and facetime will work. But now I cant figure out to get music shes pur

  • Montly Sales Analysis Report ,Total by customer

    Hi, I need help on a query that a customer needs for a sales analysis report. It should also contain: Parameters from date X to Y and Warehouse  Z Columns should be as follows Item No. Item Description Customer Code Customer Name City Annual Total Ap

  • Is Java Server Page slower than ASP?

    I wonder If I use web page with database then JSP, ASP - which one is slower than?

  • Getting the output of system commands in air

    Hello- Can someone explain how with flex and air one would run a system command and save the output to an array or string? Thanks.