function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jhonata SantosJhonata Santos 

Webservice error: Access Denied

Hi guys,

I have a apex class that call webservice to integrate with PI and SAP, until now it work without any problem, but SAP team had to change for other Endpoint, when I try access this new Endpoint I receive this error:

<p><b>Access Denied.</b></p>

I already configured IP in the whitelist and Site Remote, the might be happening?

Thanks for help.
Best Answer chosen by Jhonata Santos
shashi lad 4shashi lad 4
I would check to see if additional configuration needed give access to the new endpoint ... may be firewall configurations?

shashi

All Answers

shashi lad 4shashi lad 4
I would check to see if additional configuration needed give access to the new endpoint ... may be firewall configurations?

shashi
This was selected as the best answer
Jhonata SantosJhonata Santos
Hi Shashi,

I checked all configuration, whitelist and site remote, already confirmed that User and Password, ip is the same what changes is only the address of the endpoint, but it's going to the same place. There are some additional configuration there be made up of Salesforce that I'm not paying attention?

the error continue and i don't know what do I do.

<h1>ERROR</h1>
<h2>The requested URL could not be retrieved</h2>
</div>
<hr>

<div id="content">
<p>The following error was encountered while trying to retrieve the URL: <a href="http://dft-sap-pod.com.br:50300/XISOAPAdapter/MessageServlet?">http://dft-sap-pod.com.br:50300/XISOAPAdapter/MessageServlet?</a></p>

<blockquote id="error">
<p><b>Access Denied.</b></p>
</blockquote>

<p>z</p>

<p>Your cache administrator is <a href="mailto:support@salesforce.com?subject=CacheErrorInfo%20-%20ERR_ACCESS_DENIED&amp;body=CacheHost%3A%20proxy-was.net.salesforce.com%0D%0AErrPage%3A%20ERR_ACCESS_DENIED%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Wed,%2026%20Aug%202015%2018%3A47%3A20%20GMT%0D%0A%0D%0AClientIP%3A%2010.236.12.23%0D%0A%0D%0AHTTP%20Request%3A%0D%0APOST%20%2FXISOAPAdapter%2FMessageServlet%3FsenderParty%3D%26senderService%3DBC_SF_NEW%26receiverParty%3D%26receiverService%3D%26interface%3DSI_SNDVALES_OUT_SYNC%26interfaceNamespace%3Durn%3Adafiti%3Asalesforce%3Aecc%3Avales%20HTTP%2F1.1%0AAuthorization%3A%20Basic%20cGljb246RGFmaXRpJjIwMTM%3D%0D%0ASFDC_STACK_DEPTH%3A%201%0D%0AContent-Length%3A%20970%0D%0AUser-Agent%3A%20SFDC-Callout%2F34.0%0D%0AContent-Type%3A%20text%2Fxml%3Bcharset%3DUTF-8%0D%0ACache-Control%3A%20no-cache%0D%0APragma%3A%20no-cache%0D%0AHost%3A%20dft-sap-pod.dafitierp.com.br%3A50300%0D%0AAccept%3A%20text%2Fhtml,%20image%2Fgif,%20image%2Fjpeg,%20*%3B%20q%3D.2,%20*%2F*%3B%20q%3D.2%0D%0AProxy-Connection%3A%20keep-alive%0D%0AX-Forwarded-For%3A%2010.236.74.34%0D%0A%0D%0A%0D%0A">support@salesforce.com</a>.</p>
<br>
</div>

some help?
shashi lad 4shashi lad 4
The next thing i can think of is, login credentials.. did you try to run the endpoint in browser ? does it work fine?

shashi
Jhonata SantosJhonata Santos
Hi Shashi,

So the SAP team said that this login credentials is right =/ ...I tried access this endpoint in my browser, but doesnt work!

But also try acccess others endpoint that today work and also doesnt work.

What do i do? I do not know what's going on.

Thanks for all your help.
Jhonata SantosJhonata Santos
Hi Shashi or somebody,

Any idea?
Jhonata SantosJhonata Santos
Hi Shashi,

Sorry for my delay, but I solved this problem. The firewall was blocked my webservices access.

Thanks you, for your help. =D