File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes NullPointerException in running UDDI4J samples! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "NullPointerException in running UDDI4J samples!" Watch "NullPointerException in running UDDI4J samples!" New topic

NullPointerException in running UDDI4J samples!

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

I was very keen to run JAXR programs using public UDDI test registries. But, I tried in vain connecting to IBM, SAP and MS UDDI test registries. So, I configured JUDDI which is very easy to setup. Now, I have problems using JAXR API to connect to my JUDDI registry. So after getting some online suggestions to use UDDI4J, I downloaded the API. After configuring the properties to point to my JUDDI registry, I ran a sample (stanalone java program) but got NullPointerException. If anyone has worked on UDDI4J, please help me out. I'll also appreciate if someone suggests any other API to connect to JUDDI repository. Please see the Exception stack trace below.

*********** Running SaveBusinessExample ***********
Exception in thread "main" java.lang.NullPointerException
at org.uddi4j.client.UDDIProxy.setConfiguration(
at org.uddi4j.client.UDDIProxy.<init>(
at SaveBusinessExample.main(

Thanks and Regards,

(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
I agree. Here's the link:
subject: NullPointerException in running UDDI4J samples!
It's not a secret anymore!