Defining "2009_01" in CMakeLists causes build issue with 0.9

22 views
Skip to first unread message

Claggett, Kenneth

unread,
Oct 3, 2012, 5:13:57 PM10/3/12
to ws4d-gso...@googlegroups.com

Hi, need to implement WSA 2005 (wsa5) support in a WS4D-based Device and changed “2006_02” to “2009_01” in setting DPWS_VERSION in CMakeLists.txt as follows:

 

# DPWS specification version

SET (DPWS_VERSION "2009_01" CACHE

     STRING "DPWS version: 2006_02 (default), 2009_01")

 

… but doing this elicits the following build errors:

 

**  The gSOAP code generator for C and C++, soapcpp2 release 2.7.17

**  Copyright (C) 2000-2010, Robert van Engelen, Genivia Inc.

**  All Rights Reserved. This product is provided "as is", without any warranty.

**  The soapcpp2 tool is released under one of the following three licenses:

**  GPL, the gSOAP public license, or the commercial license by Genivia Inc.

 

wsa1.h(254): syntax error

wsa1.h(253): Syntax error: declaration expected

wsa1.h(261): syntax error

wsa1.h(260): Syntax error: declaration expected

wsa1.h(262): syntax error

wsa1.h(261): Syntax error: declaration expected

wsa1.h(268): syntax error

wsa1.h(267): Syntax error: declaration expected

wsa1.h(311): syntax error

wsa1.h(310): Syntax error: declaration expected

wsa1.h(313): syntax error

wsa1.h(312): Syntax error: declaration expected

wsa1.h(319): syntax error

wsa1.h(318): Syntax error: declaration expected

 

… where wsa1.h has in line 254 (See below):

 

 

/// "http://www.w3.org/2005/08/addressing":EndpointReferenceType is a complexType.

struct wsa__EndpointReferenceType

{

/// Element Address of type wsa:AttributedURIType.

    char*                                Address                        1;    ///< Required element.

/// Element ReferenceParameters of type wsa:ReferenceParametersType.

    wsa__ReferenceParametersType*        ReferenceParameters            0;                ///< Optional element.

/// Imported element reference wsa:Metadata.

    _wsa__Metadata*                      wsa__Metadata                  0;        ///< Optional element.  ç LINE 254, FOR EXAMPLE

/// TODO: <any namespace="##other" minOccurs="0" maxOccurs="unbounded">

/// TODO: Schema extensibility is user-definable.

///       Consult the protocol documentation to change or insert declarations.

///       Use wsdl2h option -x to remove this element.

///       Use wsdl2h option -d for xsd__anyType DOM (soap_dom_element).

/// Size of the array of XML or DOM nodes is 0..unbounded

   $int                                  __size                        0;

    _XML                                *__any                         0;    ///< Catch any element content in XML string.

/// <anyAttribute namespace="##other">

/// TODO: Schema extensibility is user-definable.

///       Consult the protocol documentation to change or insert declarations.

///       Use wsdl2h option -x to remove this attribute.

///       Use wsdl2h option -d for xsd__anyAttribute DOM (soap_dom_attribute).

   @_XML                                 __anyAttribute                ;           ///< A placeholder that has no effect: please see comment.

};

 

Any help would be appreciated!

Reply all
Reply to author
Forward
0 new messages