On Wed, Jan 25, 2012 at 2:58 PM, Chathuri Wimalasena <[email protected]>wrote:
> Hi Sumedha/Senaka, > > We are trying to solve the issue [1] by moving to WS-API instead of remote > registry API that we used in G-Reg plugin. Since we can't ask users to > install the feature, is there any other way of solving this issue. Please > advice. > Two options. Ask them to install WS-API or switch to Atom-API. You need to choose the best one. Thanks, Senaka. > > Thanks and Regards, > Chathuri > > [1] https://wso2.org/jira/browse/TOOLS-665 > > > > On Wed, Jan 25, 2012 at 2:47 PM, Sumedha Rubasinghe <[email protected]>wrote: > >> Melan, >> Only G-Reg ships the bundle for web service API. If you need this on >> other products, you need to install the feature. >> >> /sumedha >> >> On Wed, Jan 25, 2012 at 1:49 PM, Melan Nimesh <[email protected]> wrote: >> >>> Hi All, >>> >>> I am trying to access embedded registry of each WSO2 product using web >>> service API as part of migrating CS registry browser to web service API. It >>> works fine for all G-REG version (3.6.0, 4.0.0, 4.1.0), and I am >>> getting following errors [1] & [2] when accessing other product's >>> embedded registry >>> >>> is WSRegistryService included with all product? do I need to change any >>> setting when connecting to other product's embedded registry ? >>> >>> Any idea? >>> >>> *[1] For AS 4.1.x* >>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to >>> perform getRating operation. >>> at >>> org.wso2.carbon.registry.ws.client.registry.WSRegistryServiceClient.getRating(WSRegistryServiceClient.java:586) >>> at >>> org.wso2.carbonstudio.eclipse.greg.base.core.Registry.getRating(Registry.java:736) >>> ... 30 more >>> Caused by: org.apache.axis2.AxisFault: *The service cannot be found for >>> the endpoint reference (EPR) >>> https://localhost:9445/services/WSRegistryService* >>> at >>> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) >>> at >>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) >>> at >>> org.wso2.carbon.registry.ws.stub.WSRegistryServiceStub.getRating(WSRegistryServiceStub.java:5688) >>> at >>> org.wso2.carbon.registry.ws.client.registry.WSRegistryServiceClient.getRating(WSRegistryServiceClient.java:582) >>> ... 31 more >>> >>> *[2] For ESB 4.0.x* >>> org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to >>> perform get operation. >>> at >>> org.wso2.carbon.registry.ws.client.registry.WSRegistryServiceClient.get(WSRegistryServiceClient.java:244) >>> at >>> org.wso2.carbonstudio.eclipse.greg.base.core.Registry.getResourcesPerCollection(Registry.java:191) >>> ... 30 more >>> Caused by: org.apache.axis2.AxisFault: The input stream for an incoming >>> message is null. >>> at >>> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:92) >>> at >>> org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421) >>> at >>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) >>> at >>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) >>> at >>> org.wso2.carbon.registry.ws.stub.WSRegistryServiceStub.wSget(WSRegistryServiceStub.java:1484) >>> at >>> org.wso2.carbon.registry.ws.client.registry.WSRegistryServiceClient.get(WSRegistryServiceClient.java:229) >>> ... 31 more >>> >>> >>> Thanks, >>> Melan >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> >> -- >> /sumedha >> +94 773017743 >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Chathuri Wimalasena > Senior Software Engineer; WSO2, Inc.; http://wso2.com/ > email: [email protected]; phone: +94 772 608 596 > blog: http://chathuriwimalasena.blogspot.com/ > -- *Senaka Fernando* Product Manager - WSO2 Governance Registry; Associate Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
