You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ji...@apache.org on 2004/06/04 00:09:53 UTC

[jira] Commented: (AXISCPP-62) NoSuchMethodError in WSDL2Ws

The following comment has been added to this issue:

     Author: Paul Lewis
    Created: Thu, 3 Jun 2004 3:09 PM
       Body:
I also ran into this, I found out if you put wsdl2ws.jar at the beginning of the classpath, you work around this.  For example:
java -classpath .\wsdl2ws.jar;%CLASSPATH% org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -o./ClientOut -lc++ -sclient

This probably means there is another (out of date) ElementDecl class somewhere in the axis jars, which is a scary thought.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-62?page=comments#action_35897

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-62

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-62
    Summary: NoSuchMethodError in WSDL2Ws
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             WSDL processing
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Hans Dieter Reimann

    Created: Tue, 27 Apr 2004 1:39 AM
    Updated: Thu, 3 Jun 2004 3:09 PM
Environment: AXIS C++ 1.1, Win 2000, JDK 1.4, MS VC6

Description:
Q:\DynSchnittstelle\KSKClients\axis\lib\axis\clients>java -classpath Q:\DynSchni
ttstelle\KSKClients\axis\lib\axisjava\axis.jar;Q:\DynSchnittstelle\KSKClients\ax
is\lib\axisjava\commons-discovery.jar;Q:\DynSchnittstelle\KSKClients\axis\lib\ax
isjava\commons-logging.jar;Q:\DynSchnittstelle\KSKClients\axis\lib\axisjava\jaxr
pc.jar;Q:\DynSchnittstelle\KSKClients\axis\lib\axisjava\saaj.jar;Q:\DynSchnittst
elle\KSKClients\axis\lib\axisjava\wsdl4j.jar;Q:\DynSchnittstelle\KSKClients\axis
\lib\axisjava\xml-apis.jar;.\wsdl2ws.jar org.apache.axis.wsdl.wsdl2ws.WSDL2Ws LO
GIN-ws.wsdl -o./ClientLOGIN -lc++ -sclient
args =
args =
args =
1
############## the type found ={http://www.sparkasseninformatik.de/dyns/ws}DynSM
eldungen
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis.wsdl.sym
bolTable.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:37
4)
        at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(WSDL2Ws.java:645)

Regards and Thanks.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira