我第一次使用最新版本的suds(https://fedorahosted.org/suds/),我在第一步停滞不前.
suds.TypeNotFound: Type not found: '(schema, http://www.w3.org/2001/XMLSchema, )'
Run Code Online (Sandbox Code Playgroud)
现在,我知道这在泡沫世界中有很好的覆盖面(https://fedorahosted.org/suds/wiki/TipsAndTricks#Schema-TypeNotFound和Python/Suds:未找到类型:'xs:complexType')但这似乎是略有不同,因为(a)模式应该在版本0.3.4之后自动绑定,并且(b)即使显式使用变通方法,它仍然不起作用.
from suds.client import Client
from suds.xsd.sxbasic import Import
url = 'file:wsdl.wsdl'
Import.bind('http://schemas.xmlsoap.org/soap/encoding/')
client = Client(url, cache = None)
Run Code Online (Sandbox Code Playgroud)
与wsdl:
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="http://ws.client.com/Members.asmx"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="http://ws.client.com/Members.asmx"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://ws.client.com/Members.asmx">
<s:element name="GetCategoriesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="GetCategoriesResult">
<s:complexType>
<s:sequence>
<s:element ref="s:schema" />
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>
</wsdl:definitions>
Run Code Online (Sandbox Code Playgroud)
产生上述例外.
我要替换以前由其他开发人员维护的客户端Google Play帐户上的Android应用。
我要处理以下事项:
BEGIN PRIVATE KEY块的PEM文件不幸的是,我似乎没有任何明确的方法来创建密钥库来对应用进行签名以进行上传,而Google文档就是Google文档。
无法从以前的开发人员那里获得更多信息。
我已经尝试了很多方法,其中最有前途的是keystore -importcert然后-changealias,但是这使我对以下错误有所了解:
com.android.ide.common.signing.KeytoolException: Failed to read key [the name of the key] from store "[the keystore].keystore": trusted certificate entries are not password-protected
因此,目前我对如何上传新应用程序一无所知,我正在寻找某种解决方案。
使用Google Play提供的上传密钥对APK进行签名的问题似乎已经接近解决,但是它永远无法解决如何处理私钥的问题。