Hi, I'm new to gSOAP (and really SOAP in general). I'm attempting to use it to integrate my company's application with a 3rd party web service. That 3rd party provides a WSDL that includes some interesting "features": their namespaces are all tempuri.org, they include both SOAP 1.1 and SOAP 1.2 bindings in the same WSDL, all the operations are named with underscores in them...
This leads me to several problems and questions. Firstly, is there any way I can suppress the SOAP 1.1 bindings from the generated code? I've tried adding the -2 parameter to soapcpp2, but I think that only applies when you're generating the WSDL, not vice versa. Is there any way I can remove the _USCORE (or unicode equivalent with -_) from the method names in the generated code? Other threads on this ML make me think the answer is "no", but they're old so I thought I'd ask again... What's the rationale behind making underscore special? It seems to just create trouble. All my generated proxy methods have classes defined as their input and output. I think this is because the WSDL is in document/literal format. I've tried test WSDLs in RPC style (both literal and encoded) and gSOAP generates methods that take normal C++ primitive parameters... is there any way I can force this behavior with document/literal? I'd rather not have all those extra classes cluttering up my codebase. Finally, this one is slightly unrelated to the others... I'm building the core gSOAP stuff (stdsoap2) into one of the main DLLs of my app. I think that works; the problem is when I try to compile a program that uses that DLL, it chokes on #include "stdsoap2.h" in the stub.h file. Why doesn't this obey the -I param and look where I tell it? At the very least, I'd like to be able to have it write #include <stdsoap2.h>. I really don't want to have to maintain a separate copy of stdsoap2.h in every one of my project's directories. Thank you very much for your help, Ryan
