On Tue, May 14, 2013 at 4:30 PM, Alex O'Ree <[email protected]> wrote:

> Check out the blog post
>
> http://apachejuddi.blogspot.com/2013/03/uddi-howto-create-tmodels-with-custom.html
>
> I'm assuming you are trying to save something while defining your own
> key (business, service, tmodel, binding template,etc). That post
> explains what to do in order to setup your own key domain, also known
> as a key partition or a key generator
>

Thanks Alex for the quick response.
I went through the blog post initially and I ran that code against the
JUDDI. When try to save tModel, then it says
"javax.xml.ws.soap.SOAPFaultException: A Key Generator cannot be added for
the root publisher".

In fact I am configuring oracle service bus with JUDDI. So the one who
writes to JUDDI is OSB.

Exception is as follows when try to publish a proxy named "foobar"

[2013-05-14 12:53:16,871] INFO {org.apache.cxf.phase.PhaseInterceptorChain}
- Application
{urn:uddi-org:v3_service}UDDIPublicationService#{urn:uddi-org:v3_service}save_service
has thrown exception, unwinding now:
org.apache.juddi.v3.error.KeyUnavailableException: The proposed key is not
within the partition defined by owning publisher: uddi:bea.com:
servicebus:default:foobar.

The problem is the key "uddi:bea.com:servicebus:default:foobar" is not
defined. But this key endswith the proxy name. So before each proxy
publishing from OSB side, do I have to add a key to the JUDDI by me ?
 Appreciate any guidance on how this works/what needs to be done to sort
this out.



>
> On Tue, May 14, 2013 at 2:24 AM, Subash Chaturanga <[email protected]>
> wrote:
> >
> > I dig in to the JUDDI  code again, and it fails at
> > UddiEntityPublisher#isValidPublisherKey() method since the
> keyGeneratorKeys
> > List has only "uddi:juddi.apache.org" as a key.
> > Any idea what I am missing here?
> >
> > On Tue, May 14, 2013 at 10:05 AM, Subash Chaturanga <[email protected]
> >
> > wrote:
> >>
> >> Hi all,
> >> I was able to configure OSB with JUDDI finally . And I am getting
> $subject
> >> when publishing a proxy service to JUDDI.
> >> Any idea what I am missing here? Appreciate any feedback since I am at
> the
> >> edge of this.
> >>
> >> --
> >> Subash Chaturanga
> >>
> >> Sri Lanka
> >>
> >> Blog -  http://subashsdm.blogspot.com/
> >> Twitter - http://twitter.com/subash89
> >>
> >
> >
> >
> >
> > --
> > Subash Chaturanga
> > Department of Computer Science & Engineering
> > University of Moratuwa
> > Sri Lanka
> >
> > Blog -  http://subashsdm.blogspot.com/
> > Twitter - http://twitter.com/subash89
> >
>



-- 
Subash Chaturanga
Department of Computer Science & Engineering
University of Moratuwa
Sri Lanka

Blog -  http://subashsdm.blogspot.com/
Twitter - http://twitter.com/subash89

Reply via email to