On 16.12.2008, at 21:51, McCullough, Ryan wrote:

I would checkout the latest source from the subversion repository and try again. The distribution that is posted on the Axis C++ site is very very old, buggy, and should really be updated to a newer version from source control.

Ok, I'll try to checkout and compile sources from subversion repository.
Will write when done.

Btw, sources from Axis C++ site can't be compiled due to absence of many Makefile.am files in directories specified in SUBDIRS.



-Ryan

-----Original Message-----
From: virtan [mailto:[email protected]]
Sent: Tuesday, December 16, 2008 11:46 AM
To: [email protected]
Subject: can't create c++ client

Hi, all.

Nobody answered me. Trying to ask once again...

I tried to create C++ client from valid wsdl file (attached).
Got "referenced but not defined" error.
Sure, it is wrong. All referenced elements properly defined. No problem reported using other wsdl parsers.

Can you help me ?

Details:
Using precompiled linux binaries from 
http://www.apache.org/dist/ws/axis-c/axis-c-linux-current-bin.tar.gz
[vir...@jail ~/tmp/ptt] java -version
java version "1.6.0_0"
IcedTea6 1.4 (fedora-7.b12.fc10-i386) Runtime Environment (build
1.6.0_0-b12)
OpenJDK Client VM (build 10.0-b19, mixed mode) [vir...@jail ~/tmp/ ptt] bash -x ./axis.sh
+ AXISINSTALLDIR=/home/virtan/tmp
+ CLASSPATH=/home/virtan/tmp/lib/axis/wsdl2ws.jar:/home/virtan/tmp/ lib/ axisjava/axis.jar:/home/virtan/tmp/lib/axisjava/commons- discovery.jar:/
home/virtan/tmp/lib/axisjava/commons-logging.jar:/home/virtan/tmp/lib/
axisjava/jaxrpc.jar:/home/virtan/tmp/lib/axisjava/saaj.jar:/home/
virtan/tmp/lib/axisjava/wsdl4j.jar
+ java -cp /home/virtan/tmp/lib/axis/wsdl2ws.jar:/home/virtan/tmp/lib/
axisjava/axis.jar:/home/virtan/tmp/lib/axisjava/commons- discovery.jar:/
home/virtan/tmp/lib/axisjava/commons-logging.jar:/home/virtan/tmp/lib/
axisjava/jaxrpc.jar:/home/virtan/tmp/lib/axisjava/saaj.jar:/home/
virtan/tmp/lib/axisjava/wsdl4j.jar
org.apache.axis.wsdl.wsdl2ws.WSDL2Ws ptt.wsdl -lc -v -sclient
java.io.IOException: Element ContractorCheckListBySpecialtyRequest is referenced but not defined.
      at
org
.apache
.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:
657)
      at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
      at
org .apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:
506)
      at
org .apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:
483)
      at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:
356)
      at java.lang.Thread.run(Thread.java:636)
org.apache.axis.wsdl.wsdl2ws.WrapperFault: java.io.IOException:
Element ContractorCheckListBySpecialtyRequest is referenced but not defined.
      at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source) Caused by: java.io.IOException: Element ContractorCheckListBySpecialtyRequest is referenced but not defined.
      at
org
.apache
.axis.wsdl.symbolTable.SymbolTable.checkForUndefined(SymbolTable.java:
657)
      at
org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:532)
      at
org .apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:
506)
      at
org .apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:
483)
      at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:
356)
      at java.lang.Thread.run(Thread.java:636)

Code generation failed. Please see errors above.

--
virtan / [email protected] / http://www.virtan.com

Reply via email to