version 1.49, 2004/10/17 20:39:52
|
version 1.50, 2004/11/16 18:16:47
|
|
|
XmlEntry entry; | XmlEntry entry; |
String messageId; | String messageId; |
const char* cimExportMethodName = ""; | const char* cimExportMethodName = ""; |
Message* request; |
AutoPtr<Message> request; |
| |
try | try |
{ | { |
|
|
| |
if (System::strcasecmp(cimExportMethodName, "ExportIndication") == 0) | if (System::strcasecmp(cimExportMethodName, "ExportIndication") == 0) |
{ | { |
request = decodeExportIndicationRequest(queueId, parser, messageId, requestUri); |
request.reset(decodeExportIndicationRequest(queueId, parser, messageId, requestUri)); |
} | } |
else | else |
{ | { |
|
|
// by the export client, ignore Accept-Language in the export request. | // by the export client, ignore Accept-Language in the export request. |
// This will cause any export error response message to be sent in the | // This will cause any export error response message to be sent in the |
// default language. | // default language. |
CIMMessage * cimmsg = dynamic_cast<CIMMessage *>(request); |
CIMMessage * cimmsg = dynamic_cast<CIMMessage *>(request.get()); |
if (cimmsg != NULL) | if (cimmsg != NULL) |
{ | { |
cimmsg->operationContext.insert(IdentityContainer(userName)); | cimmsg->operationContext.insert(IdentityContainer(userName)); |
|
|
} | } |
// l10n end | // l10n end |
| |
_outputQueue->enqueue(request); |
_outputQueue->enqueue(request.release()); |
} | } |
| |
CIMExportIndicationRequestMessage* CIMExportRequestDecoder::decodeExportIndicationRequest( | CIMExportIndicationRequestMessage* CIMExportRequestDecoder::decodeExportIndicationRequest( |