This article documents how to set up Liferay DXP 7.0 as SP and WSO2 as IdP.
Resolution
WSO2 configuration
1. Download wso2is-5.3.0.zip from the WSO2 site and extract the file to a dedicated directory.
2. Go to wso2is-5.3.0/bin and run command $sh wso2server.sh to start wso2 server if you are using Linux. You can double click wso2server.bat to start up the server in Windows.
3. When the server starts up, open the admin page via https://localhost:9443/carbon.
4. Use credential admin/admin to login.
5. Add service provider to the main configuration window.
a) Click Main > Identity > Service Providers > Add
b) Fill in Service Provider Name: liferaysamlsp
c) Click Register
d) In the list, configure the service provider
e) In Claim Configuration, add the claim URI as following:

f) In Inbound Authentication Configuration, select SAML2 Web SSO configuration, click edit and fill in the form as following:

6. Create a new user in wso2.
a) In Main > Identity > Users and Roles, click Add > Add New User
b) Fill in user name abc and password password and click Finish
c) In the user's list, click the new user's User Profile
d) Fill in first name abc, last name abc, email address abc@liferay.com, and IM abc.abc (We use IM to map screenName)
7. Download the metadata from wso2.
a) In Main > Identity Providers > Resident, click Inbound Authentication Configuration > SAML2 Web SSO Configuration
b) Click Download SAML Metadata

DXP SAML configuration
8. Make sure SAML plugin has been deployed on DXP portal.
9. In SAML Admin, configure DXP as the service provider.
a) In Control Panel > Configuration > SAML Admin > General
b) Add a service provider with Entity ID as liferaysamlsp
c) Generate a certificate
d) Click Save and the configuration is like following:

f) In Service Provider tab, select Sign Authn Requests and Sign Metadata

g) In Identity Provider Connection tab, add localhost as Entity ID
h) Upload wso2's metadata and add Attribute Mapping
i) The configuration are as following:

10. Open a browser and access http://localhost:8080
11. Click Sign in on the top right link
12. When the page is redirected to WSO2 login page, using abc/password credential to login.
Additional Information
We need to use different host names for IDP and SP, otherwise SLO will not be working.