I'm trying to use WSDL2ws to create C++ stubs for a web service. I have
the classpath configured as described in the user guide, however when I run
WSDL2ws on my WSDL file I get the following error:
Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.axis.wsdl.wsdl2ws.info.Type.<init>(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.info.TypeMap.getType(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createParameterInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addRPCStyleInputMessageToMethodInfo (Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers (Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
I downloaded the C++ version of Axis (axis-c-win32-current-bin.zip) from
http://www.apache.org/dist/ws/axis-c/.
The WSDL file I am using is being generated by Axis 1.3. I did see some
mention of possible discrepencies between Axis for C and Axis 1.3 in
the mail archives, so could this be related to my problem?
I've tried searching through the mail archives for more information but did not come across any solutions specific to what I'm seeing.
Any help would be greatly appreciated!
--- Chris
at org.apache.axis.wsdl.wsdl2ws.info.Type.<init>(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.info.TypeMap.getType(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createParameterInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addRPCStyleInputMessageToMethodInfo (Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers (Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
I downloaded the C++ version of Axis (axis-c-win32-current-bin.zip) from
http://www.apache.org/dist/ws/axis-c/.
The WSDL file I am using is being generated by Axis 1.3. I did see some
mention of possible discrepencies between Axis for C and Axis 1.3 in
the mail archives, so could this be related to my problem?
I've tried searching through the mail archives for more information but did not come across any solutions specific to what I'm seeing.
Any help would be greatly appreciated!
--- Chris
