Search code examples
web-servicestcpfreebsdgsoap

connecting to web service from freebsd or other OS


i will explain my problem and please try to help me

i want to access a web-service from Point-Of-Cell Handheld

its SDK use C language on eclipse

at first i wanted to learn how to access web-services from C or c++ LANGUAGE

and i succeeded in this using gsoap library and i can access a web-service using it.

i modified the stdsoap2.c file to can fit the handheld library as i modified tcp-connect and tcp-send and tcp-receive and so on

my problem here there is alot of errors in this file, it is run time error as memory fail or pthread fail and so on

my director told me that it is because this file is for windows and ask me to search for gsoap version work on another platform

he tried the Linux version but it didn't work too

he asked me to search for a copy that work on embedded system or on FreeBSD OS

is he right? and is there any copy of gsoap can satisfy my need?


Solution

  • Gsoap is available on FreeBSD. Just install the port from /usr/ports/devel/gsoap

    If your code was written for windows, you will have to replace windows-specific functions with those available on FreeBSD.