SyntaxHighlighter

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.





10 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
  3. Hi Kurt Stam,
    I have some problems to publish a business service in juddi with the differents steps business entity, business service and binding and tModet, if you can help me with example thank you in advance.

    ReplyDelete
  4. Hi Mellal,

    Just sign up at the juddi user mailing list, and describe in detail what it is that you have a problem with. If you question is too open ended (like yours here), then it is hard for people to help you.

    Cheers,

    --Kurt

    ReplyDelete
  5. Hi, I went through as described in the tutorial. But when I run, I get these two errors:

    1. The type org.apache.commons.configuration.ConfigurationException cannot be resolved. It is indirectly referenced from required .class files
    2. The method getUDDINode(String) from the type ClientConfig refers to the missing type ConfigurationException

    I tried looking up in the internet and found some dependencies like commons-lang, commons-collections and commons-logging. Even after including them the same errors show up.

    Please help. Thanks in advance.

    ReplyDelete
  6. Sorry. Never mind about the previous post. I included the libraries i mentioned which are dependencies for commons-configuration, but forgot to include commons-configuration library itself. Now it is working nice and clean. Thanks for the tutorials though.

    ReplyDelete
  7. Hi Kurt
    Great Example, where can i get the source of the example?
    Thanks

    ReplyDelete
    Replies
    1. Hi Edi,

      You can find some examples
      here and here for the example war.

      --Kurt

      Delete
  8. thanks a lot for This tutorial.I've a problem :
    exception java.lang.Error: Unresolved compilation problem.

    ReplyDelete
    Replies
    1. Hi Marwa,

      Just sign up at the juddi user mailing list, and describe in detail what it is that you have a problem with. If you question is too open ended (like yours here), then it is hard for people to help you.

      Cheers,

      --Kurt

      Delete