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/03/16 13:44:24 UTC

[jira] Commented: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name

     [ http://issues.apache.org/jira/browse/AXISCPP-525?page=comments#action_60965 ]
     
Samisa Abeysinghe commented on AXISCPP-525:
-------------------------------------------

If possible, please attach a test WSDL here

> wsdl2ws: hypen  not replaced  by underscore in attribute value==>invalid compiler name
> --------------------------------------------------------------------------------------
>
>          Key: AXISCPP-525
>          URL: http://issues.apache.org/jira/browse/AXISCPP-525
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.5 Beta
>     Reporter: Francis ANDRE
>     Assignee: Samisa Abeysinghe
>     Priority: Critical

>
> Hi
> the following type:
> 	<xs:complexType name="QualifierType">
> 		<xs:sequence>
> 			<xs:element name="qualifier-name" type="xs:string"/>
> 			<xs:any namespace="##any" processContents="lax" minOccurs="0"/>
> 		</xs:sequence>
> 	</xs:complexType>
> generates for a server side, the class
> /*
>  * This file was auto-generated by the Axis C++ Web Service Generator (WSDL2Ws)
>  * This file contains functions to manipulate complex type QualifierType
>  */
> #if !defined(__QUALIFIERTYPE_PARAM_H__INCLUDED_)
> #define __QUALIFIERTYPE_PARAM_H__INCLUDED_
> #include <axis/AxisUserAPI.hpp>
> AXIS_CPP_NAMESPACE_USE 
> /*Local name and the URI for the type*/
> static const char* Axis_URI_QualifierType = "http://www.webservicestransactions.org/schemas/wstxn/2003/03";
> static const char* Axis_TypeName_QualifierType = "QualifierType";
> class STORAGE_CLASS_INFO QualifierType
> {
> public:
> 	xsd__string qualifier-name;
> 	AnyType* any;
> 	QualifierType();
> 	~QualifierType();
> };
> #endif /* !defined(__QUALIFIERTYPE_PARAM_H__INCLUDED_)*/
> which does not compile due to the class member: qualifier-name
> Regards
> FA

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