You need to sign in to do that
Don't have an account?

System.Callout Exception Unexpected end of file from server
I am integration salesforce with SAP system using SOAP API. SAP Provided the Username and Password. So I have created a NamedCreditials in salesforce and used that in my apex class as endpoint.
like
AS per salesforce doc https://help.salesforce.com/HTViewSolution?id=000003652 we have whitelisted the Salesforce IP ranges in Firewall on SAP End.
But during callout, still we are getting Error,
System.Callout Exception Unexpected end of file from server
Named Credentials: http://prntscr.com/l28ba7
Snapshot of IP ranges which is configured in firewall.




like
public String endpoint_x ='callout:SAP_Callout';
AS per salesforce doc https://help.salesforce.com/HTViewSolution?id=000003652 we have whitelisted the Salesforce IP ranges in Firewall on SAP End.
But during callout, still we are getting Error,
System.Callout Exception Unexpected end of file from server
Named Credentials: http://prntscr.com/l28ba7
Snapshot of IP ranges which is configured in firewall.
also is there any loggin at sap site which tell if a call from salesforce was blocked?
SAP has a login at their end. They provided the Username and password. And thus I'm using Named credentials. In Named credentials, I've added the Username and Password and Remote URL.(http://prntscr.com/l28ba7)
How we can check, on SAP end it was blocking the call from salesforce.