axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Perry (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-520) WSDL2Ws does not create a compilable stub for a Document Literal WSDL with arrays of simple data types
Date Tue, 08 Mar 2005 17:02:54 GMT
WSDL2Ws does not create a compilable stub for a Document Literal WSDL with arrays of simple
data types
------------------------------------------------------------------------------------------------------

         Key: AXISCPP-520
         URL: http://issues.apache.org/jira/browse/AXISCPP-520
     Project: Axis-C++
        Type: Bug
  Components: WSDL processing  
    Reporter: Andrew Perry


WSDL2Ws does not create a compilable stub for a Document Literal WSDL with arrays of simple
data types.
I have created a simple WSDL which works correctly for a Java client using stubs generated
by WSDL2Java, but when WSDL2Ws is run against it the generated code fails to compile.

The stub hpp file is correct, but the corresponding cpp file has the wrong signitures for
the operations.

-------- hpp snippet ----------
    STORAGE_CLASS_INFO xsd__short_Array echoShortArray(xsd__short_Array Value0);
    STORAGE_CLASS_INFO xsd__int_Array echoIntArray(xsd__int_Array Value0);
    STORAGE_CLASS_INFO xsd__long_Array echoLongArray(xsd__long_Array Value0);
    STORAGE_CLASS_INFO xsd__float_Array echoFloatArray(xsd__float_Array Value0);
-------------------------------

-------- cpp snippet ----------
xsd__short SimpleArrays::echoShortArray(xsd__short Value0)
xsd__int SimpleArrays::echoIntArray(xsd__int Value0)
xsd__long SimpleArrays::echoLongArray(xsd__long Value0)
xsd__float SimpleArrays::echoFloatArray(xsd__float Value0)
-------------------------------

As can be seen the cpp is generated with the basic data type and not the Array of the basic
data type.

The WSDL SimpleArrays.wsdl and the test Client are in CVS in the ws-axis/c/tests/auto_build/testcases
directory structure.

-- 
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


Mime
View raw message