Just thought I'd add an update to this. I found a library called EasySoap++, but when I tried to install from the source, I ran into all sorts of casting errors during the compile. I systematically fixed these, but once I got it installed, I tried to create a simple "hello world" app that did nothing but link to that library. It crashed ld. Yep, ld segfaulted on me just by adding the simple line of -leasysoap... There appeared to be lots of duplicate definitions for things like _start as well. Almost like easysoap linked in most of the standard libraries.
On top of that, documentation seems to be non-existent. I'm not afraid of looking at header files and source code, but when combined with the other problems I noted, I figured it wasn't worth it.
I probably could have used the libwww libraries from w3c to send soap packets of HTTP, but I decided to just build my own SOAP code from scratch and send it with plain old socket calls. All our SOAP APIs are written with VS.Net, and don't use anything to tricky with the SOAP headers, so I figured that should be good enough for now. I don't have access to the HP-UX machine yet to test my code, but so far it is working well enough under the RedHat and Mandrake boxes I have here at work.
Seeing the lack of a good Linux/UNIX SOAP library for C++ makes me think it might be a nice little side project for me, though...
Last edited by deiussum; 09-17-2004 at 08:59 AM.
|