This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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!