I'm looking for an implementation of SOAP or PocketSOAP that will run on the BitsyX. I've currently got the source for PocketSOAP and I'm working on cross-compiling it ( and rebuilding the installer, the objects are all COM objects ) so I know that one's not going to work right out of the box.
Anyone know of a SOAP or XML-RPC implementation that will work on the BitsyX platform?
Problem solved ! And an interesting library problem discovered...
It seems that some versions of Windows use the ZLIB library internally for compression. Windows CE 4.X specifically does. So when the PocketHTTP library I was using ( a piece of the PocketSOAP library ) registers, and the system detects "zlib.lib" as a dependancy, it uses the ( already loaded ) system "zlib.lib". Which fails.
The solution is to rename the library and relink. You also need to change the source for PocketHTTP slightly to reference the newly named ZLIB in the "pragma comment". Also, I used the Z_PREFIX flag to force unique function names within ZLIB. I'm not sure this is necessary, but since I DO know that Windows is using ZLIB and MIGHT have some identical names... I figured it was a good idea.
FYI, "zlib.lib" only shows up in the WinCE 4.X module set. I did a search through MSDN for it, and didn't find any reference in the WinCE 3.X module lists. So, the code I have probably would have worked just fine on a WinCE 3.X device.
Hope that's useful to anyone else that's having problems with software sets that use the "zlib" library. I know I spent about 2.5 days banging my head against it...