ksoap2-android 客户端在 [KeepAlive]HttpsTransportSE.call() 内抛出 FileNotFoundException
我正在尝试创建一个 Android (2.2) SOAP 客户端来连接到 SQL Server 2005 XML Web 服务端点(当然这需要身份验证)。我的 SQL Server 端点似乎已启动并正在运行(这是一个简单的函数,它接受一个字符串 (varchar(20))并返回另一个字符串;URL“https://10.1.1.20:444/dt2?wsdl”正确返回WSDL XML。(我没有在连接字符串中使用 URL 的“?wsdl”部分;我只是提及它以表明 Web 服务正常工作。)
一切似乎都运行良好,直到我进入其中。调用 KeepAliveHttpsTransportSE.call() (使用 ksoap2-android 2.5.4),并到达 HttpTransportSE.class:150,其中调用 (ServiceConnection)connection.openInputStream() ,进而调用 connection.getInputStream() - 即是什么引发了 FileNotFoundException。
知道这里发生了什么吗?感谢您的任何意见。
I am attempting to create an Android (2.2) SOAP client to connect to a SQL Server 2005 XML Web Services endpoint (and of course this requires authentication). My SQL Server endpoint seems to be up and running (it's a simple function which takes a string (varchar(20)) and returns another string; the URL "https://10.1.1.20:444/dt2?wsdl" properly returns the WSDL XML. (I am not using the "?wsdl" part of the URL in my connection string; I just mention it to show the web service is working properly.)
All seems to be working well, until I am inside the call to KeepAliveHttpsTransportSE.call() (using ksoap2-android 2.5.4), and get to HttpTransportSE.class:150, where (ServiceConnection)connection.openInputStream() is called, which in turn calls connection.getInputStream() - that is what throws the FileNotFoundException.
Any idea what's happening here? What is a good next debugging step? Thanks for any input.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有关更多详细信息和问题的答案,请参阅以下问题: 获取 ParsingError , SQL Server SOAP 请求上的 InvalidSoapActionHeader
See the following question for more detail and the answer to the problem: Getting ParsingError, InvalidSoapActionHeader on SQL Server SOAP request