I want to publish an mxd as map service in ArcGIS Server or ESRI Online acc. So the map service will be consume by web app builder applications.
1. What are the steps involved in publishing mxd as mapservice?
2. How to do it?
Thanks In advance.
Check these links
Tutorial: Publishing a map service (Publishing Service in ArcGIS Server)
Add Layers (Adding services/layers from ArcGIS Server to AGOL)
Publish hosted feature layers (Publishing Hosted Feature Layers in AGOL)
You need organizational account for AGOL or Portal for ArcGIS to work with Web App Builder.
In addition to the links that Jayanta have provided, here are some very useful links with steps: