Complex array member of object generated client stubs with compilation errors
-----------------------------------------------------------------------------
Key: AXISCPP-431
URL: http://issues.apache.org/jira/browse/AXISCPP-431
Project: Axis-C++
Type: Bug
Components: WSDL processing
Versions: 1.5 Alpha
Reporter: Tim Bartley
Attachments: Complex2.wsdl
The attached WSDL generates client stubs that do not compile.
The generated ComplexResult.cpp generates the following compile errors:
ComplexResult.cpp: In function `int
Axis_Serialize_ComplexResult(ComplexResult*,
axiscpp::IWrapperSoapSerializer*, bool)':
ComplexResult.cpp:38: error: invalid use of `class Complex'
ComplexResult.cpp:40: error: invalid use of `class Complex'
ComplexResult.cpp:47: error: invalid use of `class Complex'
ComplexResult.cpp: In function `int
Axis_DeSerialize_ComplexResult(ComplexResult*,
axiscpp::IWrapperSoapDeSerializer*)':
ComplexResult.cpp:75: error: invalid use of `class Complex'
ComplexResult.cpp:77: error: invalid use of `class Complex'
ComplexResult.cpp:79: error: invalid use of `class Complex'
ComplexResult.cpp:82: error: invalid use of `class Complex'
The generated code is referring to "Complex" instead of "Complex_Ref".
The workaround is simply to change occurrences of "Complex." to "Complex_Ref."
--
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