WebService
单击此处,获取完整的操作列表。
getPrintInstruction
测试
测试窗体只能用于来自本地计算机的请求。SOAP 1.1
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /WebService.asmx HTTP/1.1 Host: jpxinqu.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/getPrintInstruction" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <getPrintInstruction xmlns="http://tempuri.org/"> <printer>string</printer> <lbname>string</lbname> <lbwidth>string</lbwidth> <lbhight>string</lbhight> <lbspace>string</lbspace> <lbrows1type>string</lbrows1type> <lbrows1str>string</lbrows1str> <lbrows2type>string</lbrows2type> <lbrows2str>string</lbrows2str> <lbrows3type>string</lbrows3type> <lbrows3str>string</lbrows3str> <lbrows4type>string</lbrows4type> <lbrows4str>string</lbrows4str> <lbrows5type>string</lbrows5type> <lbrows5str>string</lbrows5str> <lbrows6type>string</lbrows6type> <lbrows6str>string</lbrows6str> <lbrows7type>string</lbrows7type> <lbrows7str>string</lbrows7str> <lbrows8type>string</lbrows8type> <lbrows8str>string</lbrows8str> <lbrows9type>string</lbrows9type> <lbrows9str>string</lbrows9str> <lbrows10type>string</lbrows10type> <lbrows10str>string</lbrows10str> </getPrintInstruction> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <getPrintInstructionResponse xmlns="http://tempuri.org/"> <getPrintInstructionResult>string</getPrintInstructionResult> </getPrintInstructionResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。
POST /WebService.asmx HTTP/1.1 Host: jpxinqu.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <getPrintInstruction xmlns="http://tempuri.org/"> <printer>string</printer> <lbname>string</lbname> <lbwidth>string</lbwidth> <lbhight>string</lbhight> <lbspace>string</lbspace> <lbrows1type>string</lbrows1type> <lbrows1str>string</lbrows1str> <lbrows2type>string</lbrows2type> <lbrows2str>string</lbrows2str> <lbrows3type>string</lbrows3type> <lbrows3str>string</lbrows3str> <lbrows4type>string</lbrows4type> <lbrows4str>string</lbrows4str> <lbrows5type>string</lbrows5type> <lbrows5str>string</lbrows5str> <lbrows6type>string</lbrows6type> <lbrows6str>string</lbrows6str> <lbrows7type>string</lbrows7type> <lbrows7str>string</lbrows7str> <lbrows8type>string</lbrows8type> <lbrows8str>string</lbrows8str> <lbrows9type>string</lbrows9type> <lbrows9str>string</lbrows9str> <lbrows10type>string</lbrows10type> <lbrows10str>string</lbrows10str> </getPrintInstruction> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <getPrintInstructionResponse xmlns="http://tempuri.org/"> <getPrintInstructionResult>string</getPrintInstructionResult> </getPrintInstructionResponse> </soap12:Body> </soap12:Envelope>