[
https://issues.apache.org/jira/browse/AXISCPP-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nadir amra closed AXISCPP-871.
------------------------------
Resolution: Fixed
Fix Version/s: current (nightly)
Revamped code so now things are simpler than it was before.
> Compile problems in the WSDL2Ws generated code when an element in xsd:all
> defined as nillable='true"
> ----------------------------------------------------------------------------------------------------
>
> Key: AXISCPP-871
> URL: https://issues.apache.org/jira/browse/AXISCPP-871
> Project: Axis-C++
> Issue Type: Bug
> Reporter: Manohar
> Fix For: current (nightly)
>
>
> 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:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]