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 "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org> on 2005/07/04 13:20:10 UTC

[jira] Commented: (AXISCPP-681) STL used in generated stubs

    [ http://issues.apache.org/jira/browse/AXISCPP-681?page=comments#action_12315000 ] 

Samisa Abeysinghe commented on AXISCPP-681:
-------------------------------------------

We have the following STL uses in the external header files (include/axis headers)
Do we have to drop them all?

include/axis/AxisException.hpp:#include <stdexcept>
include/axis/AxisException.hpp:using namespace std;
include/axis/BasicNode.hpp:    std::list<AxisChar*>& lstTmpNameSpaceStack) =0;
include/axis/client/Stub.hpp:using namespace std;
include/axis/GDefine.hpp:#define AxisString std::basic_string<char>
include/axis/GDefine.hpp:#define AxisXMLString std::basic_string<AxisXMLCh>
include/axis/ISoapFault.hpp:using namespace std;
include/axis/TypeMapping.hpp:using namespace std;
include/axis/TypeMapping.hpp:   static std::map<std::string, XSDTYPE> m_sTypeMap;
include/axis/TypeMapping.hpp:   static std::map<const std::string, XSDTYPE> m_sTypeMap;


> STL used in generated stubs
> ---------------------------
>
>          Key: AXISCPP-681
>          URL: http://issues.apache.org/jira/browse/AXISCPP-681
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - Doc
>     Reporter: Mark Whitlock

>
> STL is used in generated stubs in the following line in ClientStubHeaderWriter.java...
> writer.write("\tstd::string sArguments[8];\n");
> STL should be completely removed from all external interfaces. There may be other uses of STL elsewhere in the external API.

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