Thank you very much for the tutorial. But I still have some problems. My
experience is, I downloaded the Subeclipse folders in the eclipse but I
didn't see the build folder where you have a folder class and another lib.
I've downloaded the Apache Ivy and I modified the route of the
project.properties. After running the program with "ant clean run" in the
directory where I downloaded the project gives me the following error:

        --------------------------------------------------
-------------------
        | | Modules | | artifacts |
        | Conf | number | search | dwnlded | evicted | | number | dwnlded |
        --------------------------------------------------
-------------------
        | Default | 51 | 0 | 0 | 12 | | 40 | 0 |
        --------------------------------------------------
-------------------

[ivy: retrieve]:: problems summary::
[ivy: retrieve]:::: WARNINGS
[ivy: retrieve] module not found: org.jvnet # mimepull, 1.2
[ivy: retrieve] ==== ibiblio: tried
[ivy: retrieve]
http://repo1.maven.org/maven2/org/jvnet/mimepull/1.2/mimepull-1.2.pom
[ivy: retrieve] - artifact org.jvnet # mimepull; 1.2! mimepull.jar:
[ivy: retrieve]
http://repo1.maven.org/maven2/org/jvnet/mimepull/1.2/mimepull-1.2.jar
[ivy: retrieve] ==== nexus: tried
[ivy: retrieve]
http://repository.apache.org/content/groups/snapshots-group/org/jvnet/mimepull/1.2/mimepull-1.2.pom
[ivy: retrieve] - artifact org.jvnet # mimepull; 1.2! mimepull.jar:
[ivy: retrieve]
http://repository.apache.org/content/groups/snapshots-group/org/jvnet/mimepull/1.2/mimepull-1.2.jar
[ivy: retrieve] ::::::::::::::::::::::::::::::::::::::::::::: :
[ivy: retrieve]:: Unresolved DEPENDENCIES::
[ivy: retrieve] ::::::::::::::::::::::::::::::::::::::::::::: :
[ivy: retrieve]:: org.jvnet # mimepull, 1.2: not found
[ivy: retrieve] ::::::::::::::::::::::::::::::::::::::::::::: :
[ivy: retrieve]
[ivy: retrieve]
[ivy: retrieve]:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
C: \ workspace \ helloworld \ build.xml: 23: Following error occurred while
executing this line
C: \ workspace \ helloworld \ ivy-build.xml: 15: impossible to resolve
dependencies: resolve failed - see output for details

I hope you can help me. Thank you so much again and very nice work!


Kurt T Stam-4 wrote:
> 
> Hopefully this helps:
> 
> http://apachejuddi.blogspot.com/2010/02/uddi-v3-helloword.html
> 
> --Kurt
> 
> 
> CocoyLola wrote:
>> Please I need help usiing juddi client libraries.
>> I'm trying to get a valid authentication token with the java client.
>> I tried this code in user manual and it dosent work. ClientConfig is
>> static
>> reference and i cant invoque, UDDI_PROXY_TRANSPORT it doesn't exist. What
>> are the libraries i need??? Why Is not present in this code
>> juddiv3.properies???? Why uddi.xml??? I am desperate. I need full code
>> example to get the authentication token. ty all!
>>
>> public void testAuthToken() {
>> try {
>> String clazz = ClientConfig.getConfiguration().getString(
>> Property.UDDI_PROXY_TRANSPORT,Property.DEFAULT_UDDI_PROXY_TRANSPORT);
>> Class<?> transportClass = Loader.loadClass(clazz);
>> if (transportClass!=null) {
>> Transport transport = (Transport) transportClass.newInstance();
>> UDDISecurityPortType securityService = transport.getSecurityService();
>> GetAuthToken getAuthToken = new GetAuthToken();
>> getAuthToken.setUserID("root");
>> getAuthToken.setCred("");
>> AuthToken authToken = securityService.getAuthToken(getAuthToken);
>> System.out.println(authToken.getAuthInfo());
>> Assert.assertNotNull(authToken);
>> } else {
>> Assert.fail();
>> }
>> } catch (Exception e) {
>> e.printStackTrace();
>> Assert.fail();
>> }
>> }
>>   
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Help-with-juddi-java-client-getting-authentication-token-tp27702594p27714149.html
Sent from the jUDDI - User mailing list archive at Nabble.com.

Reply via email to