axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nit...@opensource.lk
Subject Re: Error trying to compile wsdl file
Date Fri, 11 Jun 2004 04:12:21 GMT

Hi,

 Do placed the path of wsdl2ws.jar file pointing to the CLASSPATH
 in the first place in .bash_profile and try again.

 For example as:

    AXIS_JARS="$AXIS_JARS_HOME/wsdl4j.jar:$AXIS_JARS_HOME/axis-ant.jar:$AXIS_JARS_HOME/axis.jar:$AXIS_JARS_HOME/commons-discovery.jar:$AXIS_JARS_HOME/commons-logging.jar:$AXIS_JARS_HOME/jaxrpc.jar:$AXIS_JARS_HOME/log4j-1.2.4.jar:$AXIS_JARS_HOME/saaj.jar:$AXIS_JARS_HOME/wsdl4j.jar"

CLASSPATH="$CLASSPATH:./$AXIS_JARS:$JAVA_HOME/lib:/home/nithya/projects/axis-1_1RC1/lib/axis.jar"


  Futher if you send me a link of the NADSSoapService.wsdl or mail me
  I can try to generate skeletons and stubs.


rgds,
Nithya.






> Hi,
>
> I'm using the current binary distribution of axis-c running on RedHat
> 8.0, with the wsdl2ws.jar file generated from the current source
> distribution (didn't appear to exist in the binary). It appears to
> compile the sample wsdl's OK but not the wsdl for the service we need to
> access. The error follows, but I haven't included the wsdl file at this
> stage because its reasonably large (over 27K).
>
> Any help would be much appreciated.
>
> Thanks
> Graeme.
>
>
> $ java org.apache.axis.wsdl.wsdl2ws.WSDL2Ws NADSSoapService.wsdl -lc++
> -sclient
> args =
> args =
> 1
> ############## the type found ={urn:NADS}ContactBean
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.axis.wsdl.symbolTable.ElementDecl.getMinOccrs()I
> 	at
> org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createTypeInfo(WSDL2Ws.java:565)
> 	at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getTypeInfo(WSDL2Ws.java:349)
> 	at
> org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.genarateWrappers(WSDL2Ws.java:374)
> 	at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:645)
>
>
> ________________________________________________________________
> Graeme Bell       graemeb@econz.co.nz    DDI: +64 9 361 1935
> Electronic Company Of New Zealand Ltd    http://www.econz.co.nz
>
>
>
>


Mime
View raw message