我正在使用Robotframework-SudsLibrary进行SOAP工作。
Python版本:2.7.13
SudsLibrary版本:0.8
这是代码:
*** Settings ****
Library SudsLibrary
Library XML
*** Test Cases ****
Connection
Create Soap Client http://X.X.X.X:8080/axis2/services/BSServicesV20?wsdl
${WsdlObject} Create Wsdl Object InitApp
log ${WsdlObject} console=True
${SheetGuide_AttributeValue} Get Wsdl Object Attribute ${WsdlObject} AppID
Set Wsdl Object Attribute ${WsdlObject} PosCondCode 05
Set Wsdl Object Attribute ${WsdlObject} TerminalID 62051023
Set Wsdl Object Attribute ${WsdlObject} UserName tatTestUser
Set Wsdl Object Attribute ${WsdlObject} Password tat321Test$$
log ${WsdlObject} console=True
Call Soap Method InitApp ${WsdlObject}
${receive_xml} Get Last Received
这是我的错误:
URLError: urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)