It takes a certain amount of maneuvering to shoot through glass or through bars, wires, grates and fencing. You have several options which all involve depth of field. You can shoot where the wires etc. are in focus and what is in the background is blurred or your focal point can be on what is in the background by shooting between the spaces of said bars and such (especially if there is gap enough) making that subject clearer and the foreground wires etc. almost nill. Or with the right focal length you may be able to capture both foreground and background. It just takes experimenting with your settings (dof, aperture, etc.) until you get the image you want. I recommend manual focusing for this type of capture.
What I did here was use my spot metering mode and shoot as close as I could through the middle of one of the grating openings focusing on one of the pillars between the windows.