HI Irham, I think you have to iterate the InboundEndpointDTO array and use the getName method.[1]
[1] https://github.com/wso2/carbon-mediation/blob/master/components/mediation-admin/org.wso2.carbon.inbound/src/main/java/org/wso2/carbon/inbound/InboundEndpointDTO.java Thanks, On Tue, Dec 23, 2014 at 12:18 PM, Irham Iqbal <iq...@wso2.com> wrote: > Hi All, > > when running ESB test cases i am getting the following Error. > > java.lang.NoSuchMethodError: > org.wso2.carbon.inbound.stub.InboundAdminStub.getAllInboundEndpointNames()Ljava/lang/String; > at > org.wso2.esb.integration.common.clients.inbound.endpoint.InboundAdminClient.getAllInboundEndpointNames(InboundAdminClient.java:68) > at > org.wso2.esb.integration.common.utils.ESBTestCaseUtils.getAllInboundEndpoints(ESBTestCaseUtils.java:397) > at > org.wso2.esb.integration.common.utils.ESBIntegrationTest.deleteInboundEndpoints(ESBIntegrationTest.java:266) > at > org.wso2.esb.integration.common.utils.ESBIntegrationTest.cleanup(ESBIntegrationTest.java:143) > at > org.wso2.carbon.esb.mailto.transport.receiver.test.MailToTransportActionAfterFailureDELETETestCase.deleteService(MailToTransportActionAfterFailureDELETETestCase.java:70) > > It's because method getAllInboundEndpointNames() from InboundAdminStub was > returning a string earlier now it has been changed to return a > InboundEndpointDTO Object Array. We are using this method to get > endpointName. > How can i get endpointName from InboundEndpointDTO object? > > Thanks, > Iqbal > > -- > Irham Iqbal > Software Engineer - Test Automation > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > phone: +94 777888452 > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear.
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev