The Java CIM Client's listener needs to make sure it is receiving an XML request by verifying the Content-Type, if present in the HTTP header, is either application/xml or text/xml. HTTP headers received from IBM's CIMOMs are as follows:
HOST: 18.104.22.168:5999 CIMExportMethod: ExportIndication Content-Type: application/xml; charset="utf-8" content-length: 0000000971 CIMExport: MethodRequest TE: chunked, trailers
CIMExport: MethodRequest Connection: Keep-Alive, TE Content-type: application/xml; charset="utf-8" Expect: 100-continue CIMExportMethod: ExportIndication CIMProtocolVersion: 1.0 Content-Length: 1154 Host: 22.214.171.124:5999 Accept: */*
Log in to post a comment.