title: gSOAP server with multiple wsdl from ONVIF specifications
body: <p>I'm trying to create a web service in C++ using gSOAP.
  I generated a couple of headers from ONVIF wsdl:</p>
  
  <pre><code>wsdl2h -x -o dm.h http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl -tC:\gsoap-2.8\gsoap\typemap.dat
  wsdl2h -x -o an.h http://www.onvif.org/onvif/ver20/analytics/wsdl/analytics.wsdl -tC:\gsoap-2.8\gsoap\typemap.dat
  </code></pre>
  
  <p>After that I compiled the headers generating C++ service proxies and objects:</p>
  
  <pre><code>soapcpp2.exe -j -S dm.h -IC:\gsoap-2.8\gsoap\import;C:\gsoap-2.8\gsoap -x -qDm
  soapcpp2.exe -j -S an.h -IC:\gsoap-2.8\gsoap\import;C:\gsoap-2.8\gsoap -x -qAn
  </code></pre>
  
  <p>in order to obtain an application similar to the one described by gSOAP documentation: <a href="http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc7.2.8" rel="nofollow">http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc7.2.8</a></p>
  
  <p>Compiling in Visual Studio, i get the following errors:</p>
  
  <pre><code>error C3861: 'soap_in_PointerToSOAP_ENV__Fault': identifier not found
  error C3861: 'soap_in_PointerToSOAP_ENV__Header': identifier not found
  error C3861: 'soap_out_PointerToSOAP_ENV__Fault': identifier not found
  error C3861: 'soap_out_PointerToSOAP_ENV__Header': identifier not found
  </code></pre>
  
  <p>I tried to follow what the documentation says (<a href="http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc19.35" rel="nofollow">http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc19.35</a>) about the serializers not being compiled at all because of the definition WITH_NOGLOBAL and compiled an empty env.h file, but that didn't solve the problem.</p>
  
  <p>I searched the web but I can't find any solution. The problem seems related not to the Header and Fault themselves but the the pointers. Right?
  What should I do?</p>