# Creating an API connector to pull web data

**URL:** <https://community.ofelia.com/t/creating-an-api-connector-to-pull-web-data/6280>\
**Category:** Q&A\
**Created:** [10 August 2015 20:51 UTC](https://community.ofelia.com/t/creating-an-api-connector-to-pull-web-data/6280 "2015-08-10T20:51:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![agaughan](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@agaughan](https://community.ofelia.com/u/agaughan)\
**Post date:** [10 August 2015 20:51 UTC](https://community.ofelia.com/t/creating-an-api-connector-to-pull-web-data/6280/1 "2015-08-10T20:51:56Z")

</div>

Using Bonitasoft 7 community edition.  
Using Yahoo yql, to get a Yahoo finance API.

I have created API calls in forms to get data from Yahoo.However I need to create a call for the same information within the process.

This seemed like viable option however I have been unable to get it to integrate with Bonita 7  
[http://community.ofelia.com/project/rest-connector](http://community.ofelia.com/project/rest-connector)

I have been getting the error,

> ## java.lang.reflect.InvocationTargetException com.thoughtworks.xstream.converters.ConversionException: org.bonitasoft.connectors.rest.RESTResult : org.bonitasoft.connectors.rest.RESTResult ---- Debugging information ---- message : org.bonitasoft.connectors.rest.RESTResult cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : org.bonitasoft.connectors.rest.RESTResult class : java.util.HashMap required-type : java.util.HashMap converter-type : com.thoughtworks.xstream.converters.collections.MapConverter path : /map/entry/org.bonitasoft.connectors.rest.RESTResult line number : 5 version : null
> 
> com.thoughtworks.xstream.mapper.CannotResolveClassException: org.bonitasoft.connectors.rest.RESTResult

Does anyone have a recommendation for making an this kind of connector? Or another kind of call for information?
