Hi Everson,
The annotations processor is working! It is trying to process the UDDI
annotations in the 'org.jboss.samples.webservices.HelloWorld' class, as
specified in the clerk config. You need to update the class list in the
clerk section with *your* classes that contain the UDDI annotations.
Cheers,
--Kurt
On 3/27/11 9:23 PM, everson santos wrote:
I put the clerk in esb.juddi.client.xml, but I got an exception
classnotfoundexception (org.jboss.samples.webservices.HelloWorld)
<clerks registerOnStartup="true">
<clerk name="BobCratchit" node="default" publisher="root"
password="root">
<class>org.jboss.samples.webservices.HelloWorld</class>
</clerk>
</clerks>
I think it happend because you said to deploy my app.war before
jbossesb.sar ... I don't know yet how i'll do that ...
--- Em *dom, 27/3/11, Kurt T Stam /<[email protected]>/* escreveu:
De: Kurt T Stam <[email protected]>
Assunto: Re: Help to publish and find services into juddi using
jboss and esb
Para: [email protected]
Data: Domingo, 27 de Março de 2011, 11:08
Hi Everton,
jbossesb-4.9 forces you to only use the esb.juddi.client.xml. So
you can't use your own uddi.xml. So this means you will be using
the juddi-client that is part of jbossesb, so don't deploy your
own. This means you will need to make sure your archive is
deployed *before* the jbossesb.sar, and to add the classes with
UDDI annotations to a clerk section in the esb.juddi.client.xml.
The same holds true to find services, but you can't look anything
up until the jbossesb is fully deployed.
Let us know if that works,
Cheers,
--Kurt
On 3/27/11 9:15 AM, everson santos wrote:
Hello,
Someone has an example the how publish and find services into
juddi using jboss5.1 + jbossesb 4.9?
I think the example from juddi site is more to tomcat, because in
jboss+esb there's some configuration juddi files(eg.
esb.juddi.client.xml - jbossesb.sar) in differents locations in
relation the tomcat(eg. uddi.xml - META-INF from .war file )...
I followed this tutorial:
http://apachejuddi.blogspot.com/2009/11/uddi-annotations-how-do-i-self-register.html
But I think it didn't work, I didn't see anything new in juddi
tables... There's a uddi.xml file with:
<proxyTransport>org.apache.juddi.v3.client.transport.InVMTransport</proxyTransport>
I read in forum that I have to use(for jbossesb):
<proxyTransport>org.jboss.internal.soa.esb.registry.client.JuddiRMITransport</proxyTransport>
I change the proxy as above, but I can't find the jar to include
in classpath...