Thursday, July 22, 2010

Simple Publish Example Demo

In a previous blog post we detailed how to publish some UDDI entities to the Registry.

In the following demo it is shown how to run the simple-publish example.





2 comments:

  1. This tutorial is very useful,thanks a lot.
    But I've a problem because I'm new to this.I compile the code and I've the following error:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    The method getAuthToken(GetAuthToken) in the type UDDISecurityPortType is not applicable for the arguments (GetAuthToken)
    The method getAuthToken(GetAuthToken) in the type UDDISecurityPortType is not applicable for the arguments (GetAuthToken)

    at org.apache.juddi.example.publish.SimplePublish.publish(SimplePublish.java:59)
    at org.apache.juddi.example.publish.SimplePublish.main(SimplePublish.java:120)

    Can you help me?

    Thanks in advance!!

    ReplyDelete
  2. Hi Maria,

    It looks like you may have a library mismatch, can you try using the same jUDDI version in the 'simple-publish' example as you the jUDDI server is based on?

    Cheers,

    --Kurt

    ReplyDelete