Advertisement
Guest User

Untitled

a guest
Apr 24th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.95 KB | None | 0 0
  1. POST /wsd/printservice.cgi HTTP/1.1
  2. Cache-Control: no-cache
  3. Connection: Keep-Alive
  4. Pragma: no-cache
  5. Content-Type: application/soap+xml
  6. User-Agent: WSDAPI
  7. Content-Length: 898
  8. Host: 192.168.1.152
  9.  
  10. <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:pri="http://schemas.microsoft.com/windows/2006/08/wdp/print"><soap:Header><wsa:To>http://192.168.1.152:80/wsd/printservice.cgi</wsa:To><wsa:Action>http://schemas.microsoft.com/windows/2006/08/wdp/print/GetPrinterElements</wsa:Action><wsa:MessageID>urn:uuid:b7a17b2e-f01e-4cc2-b3bd-6c9137adf6bf</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:From><wsa:Address>urn:uuid:d41f84ce-8157-40bb-808e-e96b4c1b585d</wsa:Address></wsa:From></soap:Header><soap:Body><pri:GetPrinterElementsRequest><pri:RequestedElements><pri:Name>pri:PrinterDescription</pri:Name></pri:RequestedElements></pri:GetPrinterElementsRequest></soap:Body></soap:Envelope>HTTP/1.1 200 OK
  11. MIME-Version: 1.0
  12. Server: KS_HTTP/1.0
  13. Content-Type: application/soap+xml; charset=utf-8
  14. Content-Length: 1735
  15. Connection: close
  16.  
  17. <?xml version='1.0' ?>
  18. <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wprt="http://schemas.microsoft.com/windows/2006/08/wdp/print" xmlns:cijn="http://www.canon.com/ns/wdp/2008/01/print">
  19.     <soap:Header>
  20.         <wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
  21.         <wsa:Action>http://schemas.xmlsoap.org/ws/2006/08/wdp/print/GetPrinterElementsResponse</wsa:Action>
  22.         <wsa:MessageID>urn:uuid:54c932b0-1e55-11b2-bd3b-180cacf5257b</wsa:MessageID>
  23.         <wsa:RelatesTo>urn:uuid:b7a17b2e-f01e-4cc2-b3bd-6c9137adf6bf</wsa:RelatesTo>
  24.     </soap:Header>
  25.     <soap:Body>
  26.         <wprt:GetPrinterElementsResponse>
  27.             <wprt:PrinterElements>
  28.                 <wprt:ElementData Name="wprt:PrinterDescription" Valid="true">
  29.                     <wprt:PrinterDescription>
  30.                         <wprt:ColorSupported>true</wprt:ColorSupported>
  31.                         <wprt:DeviceId>MFG:Canon;CMD:BJL,BJRaster3,BSCCe,NCCe,IVEC,IVECPLI;SOJ:BJNP2,BJNPe;MDL:MX450 series;CLS:PRINTER;DES:Canon MX450 series;VER:1.050;STA:10;FSI:04;HRI:2;MSI:DAT,E3,HFSF,JON,K21000700,LOFF;PDR:3;PSE:LUYD00452;CID:CA_IVEC1TYPE4_IJP;</wprt:DeviceId>
  32.                         <wprt:MultipleDocumentJobsSupported>false</wprt:MultipleDocumentJobsSupported>
  33.                         <wprt:PagesPerMinute>7</wprt:PagesPerMinute>
  34.                         <wprt:PagesPerMinuteColor>3</wprt:PagesPerMinuteColor>
  35.                         <wprt:PrinterName>Canon MX450 series Printer WS</wprt:PrinterName>
  36.                         <cijn:PseudoControl>true</cijn:PseudoControl>
  37.                         <cijn:EventControl>true</cijn:EventControl>
  38.                         <cijn:PrintDataStreamControl>true</cijn:PrintDataStreamControl>
  39.                     </wprt:PrinterDescription>
  40.                 </wprt:ElementData>
  41.             </wprt:PrinterElements>
  42.         </wprt:GetPrinterElementsResponse>
  43.     </soap:Body>
  44. </soap:Envelope>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement