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 org.apache.juddi.v3.client.transport.TransportException: Cannot locate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "org.apache.juddi.v3.client.transport.TransportException: Cannot locate" Watch "org.apache.juddi.v3.client.transport.TransportException: Cannot locate" New topic

org.apache.juddi.v3.client.transport.TransportException: Cannot locate

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 255
Hi All,
trying to call the following code to obtain a security token from juddi.
Every time I call it I get the following error message:
org.apache.juddi.v3.client.transport.TransportException: Cannot locate configuration source

I have looked on the web for an example of this file, and could not find one.
I have found out that it is used by the client to enable it to communicate with the register using JAX-WS.
I als found out that you can set the transport type used to talk to the register.

I currently have the following jar files within my class path:-

Has anybody got or seen an example of the contents of a file

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 255
Hi All,
can anybody explain what the content of a file should look like, or an example would be good.
If nobody can answer this or it's too easy, can you point me to a site that could help solve this problem.

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 255
Hi All,
for anybody that is interested, I gave up on my initial approach . Instead I'm using the axis binary stack to generate
the client java files that are used to call Juddi. I can access the services available on Juddi via the 'View Service Listing' link.
I then click on one of the service addresses (i.e. UDDI Security) so that I capture the wsdl url. Next I created a
CodeGenerator class and added in the captured url (i.e. http://localhost:8080/juddiv3/services/security?wsdl)

Before I was able to run the above code I needed to put the Axis jar files within the classpath so that
import org.apache.axis2.wsdl.WSDL2Code
could be seen.

The CodeGenerator will generate axis stubs and handler classes that allow you to call the juddi api's via JAX-WS.

The code below shows how a client can make a call to the juddi get_authToken api.
Note that you will have to put the stub generated classes in the classpath of this build for it to work.

This approach seems a lot easier than my initial attempts and is driven by the wsdl from the juddi.
Hence the client can be built another language.

Hope this helps anybody who had the problem I had.


I agree. Here's the link:
subject: org.apache.juddi.v3.client.transport.TransportException: Cannot locate
It's not a secret anymore!