Sending / receiving SOAP requests / responses in C

I need tools to implement SOAP requests and responses in a production C application. I looked at gSOAP (without support), Apache Axis (not fully implemented according to their site). Has anyone been able to implement SOAP responses / requests over HTTP or TCP / IP?

+3
source share
3 answers

If you want to use a lower level (for example, parse the XML response), you can call an application such as cURL (or call libcurl directly). I was very lucky with this approach.

I wrote programs that call cURL from the command line as follows:

  command_line << "--insecure"
               << " -d @" << request->post_file_name
               << " -H \"Content-Type: application/soap+xml; charset=utf8\""
               << " --output " << request->results_file_name
               << " --trace-time --trace-ascii " << curl_log_path
               << " " << fs_service_url;
0
source

- libsoup?

libsoup HTTP API SOAP . , - . libsoup - ,

โ†’ libsoup

+1

Have you tried Apache Axis?

0
source

Source: https://habr.com/ru/post/1773277/


All Articles