% mkdir /tmp/MathRPSite % cd /tmp/MathRPSite % mv /tmp/MathRPService.wsdl . % wsdl2web.py --script=client.py --rpy=MathService.rpy MathRPService.wsdl % wsdl2web.py --script=client.py --rpy=MathService.rpy MathRPService.wsdl Failure: [Errno 2] No such file or directory: 'wsrf/properties/WS-ResourceProperties.wsdl' % cp -r ~/Desktop/Workspace/Python/pyGridWare/share/schema/wsrf . % wsdl2web.py --script=client.py --rpy=MathService.rpy MathRPService.wsdl Failure: [Errno 2] No such file or directory: 'ws/xml.xsd' % cp -r ~/Desktop/Workspace/Python/pyGridWare/share/schema/ws . % wsdl2web.py --script=client.py --rpy=MathService.rpy MathRPService.wsdl /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/wstools/XMLSchema.py:1214: UserWarning: annotation is ignored /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_rp/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_rp/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(createResource) in Binding(MathBinding) soapAction() != WS-Action(http://www.globus.org/namespaces/examples/core/MathService_instance_rp/MathPortType/createResourceRequest) /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(GetResourceProperty) in Binding(MathBinding) soapAction() != WS-Action(http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetResourceProperty) /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(GetMultipleResourceProperties) in Binding(MathBinding) soapAction() != WS-Action(http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/GetMultipleResourceProperties) /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(SetResourceProperties) in Binding(MathBinding) soapAction() != WS-Action(http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/SetResourceProperties) /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(QueryResourceProperties) in Binding(MathBinding) soapAction() != WS-Action(http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties/QueryResourceProperties)
In the next two sections I'll present new rpy and client scripts that you should copy & paste over the auto generated services/MathService.rpy and client.py.