查看完整版本: soapUI测试webservice求组,多谢

gothkia 2008-7-16 11:46

soapUI测试webservice求组,多谢

使用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格式,含有<>如何转译?
页: [1]
查看完整版本: soapUI测试webservice求组,多谢