couldn't get data while connecting mule with linkedin -
i tried integrate linkedin mule. authorize user , profile information.
but couldn't change current status.. , couldn't user updates. got following error
message : not find transformer transform "simpledatatype{type=java.lang.string, mimetype='*/*'}" "collectiondatatype{type=java.util.list, itemtype=java.lang.object, mimetype='*/*'}". code : mule_error-65237 -------------------------------------------------------------------------------- exception stack is: 1. not find transformer transform "simpledatatype{type=java.lang.string, mimetype='*/*'}" "collectiondatatype{type=java.util.list, itemtype=java.lang.object, mimetype='*/*'}". (org.mule.api.transformer.transformerexception) org.mule.registry.muleregistryhelper:268 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/transformer/transformerexception.html) -------------------------------------------------------------------------------- root exception stack trace: org.mule.api.transformer.transformerexception: not find transformer transform "simpledatatype{type=java.lang.string, mimetype='*/*'}" "collectiondatatype{type=java.util.list, itemtype=java.lang.object, mimetype='*/*'}". @ org.mule.registry.muleregistryhelper.lookuptransformer(muleregistryhelper.java:268) @ org.mule.module.linkedin.processors.abstractexpressionevaluator.transform(abstractexpressionevaluator.java:279) @ org.mule.module.linkedin.processors.abstractexpressionevaluator.evaluateandtransform(abstractexpressionevaluator.java:202) + 3 more (set debug level logging or '-dmule.verbose.exceptions=true' everything) ********************************************************************************
my flow follow
<flow name="linkedinflow"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8090" path="auth" doc:name="http"/> <linkedin:authorize config-ref="linkedin" doc:name="linkedin"/> </flow> <flow name="linkedinflow2"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8090" path="userupdates" doc:name="http"/> <linkedin:get-user-updates config-ref="linkedin" doc:name="linkedin"> <linkedin:update-types ref="#[payload]"/> </linkedin:get-user-updates> <json:object-to-json-transformer doc:name="object json"/> </flow>
how can user user updates??
i tried following code
<flow name="linkedinflow3"> <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8090" path="userupdates1" doc:name="http" /> <linkedin:get-network-updates config-ref="linkedin" start="10" count="20" showhiddenmembers="true" startdate="2011-08-10t00:00:00-00:00" enddate="2015-05-10t00:00:00-00:00"> <linkedin:update-types> <linkedin:update-type>profile_update</linkedin:update-type> <linkedin:update-type>recommendation_update</linkedin:update-type> </linkedin:update-types> </linkedin:get-network-updates> </flow>
then got following error
exception stack is: 1. access network denied (com.google.code.linkedinapi.client.linkedinapiclientexception) com.google.code.linkedinapi.client.impl.baselinkedinapiclient:2088 (null) 2. failed invoke getnetworkupdates. message payload of type: string (org.mule.api.messagingexception) org.mule.module.linkedin.processors.getnetworkupdatesmessageprocessor:189 (http://www.mulesoft.org/docs/site/current3/apidocs/org/mule/api/messagingexception.html)
i change scope rw_nus+r_basicprofile got 403 error page didn't authenticate
if used rw_company_admin scope can authenticate succesfully didn't success in geting user updates
how can solve problem?please help
Comments
Post a Comment