Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Accessing Webservice

Former Member
0 Likes
446

Dear all

I need to implement the following scenario. I have given the option that a function can be call as web service. At this point every thing is ok. In the client side they have an application in .NET, to link this to they have installed a Client Certificate in the IE Browser to authenticated in our system (Apache server). When they executed URL in the Browser every the connection is OK. When they executed the .NET applications the following error appears :

ERRO:The underlying connection was closed: Could not establish secure channel for SSL/TLS.

System.Net.WebException: The underlying connection was closed: Could not establish secure channel for SSL/TLS. ---> System.TypeInitializationException:

The type initializer for "System.Net.SecureChannel" threw an exception. ---> System.EntryPointNotFoundException: ? at System.Net.NativeNTSSPI.EnumerateSecurityPackagesW(Int32& pkgnum, IntPtr& arrayptr) at System.Net.SSPISecureChannelType.EnumerateSecurityPackages(Int32& pkgnum, IntPtr& arrayptr) at System.Net.SSPIWrapper.EnumerateSecurityPackages(SSPIInterface SecModule) at System.Net.SSPIWrapper.GetSupportedSecurityPackages(SSPIInterface SecModule) at System.Net.SecureChannel..cctor() --- End of inner exception stack trace --- at System.Net.SecureChannel..ctor(String hostname, X509CertificateCollection clientCertificates) at System.Net.TlsStream.Handshake(ProtocolToken message) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.CheckFinalStatus() at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.HttpWebRequest.GetResponse() at testetmn.Teste.btnConnect_Click(Object sender, EventArgs e) in e:\develop\toupeira\testconnectivity\teste.aspx.cs:line 67

They have tried to call the certificate in a file and the same error appears.

Thus any one has a solution for this scenario?

Best regards

Thanks in advanced

PMCPR

3 REPLIES 3
Read only

athavanraja
Active Contributor
0 Likes
403

are you calling ABAP RFC FM as a webservice from .net application? which system requires a certificate the ABPA enigine or .net

Read only

Former Member
0 Likes
403

Dear all.

I'm going to explain better my question. Yes we are calling a Webservice from a .net application. But in the middle we have a Apache server that required autentication, and for this reason the certificate must be on the Side off the .NET application.

We have install the client Certificate on the IE browser. If we call the URL off the webservice from the browser every the connection was made. But when call the URL from the .NET application the error appears.

Best Regards

Thanks in advanced.

Read only

0 Likes
403

so the issue is not with ABAP but between .net and apache.

in such a case i would suggest the following forum to raise this question

Regards

Raja