2
나는 다음이 : 나는 이클립스를 사용하여 PC에 내 로컬 서버에서 사용할 때xmlpullparserexception : START_TAG
public String searchRecipes(String searchString, int pageNumber) throws Exception
{
SoapObject _client = new SoapObject("", "searchRecipes");
_client.addProperty("searchString", searchString);
_client.addProperty("pageNumber", pageNumber);
SoapSerializationEnvelope _envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
_envelope.bodyOut = _client;
Marshal dateMarshal = new MarshalDate();
dateMarshal.register(_envelope);
HttpTransportSE _ht = new HttpTransportSE(Configuration.getWsUrl());
_ht.call("", _envelope);
return _envelope.getResponse().toString();
}
그것은 잘 작동합니다. 나는 그것을 배포 할 때 는하지만 얻을 :
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <html>@1:6 in [email protected])
아무도 도와 드릴까요? 나는 1 주일 이상 그것을 직면하고있다 .........