[cisco-voip] Generating SOAP code of AXL API in CM 4.1(2)

Indrajit Chakrabarty Indrajit.Chakrabarty at ir.com
Tue Jun 7 22:11:02 EDT 2005


 
Hi,
 
Has anyone tried using gSOAP: WSDL2h/soapcpp2 to generate SOAP code from
AXLAPI.wsdl for Cisco CallManager version 4.1(2)? 
 
I get the following result using WSDL2h on AXLAPI of Cisco CallManager
v4.1(2) - 
 
************************************************************************
**********************
D:\Work\Cisco CallManager 4.1(2)\ccm412_axl>wsdl2h -s -e AXLAPI.wsdl
 
**  The gSOAP WSDL parser for C and C++ 1.2.1
**  Copyright (C) 2000-2005 Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided "as is", without any
warranty.
**  The gSOAP WSDL parser is released under one of the following two
licenses:
**  GPL or the commercial license by Genivia Inc. Use option -l for more
info.
 
Saving AXLAPI.h
 
Reading file 'AXLAPI.wsdl'
Reading file 'axlsoap.xsd'
Reading schema file 'axlmessage.xsd'
Reading schema file 'axl.xsd'
Reading schema file 'AXLEnums.xsd'
Reading schema file 'axl.xsd'
Reading schema file 'AXLEnums.xsd'
Warning: no part parameters element
"http://www.cisco.com/AXL/API/1.0":getHuntList
<http://www.cisco.com/AXL/API/1.0":getHuntList>  in WSDL definitions
namespace http://www.cisco.com/AXLAPIService/
<http://www.cisco.com/AXLAPIService/> 
Cannot open file 'typemap.dat'
Problem reading type map file typemap.dat.
Using internal type definitions for C++ instead.
 
To complete the process, compile with:
soapcpp2 AXLAPI.h
************************************************************************
**********************
 
Afterwards, when I run soapcpp2, I get the following - 
 
************************************************************************
**********************
D:\Work\Cisco CallManager 4.1(2)\ccm412_axl>soapcpp2 AXLAPI.h
 
**  The gSOAP Stub and Skeleton Compiler for C and C++ 2.7.2
**  Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided "as is", without any
warranty.
**  The gSOAP compiler is released under one of the following three
licenses:
**  GPL, the gSOAP public license, or the commercial license by Genivia
Inc.
 

AXLAPI.h(1461): **ERROR**: Duplicate declaration of
Base_x0020IP_x0020Address_x0020and_x0020Port_x0020must_x0020be_x0020set_
x0020in_x0020tandem (line 1460)

AXLAPI.h(1523): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020fixed_x0020feature_x0020button (line 1522)
 
AXLAPI.h(1524): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020fixed_x0020feature_x0020button (line 1522)

AXLAPI.h(1525): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020fixed_x0020feature_x0020button (line 1522)

AXLAPI.h(1526): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020fixed_x0020feature_x0020button (line 1522)

AXLAPI.h(1537): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020system_x0020SRST_x0020records_x003b_x0020update_
x0020new_x0020and_x0020legacy_x0020records_x0020only (line 1536)

AXLAPI.h(1538): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020system_x0020SRST_x0020records_x003b_x0020update_
x0020new_x0020and_x0020legacy_x0020records_x0020only (line 1536)
 
AXLAPI.h(1539): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020system_x0020SRST_x0020records_x003b_x0020update_
x0020new_x0020and_x0020legacy_x0020records_x0020only (line 1536)

AXLAPI.h(1540): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020system_x0020SRST_x0020records_x003b_x0020update_
x0020new_x0020and_x0020legacy_x0020records_x0020only (line 1536)

AXLAPI.h(1541): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020system_x0020SRST_x0020records_x003b_x0020update_
x0020new_x0020and_x0020legacy_x0020records_x0020only (line 1536)

AXLAPI.h(1542): **ERROR**: Duplicate declaration of
Cannot_x0020change_x0020system_x0020SRST_x0020records_x003b_x0020update_
x0020new_x0020and_x0020legacy_x0020records_x0020only (line 1536)
 
Critical error: too many semantic errors, bailing out
************************************************************************
**********************
 
Any thoughts? Is a manual modification needed on the WSDL file? Is there
a recommended WSDL compiler?
 
Thanks,
Indy
 
 

_____________________________________________________________________ 

This email is intended only for the use of the individual or entity named above and may contain information that is confidential and/or privileged. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this Email is strictly prohibited. If you have received this Email in error, please notify us immediately by return email or telephone +61 2 9966 1066 and destroy the original message. Thank You
_______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20050607/1dc948f5/attachment-0001.html


More information about the cisco-voip mailing list