Forums Register Login

Business registry problem

+Pie Number of slices to send: Send
I am trying to register a business at IBM test registry.
For that i had compiled the RegisterBusiness.java file.Now when i tried to run the RegisterBusiness file to register a business the following error is coming.How can i correct this error so that i can register a business
C:\Beginning_JWS_Examples\Chp07\Register\classes>java com.wrox.jws.stockquote.RegisterBusiness
com.wrox.iws.stockquote.Register: Starting...
Getting authorization tokens...
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.uddi4j.transport.TransportFactory.getTransport(TransportFactory.java:59)
at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1790)
at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1469)
at com.wrox.jws.stockquote.RegisterBusiness.main(RegisterBusiness.java:62)
+Pie Number of slices to send: Send
Hi Shelly,
Tell me if I'm wrong, but I think you've posted a lot of questions related to "NoClassDefFoundError" these last days.
So here is the definition form the Sun API.


public class NoClassDefFoundError
extends LinkageError
Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.



For your specific problem, it sounds like the AxisFault.class cannot be found.
Check axis.jar is in your classpath

HTH,
I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 862 times.
Similar Threads
Web Services - a specification or a framework or ...
UDDI4j samples using IBM test registry
Soap Error in WebServices
uddi in halt!
publishing to a registry
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:40:18.