zoukankan      html  css  js  c++  java
  • 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接口遇到的问题

  • 相关阅读:
    图床_shell命令grep/egrep
    图床_shell命令vi/vim
    图床_shell命令tr
    图床_shell命令wc
    图床_shell命令vimdiff
    图床_shell命令diff
    图床_shell命令rev
    图床_shell命令cut
    图床_shell命令tail
    图床_shell命令head
  • 原文地址:https://www.cnblogs.com/QW-lzm/p/10755364.html
Copyright © 2011-2022 走看看