really simple
all you need is this little shimano clamp washer thingy, and route the cable thusly:
i currently have a 10-speed campy looooong cage RD working with a shimano 11-36 cassette and a 50/34 crank set
i had a 10s campy medium cage working on a shimano 11-32 with a 48/34 crank set