Ok good, if you have the manager specified in the uddi.xml, then you can use it here:

String clazz = UDDIClientContainer.getUDDIClerkManager("example-manager")

rather then passing in null.

to get rid of the warning.

Cheers,

--Kurt


On 2/18/13 3:59 PM, Edgar Orduña wrote:
Hi Kurt,

Thanks for your answer, I'm using the new version but i have this warning but don't worry i can publish my services.

Thanks

2013/2/18 Kurt T Stam <[email protected] <mailto:[email protected]>>

    On 2/17/13 9:23 PM, Edgar Orduña wrote:
    Hi

    when i run the example SimplePublish.java i get this warnings.

    feb 17, 2013 8:10:31 PM
    org.apache.juddi.v3.client.config.UDDIClientContainer
    getUDDIClerkManager
    Advertencia: Deprecated, please specify a manager name

    Do you know why?

    Thanks
    Hi Edgar,

    In newer versions, we support the use of multiple uddi.xml files.
    Since then the uddi.xml is expected to have an element of manager.

    <manager name="example-manager">

    See also:
    
http://svn.apache.org/repos/asf/juddi/tags/juddi-3.1.3/docs/examples/helloworld/META-INF/uddi.xml

    Support for NOT using this element is deprecated and will result
    in an error in future versions.

    --Kurt




Reply via email to