Hello,
I am getting the following error while running the java-callout jar with "no-target" api proxy.
{"fault":{"faultstring":"Failed to execute JavaCallout. null","detail":{"errorcode":"steps.javacallout.ExecutionError"}}}
Attached the revision zip for the Api ,
organization name :: globallogic
Api proxy name :: No-Target
Solved! Go to Solution.
Even in this source code you have additional Apigee classes. Please remove that and bundle only the CityLookup class.
You are using ExceptionUtils from apache commons. I am not sure if that is available or you have to package it along with your code. It might be the later , please check there.
Also the policy needs to be attached on the Response side and not on request side. I just used your code and it works perfectly if I put it on Response but throws the same error if used on Request side.