简体   繁体   中英

gSOAP C++ code on Windows vs Linux

I'm using gSOAP with EWS via proxy services to connect to Exchange services. I've fully working C++ gSOAP code for sending message on Windows, but when I compile and run the same code on Ubuntu, I've got 401 Unauthorized Error , Why?

On Windows:

I've used the binaries of soapcpp2.exe and wsdl2h.exe to generate header files etc.

For compile and run: I'm using MobaXterm (a kind of Terminal)

Please anyone who are familiar with gSOAP help me to figure out the possible problem. Many thanks in advance.

The 401 Unauthorized Error requires HTTP authentication, either with HTTPS and basic authentication or with HTTP digest authentication. The proxy also likely requires authentication.

See the tutorial on HTTP Digest Authentication

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM