[ http://issues.apache.org/jira/browse/AXISCPP-460?page=history ]
Andrew Perry updated AXISCPP-460:
---------------------------------
Summary: WSDL2Ws creates code which does NOT compile (was: WSDL2Ws
creates code which does compile)
Description:
WSDL2Ws creates code which does NOT compile when attributes are used.
I am creating a new test WSDL which has an element for each of the supported
XSD data type which stored the data as an attribute. This will test all the
serialize and deserialize as attribute APIs.
When WSDL2Ws generates the client stub for this WSDL the generated code fails
to compile.
----- CC output snippet -----
[cc]
/home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/DateTimeType.cpp:23:
no
[cc] match for `int != axiscpp::xsd__dateTime&' operator
[cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
[cc]
/home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/DateType.cpp:23: no
[cc] match for `int != axiscpp::xsd__date&' operator
[cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
[cc]
/home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/TimeType.cpp:23: no
[cc] match for `int != axiscpp::xsd__time&' operator
[cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
------------------------------
was:
WSDL2Ws creates code which does compile when attributes are used.
I am creating a new test WSDL which has an element for each of the supported
XSD data type which stored the data as an attribute. This will test all the
serialize and deserialize as attribute APIs.
When WSDL2Ws generates the client stub for this WSDL the generated code fails
to compile.
----- CC output snippet -----
[cc]
/home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/DateTimeType.cpp:23:
no
[cc] match for `int != axiscpp::xsd__dateTime&' operator
[cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
[cc]
/home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/DateType.cpp:23: no
[cc] match for `int != axiscpp::xsd__date&' operator
[cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
[cc]
/home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/TimeType.cpp:23: no
[cc] match for `int != axiscpp::xsd__time&' operator
[cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
------------------------------
> WSDL2Ws creates code which does NOT compile
> -------------------------------------------
>
> Key: AXISCPP-460
> URL: http://issues.apache.org/jira/browse/AXISCPP-460
> Project: Axis-C++
> Type: Bug
> Environment: Linux
> Reporter: Andrew Perry
>
> WSDL2Ws creates code which does NOT compile when attributes are used.
> I am creating a new test WSDL which has an element for each of the supported
> XSD data type which stored the data as an attribute. This will test all the
> serialize and deserialize as attribute APIs.
> When WSDL2Ws generates the client stub for this WSDL the generated code fails
> to compile.
> ----- CC output snippet -----
> [cc]
> /home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/DateTimeType.cpp:23:
> no
> [cc] match for `int != axiscpp::xsd__dateTime&' operator
> [cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
> [cc]
> /home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/DateType.cpp:23: no
> [cc] match for `int != axiscpp::xsd__date&' operator
> [cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
> [cc]
> /home/andyp/cwssBuild/obj/test/generated/cpp/XSDAttribute/TimeType.cpp:23: no
> [cc] match for `int != axiscpp::xsd__time&' operator
> [cc] /usr/include/c++/3.2.3/bits/stl_list.h: At top level:
> ------------------------------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira