Upvote:1
You need a visa for UAE in order to change airports.
Because your initial flight lands at DWC, and your connecting flight departs fromm DXB, you must clear immigration at DWC, take ground transportation to DXB, and exit immigration at DXB to reach your connecting flight.
Contact your airline for help with obtaining the UAE transit visa. These can be obtained directly from many airlines which fly to UAE.