开发者

Calling basic authentication java webservice with C# Client

开发者 https://www.devze.com 2023-03-24 16:30 出处:网络
I have a c# client application calling java web services. Everything w开发者_C百科orks great but now i need to send some authentication data since we are trying to restrict who calls the web service.

I have a c# client application calling java web services. Everything w开发者_C百科orks great but now i need to send some authentication data since we are trying to restrict who calls the web service. The java web service expects basic authentication.

How do i go about providing this in my c# client? I am not using WCF or WSE, just plain webservice (using Add Web Reference).


Here's a link for the solution i found in case some one needs it. I was able to fix my issue by modifying some of the stuff in the suggested article.

http://www.c-sharpcorner.com/UploadFile/pchandraker/1052/

0

精彩评论

暂无评论...
验证码 换一张
取 消