TA的每日心情 | 擦汗 昨天 09:02 |
---|
签到天数: 1042 天 连续签到: 4 天 [LV.10]测试总司令
|
一、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内容
命名空间在此指定:
方法名在此指定:
|
|