You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Manohar (JIRA)" <ax...@ws.apache.org> on 2005/11/16 13:57:28 UTC

[jira] Created: (AXISCPP-871) Compile problems in the WSDL2Ws generated code when an element in xsd:all defined as nillable='true"

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


[jira] Closed: (AXISCPP-871) Compile problems in the WSDL2Ws generated code when an element in xsd:all defined as nillable='true"

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ 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