从Blackberry应用程序连接到基于SOAP的web服务的方法是什么?每个人都在使用KSoap库。Blackeberry SDK中是否没有本机支持来连接到webservice?
发布于 2010-08-26 18:17:12
我使用HttpConnecttion解决了我遇到的问题。
发布于 2010-11-11 02:09:34
用户JSR 172 172服务。有关更多信息,请参阅NetBeans / Java ME IDE/SDK文档。
发布于 2012-04-12 19:29:00
当我尝试通过Soap发送请求时,我使用Ksoap2进行blackberry应用程序开发,那么requestDump包含的值为
<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:c="http://www.w3.org/2001/12/soap-encoding" xmlns:v="http://schemas.xmlsoap.org/soap/envelope/"><v:Header /><v:Body><DownloadRetailerMobileApp xmlns="http://www.tibco.com/schemas/WSDL/Request.xsd" id="o0" c:root="1"><RetailerMSISDN>09886069494</RetailerMSISDN><RequestType>retailerowner</RequestType></DownloadRetailerMobileApp></v:Body></v:Envelope>我得到的responseDump是这样的
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns="">SOAP-ENV:Server</faultcode><faultstring xmlns="">RuntimeError: Internal Server Error</faultstring><faultactor xmlns=""/></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>然后它通过一个异常
org.xmlpull.v1.xmlpullParserException: expected:END_TAG{http://schemeas.xmlsoap.org/soap/envelop/}https://stackoverflow.com/questions/1984077
复制相似问题