Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Error java.lang.ClassCastException while creating Service Callout with Local Target

Not applicable

Hi,

I'm getting the following error message while trying to create a Service Callout pointing to a Local Target. I've tried copying the configuration from the browser. Didn't work. I've tried typing it up manually to avoid any hidden chars. No luck. Any idea what could be wrong? Thank you in advance!

Error Messge

Server Error. Failed to import the bundle : java.lang.ClassCastException: org.apache.xerces.dom.ElementNSImpl cannot be cast to com.apigee.messaging.config.beans.TargetConnection

Service Callout Configuration

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout async="false" continueOnError="false" enabled="true" name="GetCreds">
    <DisplayName>GetCreds</DisplayName>
    <Properties/>
    <Request clearPayload="true" variable="myRequest">
        <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
    </Request>
    <Response>calloutResponse</Response>
  <LocalTargetConnection><Path>/docs</Path></LocalTargetConnection>
</ServiceCallout>
1 9 2,195
9 REPLIES 9