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.

Thanks and Regards,
Chathuri

[1] https://wso2.org/jira/browse/TOOLS-665


On Wed, Jan 25, 2012 at 2:47 PM, Sumedha Rubasinghe <sume...@wso2.com>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 <me...@wso2.com> 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
>> Carbon-dev@wso2.org
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> /sumedha
> +94 773017743
>
> _______________________________________________
> Carbon-dev mailing list
> Carbon-dev@wso2.org
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Chathuri Wimalasena
Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
email: chath...@wso2.com; phone: +94 772 608 596
blog: http://chathuriwimalasena.blogspot.com/
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to