这是我想要发布的 XML 格式:
`<soap:Body>
<UploadImagesAndNotes xmlns="http://www.datadog.co.nz/
<UserId>string</UserId>
<Password>string</Password>
<MobileNumber>string</MobileNumber>
<Note>string</Note>
<JobNumber>int</JobNumber>
<GPSLatitude>decimal</GPSLatitude>
<GPSLongitude>decimal</GPSLongitude>
<Images>
<Image>
<ImageData>base64Binary</ImageData>
<ImageLatitude>decimal</ImageLatitude>
<ImageLongitude>decimal</ImageLongitude>
</Image>
<Image>
<ImageData>base64Binary</ImageData>
<ImageLatitude>decimal</ImageLatitude>
<ImageLongitude>decimal</ImageLongitude>
</Image>
</Images>
<Fowards>
<EmailAddress>string</EmailAddress>
<EmailAddress>string</EmailAddress>
</Fowards>
</UploadImagesAndNotes>
</soap:Body>
</soap:Envelope>`
我知道如何使用这个将它发送到服务器: -
`SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); //set up request
request.addProperty("GPSLatitude", lat);
request.addProperty("GPSLongitude", long);`
但我遇到了问题
`<Images>
<Image>`
如何设置这些节点值?