Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NullPointerException in running UDDI4J samples!

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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(UDDIProxy.java:234)
at org.uddi4j.client.UDDIProxy.<init>(UDDIProxy.java:129)
at SaveBusinessExample.run(SaveBusinessExample.java:60)
at SaveBusinessExample.main(SaveBusinessExample.java:50)

Thanks and Regards,
Naren
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic