File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes uddi4j SaveBusinessExample error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "uddi4j SaveBusinessExample error" Watch "uddi4j SaveBusinessExample error" New topic
Author

uddi4j SaveBusinessExample error

sophie ren
Greenhorn

Joined: Jun 03, 2004
Posts: 2
Hello all,

I get the following error message when I run
SaveBusinessExample (FindBusinessExample is running
ok) using a IBM V2 UDDI Registry

Exception in thread "main" java.lang.NoSuchMethodError rg.apache.axis.Message.getSOAPPart()Lorg/apache/axis/SOAPPart;
at org.uddi4j.transport.ApacheAxisTransport.send(Unknow Source)
at org.uddi4j.transport.TransportBase.send(Unknow Source)
at org.uddi4j.client.UDDIProxy.send(Unknow Source)
at org.uddi4j.client.UDDIProxy.get_authToken(Unknow Source)
at SaveBusinessExample.run(Unknow Source)
at SaveBusinessExample.main(Unknow Source)

can anyone help me!!
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Sounds like a class version mismatch. What does your classpath look like?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
sophie ren
Greenhorn

Joined: Jun 03, 2004
Posts: 2
Hi,Lasse
the CLASSPATH is:
C:\j2sdk1.4.1_01\lib\dt.jar;
C:\j2sdk1.4.1_01lib\tools.jar;
C:\uddi4j\lib\uddi4j.jar;
C:\xerces-1_4_4\xerces.jar;
C:\Tomcat 4.1\common\lib\activation.jar;
C:\axis-1_1\lib\axis.jar;
C:\axis-1_1\lib\jaxrpc.jar;
C:\axis-1_1\lib\saaj.jar;
C:\axis-1_1\lib\commons-logging.jar;
C:\axis-1_1\lib\commons-discovery.jar;
C:\axis-1_1\lib\wsdl4j.jar;

in samples.prop i set TransportClassName=org.uddi4j.transport.ApacheAxisTransport

can you give me some advice
 
 
subject: uddi4j SaveBusinessExample error