asp.net - Consume PHP web service in VB.net / ASP application -


i created web service using nusoap in php/apache. service requires client certificate , additional soap header username , password element authentication.

i having trouble on consuming service .net application. idea or references on how send request supplying client certificate , adding soap header web service reference?

(note: soap header not yet included here, trying if can connect service.)

    dim svc useraccountservices.useraccountservice = new useraccountservices.useraccountservice      dim cert system.security.cryptography.x509certificates.x509certificate = system.security.cryptography.x509certificates.x509certificate.createfromcertfile("d:\client.pem")     dim certpath = "d:\client.pem"      dim rawdata byte() = readcertfile(certpath)     cert.import(rawdata, "password", x509keystorageflags.machinekeyset)     svc.clientcertificates.add(cert)     dim result     result = svc.useraccountservicegetuserdetails("testuser") 

encountered error: the request aborted. not create ssl/tls secure channel.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -