This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 576

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!
Similar Threads
How to learn JAXR/UDDI for SCDJWS ???
Read that all the UDDI registries by IBM, MICORSOFT AND SAP have been stopped....
The relationship between jaxr, juddi and uddi4j
Getting Fault string, and possibly fault code, not set in UDDI4J
accessing jUDDI with Sun's JAXR implemenation