我什至不确定这是否就是我想要做的事情,但我需要向服务器发送一些看起来像这样的东西
<ECMMAID>int</ECMMAID>
<appIncData>
<int_inc_num>int</int_inc_num>
<respTime>dateTime</respTime>
<arriveTime>dateTime</arriveTime>
<sceneControlledTime>dateTime</sceneControlledTime>
<retStationTime>dateTime</retStationTime>
<sceneClearedTime>dateTime</sceneClearedTime>
<assist>boolean</assist>
<unitNotes>string</unitNotes>
<incidentPath>string</incidentPath>
<totalCalculatedFromThePathMiles>double</totalCalculatedFromThePathMiles>
<startOdmeterMilage>double</startOdmeterMilage>
<endOdmeterMilage>double</endOdmeterMilage>
<startEngineHours>double</startEngineHours>
<startPumpHoursReading>double</startPumpHoursReading>
<engineHours>double</engineHours>
<currentPumpHoursReading>double</currentPumpHoursReading>
</appIncData>
现在,我使用过的所有其他 Web 服务ksoap
一直只是一堆具有值的属性,但没有在标签下有属性子项的地方
基本上就是这样
request.addProperty("ECMMAID","");
request.addProperty("Name",);
request.addProperty("Content",);
request.addProperty("STID",);
request.addProperty("IncNum",);
request.addProperty("Notes","");
request.addProperty("uploader",);
我如何在 ksoap 中发送我需要的东西,或者我应该只使用HttpPost?