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 "Francis ANDRE (JIRA)" <ax...@ws.apache.org> on 2005/03/09 22:15:56 UTC
[jira] Created: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
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
Reporter: Francis ANDRE
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
[jira] Commented: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Updated: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-525?page=history ]
Chinthana Danapala updated AXISCPP-525:
---------------------------------------
Attachment: changes.zip
ComplexTypeAll.wsdl
I have attached some modification to the files in zip. Which will help solve this problem and i attached the WSDL which i used.
All the diff of the files are in zip.
> 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
> Attachments: ComplexTypeAll.wsdl, WS-CAF.zip, changes.zip
>
> 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
[jira] Assigned: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-525?page=history ]
Samisa Abeysinghe reassigned AXISCPP-525:
-----------------------------------------
Assign To: Samisa Abeysinghe
> 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
[jira] Closed: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-525?page=history ]
Samisa Abeysinghe closed AXISCPP-525:
-------------------------------------
Resolution: Fixed
Fix Version: 1.5 Final
Patch applied.
> 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
> Fix For: 1.5 Final
> Attachments: ComplexTypeAll.wsdl, WS-CAF.zip, changes.zip
>
> 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
[jira] Updated: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-525?page=history ]
Samisa Abeysinghe updated AXISCPP-525:
--------------------------------------
Component: WSDL processing
(was: Server - General)
> 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
[jira] Commented: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-525?page=comments#action_61170 ]
Samisa Abeysinghe commented on AXISCPP-525:
-------------------------------------------
This attachment is far too complex to understand :-(
Is it possible to get a simpler WSDL for this, or could you please simplify the WSDL. (The WSDL in the attached zip did not work with the tool)
I could modify one of the existing WSDLs and recreate the problem. Then you may test with your project.
> 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
> Attachments: WS-CAF.zip
>
> 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
[jira] Updated: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "Francis ANDRE (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-525?page=history ]
Francis ANDRE updated AXISCPP-525:
----------------------------------
Attachment: WS-CAF.zip
Hi
This a zip file of WS-CAF WSDL specifications with the corresponding updafted and somehow fixed schemas(not all). The w2w.bat in each directory is used for the generation of the server and client side by calling wsdl2ws.jar: here is the wsdl2ws.bat not included in the zip file:
echo off
setlocal
set CP=%AXISCPP_DEPLOY%/lib/wsdl2ws.jar
set CP=%CP%;%AXISJAVA_LIB%/axis.jar
set CP=%CP%;%AXISJAVA_LIB%/wsdl4j.jar
set CP=%CP%;%AXISJAVA_LIB%/jaxrpc.jar
set CP=%CP%;%AXISJAVA_LIB%/commons-logging.jar
set CP=%CP%;%AXISJAVA_LIB%/commons-discovery.jar
set CP=%CP%;%AXISJAVA_LIB%/saaj.jar
java -cp %CP% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws %1.wsdl -o%2 -lc++ -s%3
endlocal
echo on
> 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
> Attachments: WS-CAF.zip
>
> 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
[jira] Updated: (AXISCPP-525) wsdl2ws: hypen not replaced by underscore in attribute value==>invalid compiler name
Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-525?page=history ]
John Hawkins updated AXISCPP-525:
---------------------------------
Version: 1.5 Beta
Component: Server - General
> 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: Server - General
> Versions: 1.5 Beta
> Reporter: Francis ANDRE
> 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