Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
WSDL2Ws produces generated stubs that cannot be compiled when WSDL contains types whose names match c/c++ types.
eg:
<complexType name="list">
<sequence>
<element maxOccurs="unbounded" name="item" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
There are several potential fixes to this, including the rejection of c/c++ type, but I suggest the following would probably be the best fix:
Prefix all use user types with "::", eg:
::myReturnType* myPortType::myOperation(::myInput* Value0)
{
::myReturnType* pReturn = NULL;
...
if(AXIS_SUCCESS == m_pCall->checkMessage("myOperationResponse", "urn:amwebars"))
...
}
Attachments
Issue Links
- relates to
-
AXISCPP-882 Use C++ namespaces to prevent symbol collisions
- Open