Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Biztalk
acce.forsuppliers
acce.hipaa
acce.hl7
acce.rosettanet
accelerator.finserv
admin
appintegration
framework
general
library
nonxml
orchestration
sdk
server
setup
tools
xlangs
xsharp
  
 
date: Mon, 23 Jun 2008 07:17:04 -0700,    group: microsoft.public.biztalk.sdk        back       


sertting Sendport Authentication parameters programatically   
Hello

The following code works successfully and is only shown here to give you an 
overview of what i am doing
. My question is what property i have to set to be able to provide a 
username and password for the send port in case the host cannot access the 
network share? 

This can be done for a receive port by setting the 
RecieveLocation.TransportTypeData  with the appropriate xml string. i would 
like to be able to achieve the same for a send port .


Dim Sendport As SendPort = Application1.AddNewSendPort(False, False)
Sendport.Name = row.Item("LocationId").ToString
'Configure protocol type
For Each protocol As ProtocolType In catalog.ProtocolTypes
If (protocol.Name = "FILE") Then
Sendport.PrimaryTransport.TransportType = protocol
Exit For
End If
Next
Sendport.SendPipeline = 
catalog.Pipelines("Microsoft.BizTalk.DefaultPipelines.PassThruTransmit")

Sendport.Filter = "<Filter><Group>" _
& "<Statement Property= 'BTS.ReceivePortName' Operator='0' Value='" _
& row.Item("LocationId").ToString _
& "'/>" _
& "</Group></Filter>"
date: Mon, 23 Jun 2008 07:17:04 -0700   author:   Arun

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us