File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

NullPointerException in running UDDI4J samples!

Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

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


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NullPointerException in running UDDI4J samples!