Use SMD pin headers on the side of the shield facing the Arduino board and use SMD DB9 sockets on the other side. E.g. Harting makes SMD DB9 headers.
Use SMD pin headers on the side of the shield facing the Arduino board and use SMD DB9 sockets on the other side. E.g. Harting makes SMD DB9 headers.