0
我可以幫我解決這個問題嗎? 我必須在java中開發一個web服務。這必須返回下面的XML。 我不知道如何返回多個值,就像在Java中java webservice多值返回
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Response xmlns="http://tempuri.org/">
<Result>int</Result>
<strReturn>string</strReturn>
</Response>
</soap:Body>
</soap:Envelope>