Click here to Skip to main content
15,922,309 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Quiz for Certification Pin
Anurag Gandhi15-Jan-15 5:39
professionalAnurag Gandhi15-Jan-15 5:39 
QuestionUsing a SERVICE Reference vs WEB Reference, with endpoint behavior to alter SOAP request header Pin
jkirkerx12-Jan-15 11:39
professionaljkirkerx12-Jan-15 11:39 
GeneralI'm reformulating my question here Pin
jkirkerx12-Jan-15 12:33
professionaljkirkerx12-Jan-15 12:33 
Looks like the Service Reference allow me to use the EXact_ID and EXact_Password to authenticate to the Cross Domain Service that runs on a Linux Server.
I'm not quite sure how to authenticate to this server, using the code below. I think I just have a few things wrong here.

I'm not sure if the BasicHttpBinding is my authentication method for credentials, or the channel factory.

'Bind the transaction to the HMAC Header Behavior
Dim httpBinding As BasicHttpBinding = New BasicHttpBinding()
httpBinding.Security.Mode = SecurityMode.Transport
httpBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Basic
httpBinding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.UserName
httpBinding.Security.Message.AlgorithmSuite = ServiceModel.Security.SecurityAlgorithmSuite.Basic256

Dim ws = New firstData_v14.ServiceSoapClient(httpBinding, New EndpointAddress(m_endPoint_Url))
ws.ClientCredentials.Windows.ClientCredential = New NetworkCredential(sCA.Exact_ID, sCA.Exact_Password)
ws.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.None

ws.ChannelFactory.Credentials.UserName.UserName = sCA.Exact_ID
ws.ChannelFactory.Credentials.UserName.Password = sCA.Exact_Password
ws.ChannelFactory.Endpoint.Behaviors.Add(New HMAC_SR_Header_Behavior(m_key, m_keyID, m_endPoint_Uri))

'Transmit the Card Authorization Request
rxn = New firstData_v14.TransactionResult
rxn = ws.SendAndCommit(txn)

Questioninserting data in an excel file using ASP.NET (VB) Pin
John_Reese12-Jan-15 4:54
John_Reese12-Jan-15 4:54 
AnswerRe: inserting data in an excel file using ASP.NET (VB) Pin
John_Reese12-Jan-15 5:29
John_Reese12-Jan-15 5:29 
QuestionChanging Resource files programmatically in ASP.Net 4.5 Pin
meeram3912-Jan-15 0:48
professionalmeeram3912-Jan-15 0:48 
AnswerRe: Changing Resource files programmatically in ASP.Net 4.5 Pin
Afzaal Ahmad Zeeshan12-Jan-15 4:26
professionalAfzaal Ahmad Zeeshan12-Jan-15 4:26 
QuestionNeed to understand a signalr chatting code Pin
Tridip Bhattacharjee11-Jan-15 23:49
professionalTridip Bhattacharjee11-Jan-15 23:49 
AnswerRe: Need to understand a signalr chatting code Pin
deepankarbhatnagar12-Jan-15 1:13
professionaldeepankarbhatnagar12-Jan-15 1:13 
GeneralRe: Need to understand a signalr chatting code Pin
Tridip Bhattacharjee12-Jan-15 20:40
professionalTridip Bhattacharjee12-Jan-15 20:40 
AnswerRe: Need to understand a signalr chatting code Pin
Dar Brett13-Jan-15 3:06
Dar Brett13-Jan-15 3:06 
QuestionGIF image as progressbar using AJAX modalpopupExtender Pin
sudevsu8-Jan-15 5:17
sudevsu8-Jan-15 5:17 
AnswerRe: GIF image as progressbar using AJAX modalpopupExtender Pin
jkirkerx8-Jan-15 7:30
professionaljkirkerx8-Jan-15 7:30 
GeneralRe: GIF image as progressbar using AJAX modalpopupExtender Pin
sudevsu8-Jan-15 10:21
sudevsu8-Jan-15 10:21 
GeneralRe: GIF image as progressbar using AJAX modalpopupExtender Pin
jkirkerx8-Jan-15 11:49
professionaljkirkerx8-Jan-15 11:49 
AnswerRe: GIF image as progressbar using AJAX modalpopupExtender Pin
Vimalsoft(Pty) Ltd12-Jan-15 20:51
professionalVimalsoft(Pty) Ltd12-Jan-15 20:51 
QuestionIf else condition fails, in VB.net Pin
sudevsu7-Jan-15 8:33
sudevsu7-Jan-15 8:33 
GeneralRe: If else condition fails, in VB.net Pin
PIEBALDconsult7-Jan-15 9:00
mvePIEBALDconsult7-Jan-15 9:00 
GeneralRe: If else condition fails, in VB.net Pin
sudevsu7-Jan-15 9:14
sudevsu7-Jan-15 9:14 
GeneralRe: If else condition fails, in VB.net Pin
sudevsu7-Jan-15 9:42
sudevsu7-Jan-15 9:42 
GeneralRe: If else condition fails, in VB.net Pin
PIEBALDconsult7-Jan-15 9:44
mvePIEBALDconsult7-Jan-15 9:44 
AnswerRe: If else condition fails, in VB.net Pin
sudevsu7-Jan-15 10:05
sudevsu7-Jan-15 10:05 
GeneralRe: If else condition fails, in VB.net Pin
Vimalsoft(Pty) Ltd12-Jan-15 0:29
professionalVimalsoft(Pty) Ltd12-Jan-15 0:29 
GeneralRe: If else condition fails, in VB.net Pin
sudevsu12-Jan-15 2:38
sudevsu12-Jan-15 2:38 
GeneralRe: If else condition fails, in VB.net Pin
Vimalsoft(Pty) Ltd12-Jan-15 3:42
professionalVimalsoft(Pty) Ltd12-Jan-15 3:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.