You could explicitly compile stdsoap2.c[pp] with -UTCP_NODELAY to remove this option (compile your project together with stdsoap2.c[pp] instead of libgsoap). This undefs the TCP_NODEALY macro. This should normally not be necessary. Curious what IP protocol you are using in place of TCP.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, but this information is not very useful. Assuming the problem occurs on the server side (because failed in soap_bind()), the build steps are not relevant but the runtime server-side setup is. Perhaps you're binding to a port that is reserved for other purposes.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess i need to compile the generated cpp files and link with run-time gsoap engine -lgsoap++ (i skip this step earlier) so i am trying to run command shown below but getting error "gsoap version mismatch in genereated code versus library code ". Although i generated these files using WSDL and when i open "soapClientLib.cpp" it's showing me current version 2.8.66 (same as i installed)
Do you think , failed in soapbind() error due to missing of namespace , as i didn't add namespace (which is ns1=MDM_Server in my case ) in "typemap.dat". Moreover , do we need to re-compile everything once we add namespace.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You could explicitly compile stdsoap2.c[pp] with
-UTCP_NODELAYto remove this option (compile your project together with stdsoap2.c[pp] instead of libgsoap). This undefs theTCP_NODEALYmacro. This should normally not be necessary. Curious what IP protocol you are using in place of TCP.Sorry i didn't get it what exactly you want to say. Let me explain how i generated the files
**wsdl2h file-name.wsdl
soapcpp2 file-name.h **
This generated files for client and server.
OK, but this information is not very useful. Assuming the problem occurs on the server side (because
failed in soap_bind()), the build steps are not relevant but the runtime server-side setup is. Perhaps you're binding to a port that is reserved for other purposes.I guess i need to compile the generated cpp files and link with run-time gsoap engine -lgsoap++ (i skip this step earlier) so i am trying to run command shown below but getting error "gsoap version mismatch in genereated code versus library code ". Although i generated these files using WSDL and when i open "soapClientLib.cpp" it's showing me current version 2.8.66 (same as i installed)
Last edit: Sandeep Rathi 2018-05-30
Do you think , failed in soapbind() error due to missing of namespace , as i didn't add namespace (which is ns1=MDM_Server in my case ) in "typemap.dat". Moreover , do we need to re-compile everything once we add namespace.