postman调用WebServicer接口

一、webServie如下:

<wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://service.saleWaybill.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="WebServiceImplService" targetNamespace="http://service.saleWaybill.com">
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://service.saleWaybill.com" elementFormDefault="unqualified" targetNamespace="http://service.saleWaybill.com" version="1.0">
<xs:element name="SSKH001" type="tns:SSKH001"/>
<xs:complexType name="SSKH002">
<xs:sequence>
<xs:element form="qualified" minOccurs="0" name="compId" type="xs:string"/>
<xs:element form="qualified" minOccurs="0" name="revenueNo" type="xs:string"/>
<xs:element form="qualified" minOccurs="0" name="revenueItem" type="xs:string"/>
</xs:sequence>

<wsdl:portType name="WebService">
<wsdl:operation name="SSKH002">
<wsdl:input message="tns:SSKH002" name="SSKH002"></wsdl:input>
<wsdl:output message="tns:SSKH002Response" name="SSKH002Response"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="SSKH001">
<wsdl:input message="tns:SSKH001" name="SSKH001"></wsdl:input>
<wsdl:output message="tns:SSKH001Response" name="SSKH001Response"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="WebServiceImplServiceSoapBinding" type="tns:WebService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SSKH002">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="SSKH002">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="SSKH002Response">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="SSKH001">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="SSKH001">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="SSKH001Response">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="WebServiceImplService">
<wsdl:port binding="tns:WebServiceImplServiceSoapBinding" name="WebServiceImplPort">
<soap:address location="http://192.168.7.201:8102/services/saleWaybill"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

二、设置url:192.168.7.201:8102/services/saleWaybill由local指定在这里插入图片描述
三、设置header:Content-Type=text/xml;charset=utf-8
四、设置body格式 raw,xml

五、设置body内容

在这里插入图片描述
命名空间在此指定
在这里插入图片描述
方法名在此指定
在这里插入图片描述文章来源地址https://uudwc.com/A/Dzk8n

原文地址:https://blog.csdn.net/weixin_52472152/article/details/127962858

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请联系站长进行投诉反馈,一经查实,立即删除!

上一篇 2023年06月28日 18:15
关于Kali修改静态IP地址
下一篇 2023年06月28日 18:16