You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by "Kurt R. Hoehn" <kh...@etranscor.com> on 2004/12/17 15:34:44 UTC

Authentication token timing out

Hello,

 

   I'm new to jUDDI so I don't know if I'm doing something wrong or not
or if it's a configuration problem.  I'm getting an exception trying to
perform any type of registration.  Below is the test code snippet and
the resulting exception.  If someone could point me in the right
direction that would be great.

 

I'm using

Axis 1.2 RC3

Soap 2.3.1

UDDI4J 

jUDDI v.9

Windows XP 

Tomcat 5.0.30 Beta 

 

TIA,

-kurt

 

Test Method:

 

    public void testUDDI4j() throws Exception

    {

        UDDIProxy proxy = new UDDIProxy();

        proxy.setPublishURL("http://localhost:8080/juddi/publish");

        System.out.println("Getting authtoken");

 

        // Pass in userID and password registered at the UDDI site

        AuthToken token = proxy.get_authToken("juddi", "juddi");

        System.out.println("Returned authToken:" +
token.getAuthInfoString());

        System.out.println( token.getAuthInfo().getText() );

        proxy.discard_authToken( token.getAuthInfo() );

 

 

        // Now get the information registered for this publisher.

        RegisteredInfo ri =
proxy.get_registeredInfo(token.getAuthInfoString());

        System.out.println("\n\nUDDI Operator: " + ri.getOperator());

    }

 

Result:

 

Getting authtoken

Returned authToken:authToken:4AA78950-5036-11D9-A6A9-D4909F54843E

authToken:4AA78950-5036-11D9-A6A9-D4909F54843E

Authentication token information has timed out.

            at org.uddi4j.response.DispositionReport.<init>(Unknown
Source)

            at org.uddi4j.client.UDDIProxy.discard_authToken(Unknown
Source)

            at
com.etranscor.web.service.RegisterService.testUDDI4j(RegisterService.jav
a:102)

            at
com.etranscor.web.service.RegisterService.main(RegisterService.java:113)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)

            at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

            at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

            at java.lang.reflect.Method.invoke(Method.java:324)

            at
com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

Exception in thread "main"