axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Thadani" <michael.thad...@rlmgroup.com.au>
Subject Problem running WSDL2Ws Tool
Date Tue, 31 Jan 2006 00:23:39 GMT
I recently deployed an axis java on my server and was wishing to develop
a c++ client to consume the webservice on it.

 

However, I have stumbled into a wall with the wsdl2ws tool - it doesn't
seem to run :-(

 

The exception I am encountering is:

 

java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws SimpleWebService.wsdl -lc++
-sclient

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.axis.wsdl.symbolTable.BindingEntry.getBindingStyle()Lorg/apac
he/axis/enum/Style;

        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 had a look through the archive of old posts but I couldn't find a case
where it had been successfully resolved.

 

I read in the user guide to ensure wsdl 2ws.jar was ahead of axis.jar
and have done so but still encounter the issue. 

 

I have included the contents of my current $CLASSPATH

 

/home/mthadani/axisc-1.5.0-linux/lib/axis/wsdl2ws.jar:/home/mthadani/axi
s-1_3/lib/commons-discovery-0.2.jar:/home/mthadani/axis-1_3/lib/commons-
logging-1.0.4.jar:/home/mthadani/axis-1_3/lib/jaxrpc.jar:/home/mthadani/
axis-1_3/lib/saaj.jar:/home/mthadani/axis-1_3/lib/log4j-1.2.8.jar:/home/
mthadani/axis-1_3/lib/xml-apis.jar:/home/mthadani/axis-1_3/lib/mail.jar:
/home/mthadani/axis-1_3/lib/axis-schema.jar:/home/mthadani/axis-1_3/lib/
wsdl4j-1.5.1.jar:/home/mthadani/axis-1_3/lib/axis-ant.jar:/home/mthadani
/axis-1_3/lib/axis.jar:/home/mthadani/axis-1_3:/home/mthadani/jetty-5.1.
10/lib/org.mortbay.jetty.jar:/home/mthadani/jetty-5.1.10/lib/javax.servl
et.jar:/home/mthadani/jetty-5.1.10/ext/jasper-runtime.jar:/home/mthadani
/jetty-5.1.10/ext/jasper-compiler.jar:/home/mthadani/jetty-5.1.10/ext/xe
rcesImpl.jar:/home/mthadani/jetty-5.1.10/ext/ant.jar:/home/mthadani/jett
y-5.1.10/ext/commons-el.jar:/home/mthadani/jetty-5.1.10/ext/activation.j
ar:/home/mthadani/jetty-5.1.10/mx4j.jar:/home/mthadani/jetty-5.1.10/mx4j
-tools.jar:/usr/java/j2sdk1.4.2_09/lib/tools.jar:.

 

Any assistance would be most welcome

 

Michael


Mime
View raw message