webservice 问题

wqhelan wqhelan 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我想在 别人调用我的 webservice 的时候 在soap 中
如:
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>
<getDatabaseInfoResponse xmlns="http://WebXml.com.cn/">
<getDatabaseInfoResult>
<string>string</string>
<string>string</string>
</getDatabaseInfoResult>
</getDatabaseInfoResponse>
</soap:Body>
</soap:Envelope>


我在编写webservice到时候 能够 自定义 红色部分 <getDatabaseInfoResult> 这个节点的 名称

...全文
评论
收藏 已收藏
分享
返回顶部
wqhelan
Java 51,407 成员 86,126 内容