使用改造参数 "soap12:Body" 使用 Xml Web 服务在类中没有匹配项

Android Studio 3.4 我正在测试假日服务2终结点, 我想使用改造来使用该终结点。 这是请求终结点: POST /HolidayService_v2/HolidayService2.asmx HTTP/1.1 Host: www.holidaywebservice.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length 和响应终结点: 我为请求创建的类是: @Root(name = "Envelope") @NamespaceList(value = [ Namespace(prefix = "xsi", reference = "http://www.w3.org/2001/XMLSchema-instance"), Namespace(prefix = "xsd", reference = "http://www.w3.org/2001/XMLSchema"), Namespace(prefix = "soap12", reference = ……

共3个回答, 标签: android web-services soap retrofit2