QUSIR / staff

Automatically exported from code.google.com/p/staff
Apache License 2.0
0 stars 0 forks source link

Generate code with error due to calling operator << without specifying the namespace, "staff" #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Unzip the attached zipped file.
2. Run "staff_codegen -pwsdl -tclient_all test.wsdl" against the unzipped WSDL 
file.
3. Run "make"

What is the expected output? What do you see instead?
Expect the generated stub code will compile without any error, but instead, it 
won't.

What version of the product are you using? On what operating system?
Source code of staff-2.0.0 Alpha 1 svn revision 670
On Linux

Please provide any additional information below.
It looks like the implementation of "Test_ServiceProxy::getMarketData" tries to 
call "const std::string& operator>>(const std::string& sParam, 
::underlyingType& reEnumValue)", but failed, because the operator << is defined 
within the namespace "staff".

Original issue reported on code.google.com by kenn...@gmail.com on 6 Jun 2012 at 10:19

Attachments:

GoogleCodeExporter commented 9 years ago
Seems like your version is outdated. Client that is generated from wsdl 
attached compiles without any errors.

Please use latest version from trunk.

Original comment by loentar on 6 Jun 2012 at 12:00

GoogleCodeExporter commented 9 years ago
Sorry, didn't read you description fully.

This problem occurs when using enum-typed attributes in requests (rare case).

Original comment by loentar on 6 Jun 2012 at 7:43

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r680.

Original comment by loentar on 6 Jun 2012 at 7:44