On Thu, Jan 05, 2006 at 04:23:43PM -0800, Rob Browning wrote:
> Are the import headers like stlvector.h obsolete, or should they just
> be added to the gsoap package?
> 
> The bits of the current gsoap documentation I've seen still refer to
> their use.  For example:
> 
>   http://www.cs.fsu.edu/~engelen/soapdoc2.html#tth_sEc11.10.8

It seems that stlvector.h is still needed. wsdl2h with -s flag builds 
header file with pure C syntax, without std::string and other C++ stuff.
Using wsdl2h without -s leads to C++ header which fail to compile with
soapcpp2. 

There are some workarounds to force compilation but they need
header alteration. For example, if there are no vectors in wsdl 
(no minOccurs and maxOccurs) this rule in Makefile is working

%.h: %.wsdl
        wsdl2h -o $@ $<
# Next string ommits stlvector import
        sed -i 's,#import "stlvector.h",//&,' $@

This refers to current debian package (2.7.6d-1) and to one on which I
reported perviosly.

So in my harble opinion best way is to include stlvector.h in package
                                        Pavel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to