gSoap Compatibility

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • gSoap Compatibility

    I am working on to port gsoap to Embos. But am not able to succed. Since I wanted client - server architecture by using webservices.
    Our goal is that wanted a webservice which is running any of the server like IIS and by gsoap methodology try to invoke the methods running in server.
    Do you guys having any support for gsoap. Because gsoap works on different platforms.
    If its there how we can proceed with that to host webservice in server.
  • Hello Venkat,

    As embOS/IP does not have native support for SOAP you will need to implement it yourself in one of the following ways, depending on client/server that you want to setup:

    For a client a SOAP request is a simple POST message sent via TCP. So basically this is connecting to a Web server that runs a SOAP service, sending a POST request and parsing the XML answer you get back. All this needs to be done by your application.

    For a server that already runs the embOS/IP Web server you can register a path with our REST API to forward the whole POST request froma SOAP client to a callback. You can then parse the XML request and send back your XML answer directly from the callback using the IP_WEBS_* API. Parsing the request and assembling the answer to send back needs to be done by your application.
    Please be aware that you have to either send a HTTP/1.0 request to the server to completely disable chunked encoding (content might be received in multiple encoded chunks) or you send a HTTP/1.1 request and have to deal with chunked encoding in your client.

    Best regards,
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system:

    Or you can contact us via e-mail.