Compile problems in the WSDL2Ws generated code when an element in xsd:all
defined as nillable='true"
----------------------------------------------------------------------------------------------------
Key: AXISCPP-871
URL: http://issues.apache.org/jira/browse/AXISCPP-871
Project: Axis-C++
Type: Bug
Reporter: Manohar
I am trying to test xsd:all schema component and as part of that created a
wsdl and test client. When I run the test client, the code genrated by WSDL2Ws
has compile problems. Below is the error reported when I try to run the test
client.
[cc]
C:\AXISCPP\TEST\test_P\obj\test\generated\cpp\ComplexTypeNillableAll\aRecord.cpp(80)
: error C2440: '=' : cannot convert from 'axiscpp::xsd__int *' to
'axiscpp::xsd__int ** '
[cc] Types pointed to are unrelated; conversion requires reinterpret_cast,
C-style cast or function-style cast
[cc]
C:\AXISCPP\TEST\test_P\obj\test\generated\cpp\ComplexTypeNillableAll\aRecord.cpp(81)
: error C2440: '=' : cannot convert from 'axiscpp::xsd__int' to
'axiscpp::xsd__int *'
[cc] Conversion from integral type to pointer type requires
reinterpret_cast, C-style cast or function-style cast
FYI - Similar problem was reported for xsd:choice in AXISCP-844.
I've included a test by name ComplexTypeNillableAll to address this problem.
Regards
Manohar
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira