  Using the dynamical Yang-Baxter algebra we derive a functional equation for
the partition function of the trigonometric SOS model with domain wall boundary
conditions. The solution of the equation is given in terms of a multiple
contour integral.
