Bad code generated for several Cisco Call Manager WSDL ------------------------------------------------------
Key: AXISCPP-1051 URL: https://issues.apache.org/jira/browse/AXISCPP-1051 Project: Axis-C++ Issue Type: Bug Components: Client - Stub Affects Versions: 1.6 Final Environment: Platform independent Reporter: Michael Chen I have several WSDL published by Cisco Call Manager (uses Axis for Java). When I used the pure Java utility WSDL2ws from a recent Axis-C++ (subversion tag 682953) to generate C++ client stubs, it creates bad code in the service port class. Three out of four of these WSDL can lead to similar compile errors. I have included the simplest one below. The command used to generate the C++ stub is: java -cp $jars org.apache.axis.wsdl.wsdl2ws.WSDL2Ws DimeGetFileService.wsdl Please look into it. Thanks. <?xml version="1.0" encoding="UTF-8"?> <definitions name="DimeGetFileService" targetNamespace="http://cisco.com/ccm/serviceability/soap/LogCollection/GetFile/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://cisco.com/ccm/serviceability/soap/LogCollection/GetFile/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--===================================================== XML Schemas ======================================================--> <types> <schema elementFormDefault="qualified" targetNamespace="http://cisco.com/ccm/serviceability/soap/LogCollection/GetFile/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> <simpleType name="FileName"> <restriction base="string"/> </simpleType> </schema> </types> <!--===================================================== < Message definitions <======================================================--> <!-- Messages used by RisPortType --> <!-- R1. GetOneFileInput--> <message name="GetOneFileInput"> <part name="FileName" type="tns:FileName"/> </message> <message name="GetOneFileOutput"/> <!--===================================================== < PortType definitions <======================================================--> <portType name="GetFilePortType"> <!-- R1. DIME GetOneFile--> <operation name="GetOneFile"> <input message="tns:GetOneFileInput"/> <output message="tns:GetOneFileOutput"/> </operation> </portType> <!--===================================================== < Binding definitions <======================================================--> <binding name="GetFileBinding" type="tns:GetFilePortType"> <!-- uses UTF-8 encoding --> <!-- uses rpc style --> <!-- uses http transport --> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <!-- R1. GetOneFile--> <operation name="GetOneFile"> <soap:operation soapAction="http://schemas.cisco.com/ast/soap/action/#LogCollectionPort#GetOneFile"/> <input> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.cisco.com/ast/soap/" use="encoded"/> </input> <output> <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://schemas.cisco.com/ast/soap/" use="encoded"/> </output> </operation> </binding> <!--===================================================== < Service definitions <======================================================--> <service name="DimeGetFileService"> <port binding="tns:GetFileBinding" name="GetFilePort"> <soap:address location="https://tsc-ccm1:8443/logcollectionservice/services/DimeGetFileService"/> </port> </service> </definitions> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]