BUG#: 6024
authorkumpf <kumpf>
Tue, 23 Jan 2007 18:28:43 +0000 (18:28 +0000)
committerkumpf <kumpf>
Tue, 23 Jan 2007 18:28:43 +0000 (18:28 +0000)
TITLE: invokeMethod() objectReference parameter does not include hostname
DESCRIPTION: Pass an objectReference to invokeMethod() that is consistent with the other provider interfaces.

src/Pegasus/ProviderManager2/Default/DefaultProviderManager.cpp

index f8ca236875e5a0687ebfd36adb43008ccb62f522..8f0fef49a3f4b32d32c75fb682a9ac8564ba0cb8 100644 (file)
@@ -1361,11 +1361,6 @@ Message * DefaultProviderManager::handleInvokeMethodRequest(const Message * mess
                context.insert(request->operationContext.get(AcceptLanguageListContainer::NAME)); 
            context.insert(request->operationContext.get(ContentLanguageListContainer::NAME));  
 
-        CIMObjectPath instanceReference(request->instanceName);
-
-        // ATTN: propagate namespace
-        instanceReference.setNameSpace(request->nameSpace);
-
         // forward request
         STAT_PMS_PROVIDERSTART;
 
@@ -1377,7 +1372,7 @@ Message * DefaultProviderManager::handleInvokeMethodRequest(const Message * mess
 
         ph.GetProvider().invokeMethod(
             context,
-            instanceReference,
+            objectPath,
             request->methodName,
             request->inParameters,
             handler);