Connect C++ app to JAVA web app with SOAP

后端 未结 6 1535
余生分开走
余生分开走 2020-12-19 00:41

I have a C++ app that needs to connect to a JAVA web app, are there any good, open source SOAP packages for this, or would it be easier to just roll my own?

6条回答
  •  孤城傲影
    2020-12-19 01:18

    Here's another issue with gSOAP we just discovered the hard way: it uses select() for all polling, so once you've got 1024 file descriptors open (64 on Windows?) it will trash the stack. That results in either spurious errors where it is unable to send messages, to complete crashes of the application.

    The workaround, unless you're prepared to patch gSOAP itself, is to write your own network code and hook it in with soap->fconnect, ->fsend, ->frecv etc.

提交回复
热议问题