There are two airports in Shanghai - PVG and SHA. There are also more than one airport in Beijing, although most flights use PEK. You can try SHA-PEK, if you are spending a day or two in Shanghai.
You can also take a train. It takes about 12 hours.
However, I expect seat availability is going to be a big issue. I think it is best not to llimit your choice to only OW airlines.