我在 Pyramid 应用程序的某个地方有下一个代码
import xmlrpclib
....
@view_config(route_name='api-paypoint', renderer='string')
def api_paypoint(request):
call_data = ["mid", "password", "name"]
api_server = xmlrpclib.ServerProxy('https://www.secpay.com/secxmlrpc/make_call')
response = api_server.SECVPN.validateCardFull(call_data)
print response
return {}
我正在尝试调用 Secpay API(这里是 JAVA 的示例http://www.paypoint.net/support/gateway/soap-xmlrpc/xmlrpc-java/)我收到下一个错误:
Exception Value: <Fault 0: 'java.lang.NoSuchMethodException: com.secpay.secvpn.SECVPN.validateCardFull(java.util.Vector)'>
知道这里有什么问题吗?