Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

uddi4j SaveBusinessExample error

 
sophie ren
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a class version mismatch. What does your classpath look like?
 
sophie ren
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic