axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Closed: (AXISCPP-871) Compile problems in the WSDL2Ws generated code when an element in xsd:all defined as nillable='true"
Date Wed, 03 Jan 2007 05:01:27 GMT

     [ 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message