Service callout to a SOAP based webservice getting timed out

Service callout to a SOAP based webservice getting timed out through APIGEE proxy although getting response when invoking the same service through Soap UI

Things that i have configured

1. Assign message policy

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="Assign-Message-LoginRequestForEma">
    <DisplayName>Assign Message-LoginRequestForEma</DisplayName>
    <Properties/>
    <AssignTo createNew="true" transport="http" type="request">loginCelemaRequest</AssignTo>
      <Add>
        <Headers>
            <Header name="SOAPAction">xxxxx</Header>
            <Header name="Content-Type">text/xml</Header>
        </Headers>
        
    </Add>
    <Set>
        <Verb>POST</Verb>
        <Path/>
        <Payload>
            <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cai3="http://schemas.ericsson.com/cai3g1.2/">
                <soapenv:Header/>
                <soapenv:Body>
                    <cai3:Login>
                        <cai3:userId>xxx</cai3:userId>
                        <cai3:pwd>xxxxxxxx</cai3:pwd>
                    </cai3:Login>
                </soapenv:Body>
            </soapenv:Envelope>
        </Payload>
    </Set>
    <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables>
</AssignMessage>	

2. Service Callout (Note: increased the time out as well but getting the below error)

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout async="false" continueOnError="false" enabled="true" name="Service-Callout-Celema-Login">
    <DisplayName>Service Callout - Celema Login</DisplayName>
    <Properties/>
    <Request clearPayload="true" variable="loginCelemaRequest">
       <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
    </Request>
    <Response>loginCelemaResponse</Response>
    <Timeout>300000</Timeout>
    <HTTPTargetConnection>
        <Properties/>
        <URL>http://10.5.129.20:8998</URL>
       
    </HTTPTargetConnection>
</ServiceCallout>


Error:- {"fault": {
   "faultstring": "Execution of ServiceCallout Service-Callout-Celema-Login failed. Reason: timeout occurred in Service-Callout-Celema-Login",
   "detail": {"errorcode": "steps.servicecallout.ExecutionFailed"}
}}
0 4 970
4 REPLIES 4

@Pratik Gupta , Above target endpoint looks like an Internal IP. Are you using Apigee Edge cloud ?

@Anil Sagar Thanks for your quick reply.

Yes I m using edge cloud

@Pratik Gupta , Is above ip accessible from public cloud ? Seems like it's internal ip that's the reason service callout timesout.

Hi Pratik,
If you are using Apigee Edge on cloud, then make sure the SOAP service you are calling is publicly exposed on cloud. Service callout will definitely give you timeout, if you are trying to call a local network service.