世界那么好,机会那么多

这里除了干货,什么都没有

line -1: Validation of SOAP-Encoded messages not supported



<
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:iot="http://iot.web.webservice.com"> <soapenv:Header/> <soapenv:Body><iot:delivery soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <username xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">account</username> <password xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">pwd</password> <id xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">12</id> <deliveryStatus xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">77</deliveryStatus> <deliveryTime xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">2019-02-11</deliveryTime> </iot:delivery> </soapenv:Body> </soapenv:Envelope>

 

 


在soapUI菜单栏 "File > Preferences",
然后 "Editor Settings",
去掉这项的勾选 "Abort on invalid requests".

 

 

以上解决使用SOAPUI工具调试webService接口遇到的问题

posted @ 2019-04-23 11:26  面向对象爱好者社区  阅读(530)  评论(0编辑  收藏  举报