【发布时间】:2012-09-12 12:05:39
【问题描述】:
我无法在 android 应用程序中调用以下 Web 服务。 http://seba:pl,%5Dd77@www.bjadi.com/administrator/components/com_ivmstore/ivmwebservices/vmcategory.php
我的 logcat 出现以下错误 -
java.io.FileNotFoundException: http://seba:pl,%5Dd77@www.bjadi.com/administrator/components/com_ivmstore/ivmwebservices/ivmsettings.php 09-12 17:32:16.098: W/System.err(1575): 在 org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:1162)
请确保我在 url 中传递用户名/密码。
谁能指导我如何实现它?
【问题讨论】:
-
我相信您需要将其设置为
requestHeader
标签: android web-services malformedurlexception