为了完成软件工程学的大作业,需要自己搭建webservice,然后Android端与服务器进行交互。
连接服务器时,httpTransportSE.call(null, soapSerializationEnvelope)直接跳出, 用HttpURLConnection 连接时,OutputStream out = conn.getOutputStream()到这句话也跳出了。
本来以为会是服务器端的问题,后面才发现没有配置网络权限。。。
为了完成软件工程学的大作业,需要自己搭建webservice,然后Android端与服务器进行交互。
连接服务器时,httpTransportSE.call(null, soapSerializationEnvelope)直接跳出, 用HttpURLConnection 连接时,OutputStream out = conn.getOutputStream()到这句话也跳出了。
本来以为会是服务器端的问题,后面才发现没有配置网络权限。。。