Android kSOAP2正在连接到web服务。

Android kSOAP2正在连接到web服务。,android,ksoap2,Android,Ksoap2,我正在尝试使用kSOAP2将android设备连接到web服务。如果有人感兴趣,那就是SAP ABAP Web服务 我得到以下错误: 10-30 15:21:42.395: I/System.out(18148): Error org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://www.w3.org/2003/05/soap-envelope}Envelope (position:START_TAG <htm

我正在尝试使用
kSOAP2
将android设备连接到web服务。如果有人感兴趣,那就是SAP ABAP Web服务

我得到以下错误:

10-30 15:21:42.395: I/System.out(18148): Error org.xmlpull.v1.XmlPullParserException:
expected: START_TAG {http://www.w3.org/2003/05/soap-envelope}Envelope (position:START_TAG <html>@1:7 in java.io.InputStreamReader@4138e570) 
START\u标记的错误意味着什么

谢谢


Martin

能否尝试显示从Web服务返回的字符串?这听起来像是解析错误,我需要指定的是webservice端点,而不是WSDL

我使用以下代码来调用调用。HttpTransportSE ht=新的HttpTransportSE(URL);ht.呼叫(SOAP_动作、信封);是引发此错误的ht.call
String NAMESPACE = "urn:sap-com:document:sap:rfc:functions";
String METHOD_NAME = "ZmobileGetTableDefinition";
String SOAP_ACTION = "urn:sap-com:document:sap:rfc:functions/ZmobileGetTableDefinition";
String URL = "http://localhost.com/sap/bc/srt/wsdl/sdef_ZMOBILE_REPORTING/wsdl11/ws_policy/document?sap-client=800?WSDL";