SAP Knowledge Base Article - Preview

2651398 - SDI - Error with File Adapter Integration with Sharepoint: Exception : com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 301: Moved Permanently

Symptom

Error in framework.trc when trying to open a virtual table created of Remote Source using File Adapter Remote Source with SharePoint integration:

  • 2018-05-03 10:57:57,844 [ERROR] com.sap.hana.dp.sharepointservices.SharePointService.downloadFile[462]    - Exception : com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 301: Moved Permanently
  • 2018-05-03 10:57:57,844 [ERROR] com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest[349]    - AdapterException while processing request "SDA Request for FileAdapter of type FEDERATION_SET_STATMENT"
  • 2018-05-03 10:57:57,845 [ERROR] com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest[350]    -  : Failed to download file From http://companyname.sharepoint.com/teams/*     Context: null
    •    com.sap.hana.dp.adapter.sdk.AdapterException:  : Failed to download file From http://companyname.sharepoint.com/teams/*.
    •    at com.sap.hana.dp.sharepointservices.SharePointService.downloadFile(SharePointService.java:463)
    •    at com.sap.hana.dp.fileadapter.basement.TransportSharePoint.collectFiles(TransportSharePoint.java:63)
    •    at com.sap.hana.dp.fileadapter.FileAdapter.executeStatement(FileAdapter.java:689)
    •    at com.sap.hana.dp.adapter.sdk.adapterbase.BaseAdapterClass.executeStatement(BaseAdapterClass.java:768)
    •    at com.sap.hana.dp.adapter.framework.core.WorkerThread.processExecuteStatement(WorkerThread.java:1360)
    •    at com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest(WorkerThread.java:233)
    •    at com.sap.hana.dp.adapter.framework.core.WorkerThread.run(WorkerThread.java:1924)
    •    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    •    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    •    at java.lang.Thread.run(Thread.java:812)


Read more...

Environment

  • SAP HANA Smart Data Integration
  • Office365’s SharePoint online

Product

SAP HANA smart data integration all versions

Keywords

KBA , HAN-DP-SDI , SAP HANA smart data integration (SDI) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.