大家好,最近小弟使用koap调用webservice, webservice中提供getRes(String res)方法接口,
参数 res  是xml格式的字符串。 调用错误如下:
02-20 12:54:52.861: W/System.err(1378): SoapFault - faultcode: 'soap:Server' faultstring: 'Error on line 1 of document  : The up in the document preceding the root element must be well-formed. Nested exception: The up in the document preceding the root element must be well-formed.' faultactor: 'null' detail: null
我想问下 xml字符串是不是需要特殊处理? 有没有哪位大神有这方面的经验,请多多指教。