51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 4638|回复: 1
打印 上一主题 下一主题

[原创] soapUI测试webservice求组,多谢

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2008-7-16 11:46:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
使用soapui测试webservice插入WSDL后其中一个soap如下:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:def="http://DefaultNamespace">
   <soapenv:Header/>
   <soapenv:Body>
      <def:sendOrder soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
         <orderClass xsi:type="xsd:string">?</orderClass>
         <orderString xsi:type="xsd:string">?</orderString>
      </def:sendOrder>
   </soapenv:Body>
</soapenv:Envelope>


测试时是不是将   <orderClass xsi:type="xsd:string">?</orderClass>
              <orderString xsi:type="xsd:string">?</orderString>
这里面的?赋值就可以发送了?

如果?是xml格式,含有<>如何转译?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

x
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2008-12-24 23:09:27 | 只看该作者
是的,然后点击run,就可以看到response了
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-21 04:39 , Processed in 0.059995 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表