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"} }}