Use the wsdl2web.py tool to setup a site, but now provide an additional argument --rpy. Now the tool will provide us with a few additional pieces to make our job easier. Again ignore the warnings, but notice the last is missing since we have added a resource properties declaration to the math portType.
$ wsdl2web.py --rpy=MathService.rpy --script=client.py MathService.wsdl /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:436: UserWarning: Port(MathPort) operation(add) in Binding(MathBinding) soapAction() != WS-Action(http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/addRequest) /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:436: UserWarning: Port(MathPort) operation(subtract) in Binding(MathBinding) soapAction() != WS-Action(http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/subtractRequest) /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:436: UserWarning: Port(MathPort) operation(getValueRP) in Binding(MathBinding) soapAction() != WS-Action(http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/getValueRPRequest) /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:436: UserWarning: Port(MathPort) operation(createResource) in Binding(MathBinding) soapAction() != WS-Action(http://www.globus.org/namespaces/examples/core/MathService_instance/MathPortType/createResourceRequest)