使用 Dotnet 客戶端與 Java 服務器進行 Https 通信 (Https Communication to Java Server with Dotnet Client)


問題描述

使用 Dotnet 客戶端與 Java 服務器進行 Https 通信 (Https Communication to Java Server with Dotnet Client)

I need to send financial messages(transactions) to a bank with the help of HTTPS communication. Bank server is written on Java while my application is in .Net

Following are only details I received from their side:

  

Https request:   • The entire ISO request for https should be sent as an attachment to the following   servlet:   https:///Servlet/IBSOtherVendorRequestServlet

What are other components or documents required from their side and which namespace of .Net can I use for this communication?

Kindly help me on how to proceed.

‑‑‑‑‑

參考解法

方法 1:

You have to know how to query the servlet : SOAP ? REST ? what are the parameters and which method should be used ? result in plain text, XML or JSON ?

It looks like you have to POST a request to this Servlet. You have to know what is an "entire ISO request" then POST it to this url using HttpClient or HttpWebRequest. It will probably look like this : Upload files with HTTPWebrequest (multipart/form‑data)

(by user1602495Guillaume)

參考文件

  1. Https Communication to Java Server with Dotnet Client (CC BY‑SA 3.0/4.0)

#HTTPS #.net #communication #C#






相關問題

如何信任特定的自簽名證書?(不相信所有人) (How can I trust a specific self-sign certificates? (Not trust all))

使用 Dotnet 客戶端與 Java 服務器進行 Https 通信 (Https Communication to Java Server with Dotnet Client)

在 ssl 站點中啟用 http 小書籤? (Enable http bookmarklet in ssl site?)

HTTPS 客戶端/服務器通信錯誤:底層連接已關閉:發送時發生意外錯誤 (HTTPS Client/Server Communication Error: The underlying connection was closed: An unexpected error occurred on a send)

node.js https 沒有響應“結束”事件,而是“關閉”? (node.js https no response 'end' event, 'close' instead?)

在 IIS 7.5 上運行的 ASP.NET 應用程序上強制使用 Https (Force Https on an ASP.NET app running on IIS 7.5)

通過http實現安全性的最佳方式是什麼 (What's the best way to implement security through http)

如何使用身份驗證 API 觸發密碼重置流程、python 或 curl (How to use the authentication API to trigger password reset flow, python or curl)

C#:強制 TLS1.2 但 Https 服務器仍然給出常見算法錯誤 (C#: Forcing TLS1.2 but Https server still giving common algorithm error)

curl 在我的共享主機上無法正常工作 (curl not working in the right way on my shared hosting)

如何為通過 Kestrel 服務器託管 PWA 的 UWP 桌面橋應用配置 https (How to configure https for a UWP Desktop Bridge app hosting a PWA via a Kestrel Server)

從其他機器訪問 webpack DevServer 子 URL 時出現 ERR_SSL_PROTOCOL_ERROR (ERR_SSL_PROTOCOL_ERROR when accessing webpack DevServer sub-URLs from a different machine)







留言討論