webservice 问题

wqhelan 2012-06-28 02:55:11
我想在 别人调用我的 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> 这个节点的 名称

...全文
89 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
刚学WebService就遇到一个问题,按视屏敲的代码,它生成的wsdl页面与自己的不一样,我的没有types,结构完全不同了 This XML file does not appear to have any style information associated with it. The document tree is shown below.

51,407

社区成员

发帖
与我相关
我的任务
社区描述
Java相关技术讨论
javaspring bootspring cloud 技术论坛(原bbs)
社区管理员
  • Java相关社区
  • 小虚竹
  • 谙忆
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧