Skip to main content
tagged with SharePoint Enterprise as well
Link
Azam Khan
  • 467
  • 4
  • 9
Re-formatted
Source Link
Robert Lindgren
  • 24.5k
  • 12
  • 53
  • 79

I have created a SharePoint Hosted AppSharePoint Hosted App and wanted to get response from some external webservicewebservice.

I am able to get the response in SharePoint Hosted App's default.aspx but says FORBIDDEN

FORBIDDEN

when it is executed from ClientWebPart !ClientWebPart!

forFor code reference - https://msdn.microsoft.com/en-us/library/office/fp179895.aspx. I

I used exactly the same code and tried with JSOM and REST both, but no hope. I am getting the same error with Northwind.svc also.

I have created a SharePoint Hosted App and wanted to get response from some external webservice.

I am able to get the response in SharePoint Hosted App's default.aspx but says FORBIDDEN when it is executed from ClientWebPart !!

for code reference - https://msdn.microsoft.com/en-us/library/office/fp179895.aspx. I used exactly the same code and tried with JSOM and REST both, but no hope. I am getting the same error with Northwind.svc also.

I have created a SharePoint Hosted App and wanted to get response from some external webservice.

I am able to get the response in SharePoint Hosted App's default.aspx but says

FORBIDDEN

when it is executed from ClientWebPart!

For code reference - https://msdn.microsoft.com/en-us/library/office/fp179895.aspx.

I used exactly the same code and tried with JSOM and REST both, but no hope. I am getting the same error with Northwind.svc also.

I have created a SharePoint Hosted AppSharePoint Hosted App and wanted to get response from some external webservicewebservice.

I am able to get the response in SharePoint Hosted App's default.aspxdefault.aspx but says FORBIDDENFORBIDDEN when it is executed from ClientWebPartClientWebPart !!

for code reference - https://msdn.microsoft.com/en-us/library/office/fp179895.aspx. I used the exactly the same code and tried with JSOMJSOM and RESTREST both, but no hope. I am getting the same error with "Northwind.svc"Northwind.svc also.

Help will be appreciated !!

Thanks

I have created a SharePoint Hosted App and wanted to get response from some external webservice.

I am able to get the response in SharePoint Hosted App's default.aspx but says FORBIDDEN when it is executed from ClientWebPart !!

for code reference - https://msdn.microsoft.com/en-us/library/office/fp179895.aspx. I used the exactly the same code and tried with JSOM and REST both, but no hope. I am getting the same error with "Northwind.svc" also.

Help will be appreciated !!

Thanks

I have created a SharePoint Hosted App and wanted to get response from some external webservice.

I am able to get the response in SharePoint Hosted App's default.aspx but says FORBIDDEN when it is executed from ClientWebPart !!

for code reference - https://msdn.microsoft.com/en-us/library/office/fp179895.aspx. I used exactly the same code and tried with JSOM and REST both, but no hope. I am getting the same error with Northwind.svc also.

Source Link
Azam Khan
  • 467
  • 4
  • 9
Loading