Forum Discussion
westside47
Mar 19, 2019Copper Contributor
How to consume a SOAP web service in 0365/Sharepoint online.
Hey all! I have scoured the web for hours and today and cannot seem to find an appropriate answer to the problem I am trying to solve. I have an eternal soap api/web service that I am trying...
Andrew Petersen
Mar 20, 2019Copper Contributor
Here's how I'd probably tackle it...
Step 1: Build an https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v1-dotnet-webapi wrapper around the Soap Service
- Use .NET or Node to connect to the Soap Service using a Service Account
- Exposes your SOAP data via Restful API over HTTP
- Requires an Azure AD access token
- Supports Cross Origin Resource Sharing (CORS)
- Azure Functions are my goto for this scenario
Step 2: Create an SPFx Customization that consumes your Azure AD Web API
- Follow the docs on how to https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aadhttpclient