Hi Tanya, Please try by adding StoreURL as; <StoreURL>http://localhost:9764/store</StoreURL> after <ExternalAPIStores> element.
Thanks Thilini On Mon, Sep 15, 2014 at 8:54 AM, Tanya Madurapperuma <[email protected]> wrote: > Hi all, > > I followed the doc [1] > <https://docs.wso2.com/display/AM170/Publishing+to+API+Stores> and tried > to publish an api into an external store. > - My external store is an another apim instance started with a port > offset 1. Followed [2] > <https://docs.wso2.com/display/AM170/Changing+the+Default+Ports+with+Offset> > - external-api-stores.xml is as follows > > <ExternalAPIStores> > <ExternalAPIStore id="Store2" type="wso2"> > > <DisplayName>Store2</DisplayName> > <Endpoint>http://localhost:9764/store</Endpoint> > <Username>admin</Username> > <Password>admin</Password> > > </ExternalAPIStore> > </ExternalAPIStores> > > - At the time of publishing I get the External Api Stores tab and also > configured external store name with a check box > - But when I select the check box and click on Save, a pop up appears > with the message "API publisher - Error null" > - In the console below error appears. > ERROR - external:jag java.lang.NullPointerException: null > > I tried in both APIM 1.7.0 and 1.7.1. What am I missing here? Or is this a > bug? > > [1] https://docs.wso2.com/display/AM170/Publishing+to+API+Stores > [2] > https://docs.wso2.com/display/AM170/Changing+the+Default+Ports+with+Offset > > Thanks, > Tanya > > -- > Tanya Madurapperuma > > Software Engineer, > WSO2 Inc. : wso2.com > Mobile : +94718184439 > Blog : http://tanyamadurapperuma.blogspot.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Thilini Ishaka Senior Software Engineer Integration Technologies Team Phone: +94 11 214 5345 WSO2 Inc. http://wso2.com blog: thiliniishaka.blogspot.com linkedin: http://lk.linkedin.com/in/thiliniishaka twitter: https://twitter.com/#!/ThiliniIsh
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
