我还是 android 和 SOAP 网络服务的新手……
我想在我的网络服务中询问有关给出请求和解析报告的问题。
这是原始的网络服务请求
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
<soapenv:Header/>
<soapenv:Body>
<urn:ZfmGenerateUuid>
<IvNumber>?</IvNumber>
<OListUuid>
<!--Zero or more repetitions:-->
<item>
<NoHandle>?</NoHandle>
<Uuid>?</Uuid>
<Uuid2>?</Uuid2>
</item>
</OListUuid>
</urn:ZfmGenerateUuid>
</soapenv:Body>
</soapenv:Envelope>
如果我们设置IvNumber = 4
, 并且没有像这样的 NoHandle、Uuid 和 Uuid2 输入
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
<soapenv:Header/>
<soapenv:Body>
<urn:ZfmGenerateUuid>
<IvNumber>4</IvNumber>
<OListUuid>
<!--Zero or more repetitions:-->
<item>
<NoHandle></NoHandle>
<Uuid></Uuid>
<Uuid2></Uuid2>
</item>
</OListUuid>
</urn:ZfmGenerateUuid>
</soapenv:Body>
</soapenv:Envelope>
结果会是这样
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<n0:ZfmGenerateUuidResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<OListUuid>
<item>
<NoHandle>1</NoHandle>
<Uuid>080027F5350A1ED2B98EBC7B96440955</Uuid>
<Uuid2>080027f5-350a-1ed2-b98e-bc7b96440955</Uuid2>
</item>
<item>
<NoHandle>2</NoHandle>
<Uuid>080027F5350A1ED2B98EBC7B96442955</Uuid>
<Uuid2>080027f5-350a-1ed2-b98e-bc7b96442955</Uuid2>
</item>
<item>
<NoHandle>3</NoHandle>
<Uuid>080027F5350A1ED2B98EBC7B96444955</Uuid>
<Uuid2>080027f5-350a-1ed2-b98e-bc7b96444955</Uuid2>
</item>
<item>
<NoHandle>4</NoHandle>
<Uuid>080027F5350A1ED2B98EBC7B96446955</Uuid>
<Uuid2>080027f5-350a-1ed2-b98e-bc7b96446955</Uuid2>
</item>
</OListUuid>
</n0:ZfmGenerateUuidResponse>
</soap-env:Body>
</soap-env:Envelope>
是否有任何教程或代码让我可以发出请求并使用该 SOAP?
感谢帮助...