一、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://www.toymoban.com/news/detail-504344.html
命名空间在此指定
方法名在此指定
文章来源地址https://www.toymoban.com/news/detail-504344.html
到了这里,关于postman调用WebServicer接口的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!