This content has been marked as final.
Show 3 replies
-
1. Re: EPRs storage in registry
_amnesiac May 10, 2012 9:03 AM (in response to _amnesiac)I've found how to read WSDLs of exposed services:
List<Service> services = ServicePublisher.getServices(); for (Service service : services) { List<ServicePublisher> servicePublishers = ServicePublisher .getServicePublishers(service); for (ServicePublisher servicePublisher : servicePublishers) { final Publisher publisher = servicePublisher.getPublisher(); if (publisher instanceof ContractReferencePublisher) { final ContractReferencePublisher contractReferencePublisher = (ContractReferencePublisher) publisher; final URI serviceContractURI = contractReferencePublisher .getServiceContractURI(); System.out.println(serviceContractURI); } } }
It is based on code found in /deploy/contract.war/index.jsp.
Does anyone know where publishers data is stored in database?
-
2. Re: EPRs storage in registry
_amnesiac May 11, 2012 5:24 AM (in response to _amnesiac)Does information about ServicePublishers and wsdl files exposed with JBoss ESB is stored in memory? There's no information about exposed wsdl/contracts in juddi database.
-
3. Re: EPRs storage in registry
tcunning May 11, 2012 6:58 PM (in response to _amnesiac)1 of 1 people found this helpfulI think they are stored in memory - if you check out org.jboss.soa.esb.listeners.config.ServicePublisher, there's a static Map there.