HTTP Error

From MTConnect® User's Portal
Jump to: navigation, search

Here is an example of an HTTP error:

  1. HTTP/1.1 200 Success
  2. Content-Type: text/xml; charset=UTF-8
  3. Server: Agent
  4. Date: Sun, 23 Dec 2007 21:10:19 GMT
  5.  
  6. <?xml version="1.0" encoding="UTF-8"?>
  7. <MTConnectError xmlns="urn:mtconnect.org:MTConnectError:1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:mtconnect.org:MTConnectError:1.1 http://www.mtconnect.org/schemas/MTConnectError_1.1.xsd">
  8.   <Header creationTime="2010-03-12T12:33:01" sender="localhost" version="1.1" bufferSize="131000" instanceId="1" />
  9.     <Errors>
  10.       <Error errorCode="OUT_OF_RANGE" >Argument was out of range</Error>
  11.       <Error errorCode="INVALID_XPATH" >Bad path</Error>
  12.     </Errors>
  13. </MTConnectError>