1
我正在测试不同Web服务调用的性能,并想知道如何指定在响应中返回哪些字段。我在想,如果我只查询某些字段,会返回更少的信息,因此响应时间会更快。我怎样才能完成这种格式?Web服务调用返回
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://schemas.hp.com/SM/7" xmlns:com="http://schemas.hp.com/SM/7/Common" xmlns:xm="http://www.w3.org/2005/05/xmlmime">
<soapenv:Header/>
<soapenv:Body>
<ns:RetrieveChangeTaskListRequest>
<ns:model>
<ns:keys query="AssignedTo = "drake" and planned.start > '03/01/2016' and planned.start < tod()" ></ns:keys>
<ns:instance></ns:instance>
</ns:model>
</ns:RetrieveChangeTaskListRequest>
</soapenv:Body>
</soapenv:Envelope>