axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: Exception when I use WSDL2Ws whith axis-1_2RC3's jar lib
Date Fri, 20 May 2005 08:52:39 GMT
OK my guess was correct. I recompiled WSDL2Ws tool with Axis Java 1.2
final Jars on my path and this problem went away.

As the 1.5 binary is compiled with 1.2RC1 jars, it wont work as it is
with RC3 or final Axis java 1.2 jars (Strange :(   )

Thanks,
Samisa...

On 5/20/05, Samisa Abeysinghe <samisa.abeysinghe@gmail.com> wrote:
> Looking into this a bit more I see no API changes related to the class
> mentioned in the exception (BindingEntry).
> 
> One other option is to compile WSDL2Ws with Axis Java 1.2 final jars
> (this does not make sense, does it? It should work with the compiled
> Jars)
> 
> Thanks,
> Samisa...
> 
> On 5/20/05, Samisa Abeysinghe <samisa.abeysinghe@gmail.com> wrote:
> > I tested with Axis Java 2 and I got the same exception.
> > Looks to me that the WADL tool API of Axis Java has changed since RC1.
> >
> > For the moment, the best is to use RC1 of Axis Java till this issue is fixed.
> >
> > Thanks,
> > Samisa...
> >
> > On 5/20/05, Samisa Abeysinghe <samisa.abeysinghe@gmail.com> wrote:
> > > I am using axis-1_2RC1 jars and see no problems.
> > >
> > > Will check with Axis java 1.2 Jars and see if something wrong.
> > >
> > > Samisa...
> > >
> > > On 5/20/05, huagang <huagang@aero-info.com.cn> wrote:
> > > > C:\axis-1_2RC3\lib
> > > >
> > > > 2005-05-20  10:16       <DIR>          .
> > > > 2005-05-20  10:16       <DIR>          ..
> > > > 2005-02-28  22:39               32,489 axis-ant.jar
> > > > 2005-02-28  22:39            1,573,104 axis.jar
> > > > -----------------------------------------------------------------
> > > > 2005-02-28  22:39               74,527 commons-discovery.jar
> > > > 2005-02-28  22:39               31,605 commons-logging.jar
> > > > 2005-02-28  22:39               32,071 jaxrpc.jar
> > > > 2005-05-20  10:16                    0 list.txt
> > > > 2005-02-28  22:39              352,668 log4j-1.2.8.jar
> > > > 2005-02-28  22:39                  941 log4j.properties
> > > > 2005-02-28  22:39               19,427 saaj.jar
> > > > 2005-02-28  22:39              161,701 wsdl4j.jar
> > > > 2004-02-28  16:17              949,628 xercesImpl.jar
> > > >
> > > > C:\axis-c-1-5-win32\lib\axisjava
> > > >
> > > > 2005-05-20  10:17       <DIR>          .
> > > > 2005-05-20  10:17       <DIR>          ..
> > > > 2005-04-09  14:58              387,862 axis-ant.jar
> > > > 2005-04-09  14:58            1,463,580 axis.jar
> > > > -------------------------------------------------------------------
> > > > 2005-04-09  14:58               74,527 commons-discovery.jar
> > > > 2005-04-09  14:58               31,605 commons-logging.jar
> > > > 2005-04-09  14:58               35,037 jaxrpc.jar
> > > > 2005-05-20  10:17                    0 list.txt
> > > > 2005-04-09  14:58              352,668 log4j-1.2.8.jar
> > > > 2005-04-09  14:58                   63 Readme.txt
> > > > 2005-04-09  14:58               18,978 saaj.jar
> > > > 2005-04-09  14:58              119,781 wsdl4j.jar
> > > > 2005-04-09  14:58              123,705 xml-apis.jar
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > ╭︿︿︿╮  huagang
> > > > {/-◎◎-\}  huagang@aero-info.com.cn
> > > >  ( (oo) )   2005-05-20
> > > >     ︶
> > > > 62125151-6226
> > > >
> > > > 才智,德之资也;德者,才之师也
> > > >
> > > > ======= 2005-05-20 10:04:55 您在来信中写道:=======
> > > >
> > > > >When I use WSDL2Ws whith axis-1_2RC3's jar lib, some exception occur
> > > > >
> > > > >C:\axis\WSDL2Ws>java -cp %AXISCLASSPATH% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
Calculator.wsdl -o./ServerOut -lc++ -sserver
> > > > >log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
> > > > >log4j:WARN Please initialize the log4j system properly.
> > > > >Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.symbolTable.BindingEntr
> > > > >y.getBindingStyle()Lorg/apache/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)
> > > > >
> > > > >When I use WSDL2Ws whith axis-c-1-5-win32's jar lib, all ok.
> > > > >
> > > > >C:\axis-c-1-5-win32\WSDL2Ws>java -cp %AXISCLASSPATH_C% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws
Calculator.wsdl -o./ServerOut -lc++ -sserver
> > > > >log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle).
> > > > >log4j:WARN Please initialize the log4j system properly.
> > > > >
> > > > >Code generation completed.
> > > > >
> > > > >
> > > > >
> > > > >╭︿︿︿╮  huagang
> > > > >{/-◎◎-\}  huagang@aero-info.com.cn
> > > > > ( (oo) )   2005-05-20
> > > > >    ︶
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >AEROSPACE INFORMATION CO., LTD.
> > > > > virus-free and secure email
> > > > >
> > > > >
> > > > >
> > > > >AEROSPACE INFORMATION CO., LTD.
> > > > > virus-free and secure email
> > > >
> > > > = = = = = = = = = = = = = = = = = = = =
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > AEROSPACE INFORMATION CO., LTD.
> > > >  virus-free and secure email
> > > >
> > >
> >
>
Mime
View raw message