From: Chris B. <buc...@us...> - 2013-01-17 19:32:28
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "SFCB - Small Footprint CIM Broker". The branch, master has been updated via 7e458cea2bffa653336d76018d5d78085d8420b8 (commit) from 61bce03e4cf2f32721aa67809e7021f89201f112 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 7e458cea2bffa653336d76018d5d78085d8420b8 Author: buccella <buc...@li...> Date: Thu Jan 17 14:32:11 2013 -0500 [ 3601301 ] Add stubs for empty CMPI functions for internal providers ----------------------------------------------------------------------- Summary of changes: diff --git a/NEWS b/NEWS index c61b637..880abd6 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,7 @@ Bugs fixed: - 3600159 TestProviders should have their own Makefile - 3601026 Fixup compiler warnings from -Wextra - 3599437 missing include of <sys/resource.h> +- 3601301 Add stubs for empty CMPI functions for internal providers Changes in 1.4.3 ================ diff --git a/classProvider.c b/classProvider.c index ea406dd..6c35e00 100644 --- a/classProvider.c +++ b/classProvider.c @@ -959,8 +959,7 @@ ClassProviderSetClass(CMPIClassMI * mi, const CMPIResult *rslt, const CMPIObjectPath * cop, const CMPIConstClass * ci) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } static CMPIStatus @@ -1091,13 +1090,8 @@ loopOnChildCount(ClassRegister * cReg, char *cn, int *i, int ignprov) _SFCB_EXIT(); } -static CMPIStatus -ClassProviderMethodCleanup(CMPIMethodMI * mi, - const CMPIContext *ctx, CMPIBoolean terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - return st; -} +/* ClassProviderMethodCleanup */ +static CMPIStatus okCleanup(ClassProvider,Method); static CMPIStatus ClassProviderInvokeMethod(CMPIMethodMI * mi, diff --git a/classProviderCommon.h b/classProviderCommon.h index 3ac5472..a809ccc 100644 --- a/classProviderCommon.h +++ b/classProviderCommon.h @@ -31,6 +31,7 @@ #include "providerRegister.h" #include "trace.h" #include "control.h" +#include "sfcbmacs.h" #include "cmpi/cmpidt.h" #include "cmpi/cmpift.h" diff --git a/classProviderGz.c b/classProviderGz.c index 81301f4..e65bc12 100644 --- a/classProviderGz.c +++ b/classProviderGz.c @@ -864,8 +864,7 @@ ClassProviderCreateClass(CMPIClassMI * mi, const CMPIResult *rslt, const CMPIObjectPath * ref, const CMPIConstClass * cc) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } static CMPIStatus @@ -874,8 +873,7 @@ ClassProviderSetClass(CMPIClassMI * mi, const CMPIResult *rslt, const CMPIObjectPath * cop, const CMPIConstClass * ci) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } static CMPIStatus @@ -883,8 +881,7 @@ ClassProviderDeleteClass(CMPIClassMI * mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath * cop) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } /* @@ -965,13 +962,8 @@ loopOnChildCount(ClassRegister * cReg, char *cn, int *i, int ignprov) _SFCB_EXIT(); } -static CMPIStatus -ClassProviderMethodCleanup(CMPIMethodMI * mi, - const CMPIContext *ctx, CMPIBoolean terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - return st; -} +/* ClassProviderMethodCleanup */ +static CMPIStatus okCleanup(ClassProvider,Method); static CMPIStatus ClassProviderInvokeMethod(CMPIMethodMI * mi, diff --git a/classProviderMem.c b/classProviderMem.c index d654141..8fb6430 100644 --- a/classProviderMem.c +++ b/classProviderMem.c @@ -780,8 +780,7 @@ ClassProviderSetClass(CMPIClassMI * mi, const CMPIResult *rslt, const CMPIObjectPath * cop, const CMPIConstClass * ci) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } static CMPIStatus @@ -912,13 +911,8 @@ loopOnChildCount(ClassRegister * cReg, char *cn, int *i, int ignprov) _SFCB_EXIT(); } -static CMPIStatus -ClassProviderMethodCleanup(CMPIMethodMI * mi, - const CMPIContext *ctx, CMPIBoolean terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - return st; -} +/* ClassProviderMethodCleanup */ +static CMPIStatus okCleanup(ClassProvider,Method); static CMPIStatus ClassProviderInvokeMethod(CMPIMethodMI * mi, diff --git a/classProviderSf.c b/classProviderSf.c index d83b349..4fc48a5 100644 --- a/classProviderSf.c +++ b/classProviderSf.c @@ -1240,8 +1240,7 @@ ClassProviderCreateClass(CMPIClassMI * mi, const CMPIResult *rslt, const CMPIObjectPath * ref, const CMPIConstClass * cc) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } static CMPIStatus @@ -1250,8 +1249,7 @@ ClassProviderSetClass(CMPIClassMI * mi, const CMPIResult *rslt, const CMPIObjectPath * cop, const CMPIConstClass * ci) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } static CMPIStatus @@ -1259,8 +1257,7 @@ ClassProviderDeleteClass(CMPIClassMI * mi, const CMPIContext *ctx, const CMPIResult *rslt, const CMPIObjectPath * cop) { - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; + return notSupSt; } /* @@ -1363,13 +1360,8 @@ loopOnChildCount(ClassRegister * cReg, char *cn, int *i, int ignprov) _SFCB_EXIT(); } -static CMPIStatus -ClassProviderMethodCleanup(CMPIMethodMI * mi, - const CMPIContext *ctx, CMPIBoolean terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - return st; -} +/* ClassProviderMethodCleanup */ +static CMPIStatus okCleanup(ClassProvider,Method); static CMPIStatus ClassProviderInvokeMethod(CMPIMethodMI * mi, diff --git a/elementCapabilitiesProvider.c b/elementCapabilitiesProvider.c index 4fbaa5f..5270713 100644 --- a/elementCapabilitiesProvider.c +++ b/elementCapabilitiesProvider.c @@ -40,6 +40,7 @@ #include "native.h" #include "control.h" #include "config.h" +#include "sfcbmacs.h" #define NEW(x) ((x *) malloc(sizeof(x))) @@ -50,7 +51,6 @@ #include "cmpimacsx.h" static const CMPIBroker *_broker; -static CMPIStatus okSt = { CMPI_RC_OK, NULL }; void ElementCapabilitiesInitInstances(const CMPIContext *ctx) @@ -142,13 +142,8 @@ ElementCapabilitiesReferenceNames(CMPIAssociationMI * mi, return okSt; } -CMPIStatus -ElementCapabilitiesAssociationCleanup(CMPIAssociationMI * mi, - const CMPIContext *ctx, - CMPIBoolean terminate) -{ - return okSt; -} +/* ElementCapabilitiesAssociationCleanup */ +static CMPIStatus okCleanup(ElementCapabilities,Association); static CMPIAssociationMIFT assocMIFT__ElementCapabilities = { CMPICurrentVersion, diff --git a/internalProvider.c b/internalProvider.c index 56e8f8c..75931c4 100644 --- a/internalProvider.c +++ b/internalProvider.c @@ -35,6 +35,7 @@ #include "internalProvider.h" #include "native.h" #include "objectpath.h" +#include "sfcbmacs.h" #define LOCALCLASSNAME "InternalProvider" @@ -47,16 +48,10 @@ extern CMPIInstance *relocateSerializedInstance(void *area); extern char *sfcb_value2Chars(CMPIType type, CMPIValue * value); extern CMPIObjectPath *getObjectPath(char *path, char **msg); extern CMPIBroker *Broker; -//extern UtilStringBuffer *newStringBuffer(int s); extern void setStatus(CMPIStatus *st, CMPIrc rc, const char *msg); static const CMPIBroker *_broker; -/* - * static int cpy2lower(char *in, char *out) { int i = 0; while ((out[i] = - * tolower(in[i++])) != 0); return i - 1; } - */ - static CMPIInstance * instifyBlob(void *blob) { @@ -534,17 +529,8 @@ InternalProviderDeleteInstance(CMPIInstanceMI __attribute__ ((unused)) *mi, _SFCB_RETURN(st); } -CMPIStatus -InternalProviderExecQuery(CMPIInstanceMI __attribute__ ((unused)) *mi, - const CMPIContext __attribute__ ((unused)) *ctx, - const CMPIResult __attribute__ ((unused)) *rslt, - const CMPIObjectPath __attribute__ ((unused)) *cop, - const char __attribute__ ((unused)) *lang, - const char __attribute__ ((unused)) *query) -{ - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - return st; -} +/* InternalProviderExecQuery */ +static CMPIStatus notSupCMPI_EQ(InternalProvider); /* * ------------------------------------------------------------------ * @@ -790,17 +776,8 @@ getRefs(const CMPIContext *ctx, const CMPIResult *rslt, } } -CMPIStatus -InternalProviderAssociationCleanup(CMPIAssociationMI __attribute__ ((unused)) *mi, - const CMPIContext __attribute__ ((unused)) *ctx, - CMPIBoolean __attribute__ ((unused)) terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - _SFCB_ENTER(TRACE_INTERNALPROVIDER, - "InternalProviderAssociationCleanup"); - - _SFCB_RETURN(st); -} +/* InternalProviderAssociationCleanup */ +static CMPIStatus okCleanup(InternalProvider,Association); CMPIStatus InternalProviderAssociators(CMPIAssociationMI __attribute__ ((unused)) *mi, @@ -871,28 +848,11 @@ InternalProviderReferenceNames(CMPIAssociationMI __attribute__ ((unused)) *mi, * ------------------------------------------------------------------ */ -CMPIStatus -InternalProviderMethodCleanup(CMPIMethodMI __attribute__ ((unused)) *mi, - const CMPIContext __attribute__ ((unused)) *ctx, - CMPIBoolean __attribute__ ((unused)) terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - return st; -} +/* InternalProviderMethodCleanup */ +static CMPIStatus okCleanup(InternalProvider,Method); -CMPIStatus -InternalProviderInvokeMethod(CMPIMethodMI __attribute__ ((unused)) *mi, - const CMPIContext __attribute__ ((unused)) *ctx, - const CMPIResult __attribute__ ((unused)) *rslt, - const CMPIObjectPath __attribute__ ((unused)) *ref, - const char __attribute__ ((unused)) *methodName, - const CMPIArgs __attribute__ ((unused)) *in, - CMPIArgs __attribute__ ((unused)) *out) -{ - _SFCB_ENTER(TRACE_INTERNALPROVIDER, "InternalProviderInvokeMethod"); - CMReturnWithChars(_broker, CMPI_RC_ERR_FAILED, - "DefaultProvider does not support invokeMethod operations"); -} +/* InternalProviderInvokeMethod */ +static CMPIStatus notSupCMPI_IM(InternalProvider); /* * ------------------------------------------------------------------ * @@ -900,39 +860,14 @@ InternalProviderInvokeMethod(CMPIMethodMI __attribute__ ((unused)) *mi, * ------------------------------------------------------------------ */ -CMPIStatus -InternalProviderPropertyCleanup(CMPIPropertyMI __attribute__ ((unused)) *mi, - const CMPIContext __attribute__ ((unused)) *ctx, - CMPIBoolean __attribute__ ((unused)) terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - return st; -} +/* InternalProviderPropertyCleanup */ +static CMPIStatus okCleanup(InternalProvider,Property); -CMPIStatus -InternalProviderSetProperty(CMPIPropertyMI __attribute__ ((unused)) *mi, - const CMPIContext __attribute__ ((unused)) *ctx, - const CMPIResult __attribute__ ((unused)) *rslt, - const CMPIObjectPath __attribute__ ((unused)) *ref, - const char __attribute__ ((unused)) *propName, - const CMPIData __attribute__ ((unused)) data) -{ - _SFCB_ENTER(TRACE_INTERNALPROVIDER, "InternalProviderSetProperty"); - CMReturnWithChars(_broker, CMPI_RC_ERR_FAILED, - "DefaultProvider does not support property operations"); -} +/* InternalProviderSetProperty */ +static CMPIStatus notSupCMPI_SP(InternalProvider); -CMPIStatus -InternalProviderGetProperty(CMPIPropertyMI __attribute__ ((unused)) *mi, - const CMPIContext __attribute__ ((unused)) *ctx, - const CMPIResult __attribute__ ((unused)) *rslt, - const CMPIObjectPath __attribute__ ((unused)) *ref, - const char __attribute__ ((unused)) *propName) -{ - _SFCB_ENTER(TRACE_INTERNALPROVIDER, "InternalProviderGetProperty"); - CMReturnWithChars(_broker, CMPI_RC_ERR_FAILED, - "DefaultProvider does not support property operations"); -} +/* InternalProviderGetProperty */ +static CMPIStatus notSupCMPI_GP(InternalProvider); /* * ------------------------------------------------------------------ * diff --git a/interopProvider.c b/interopProvider.c index 47862f2..97c5771 100644 --- a/interopProvider.c +++ b/interopProvider.c @@ -23,6 +23,8 @@ #include "cmpi/cmpift.h" #include "cmpi/cmpimacs.h" +#include "sfcbmacs.h" + #include <stdlib.h> #include <string.h> #include <ctype.h> @@ -1484,21 +1486,8 @@ InteropProviderDeleteInstance(CMPIInstanceMI * mi, _SFCB_RETURN(st); } -/* - * ------------------------------------------------------------------------- - */ - -CMPIStatus -InteropProviderExecQuery(CMPIInstanceMI * mi, - const CMPIContext *ctx, - const CMPIResult *rslt, - const CMPIObjectPath * cop, - const char *lang, const char *query) -{ - CMPIStatus st = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; - _SFCB_ENTER(TRACE_INDPROVIDER, "InteropProviderExecQuery"); - _SFCB_RETURN(st); -} +/* InteropProviderExecQuery */ +static CMPIStatus notSupCMPI_EQ(InteropProvider); /* * -------------------------------------------------------------------------- @@ -1510,14 +1499,9 @@ InteropProviderExecQuery(CMPIInstanceMI * mi, * -------------------------------------------------------------------------- */ -CMPIStatus -InteropProviderMethodCleanup(CMPIMethodMI * mi, - const CMPIContext *ctx, CMPIBoolean terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - _SFCB_ENTER(TRACE_INDPROVIDER, "InteropProviderMethodCleanup"); - _SFCB_RETURN(st); -} +/* InteropProviderMethodCleanup */ +static CMPIStatus okCleanup(InteropProvider,Method); + /* * ------------------------------------------------------------------------- @@ -1716,15 +1700,8 @@ InteropProviderInvokeMethod(CMPIMethodMI * mi, * -------------------------------------------------------------------------- */ -CMPIStatus -InteropProviderAssociationCleanup(CMPIAssociationMI * mi, - const CMPIContext *ctx, - CMPIBoolean terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - _SFCB_ENTER(TRACE_INDPROVIDER, "InteropProviderAssociationCleanup"); - _SFCB_RETURN(st); -} +/* InteropProviderAssociationCleanup */ +static CMPIStatus okCleanup(InteropProvider,Association); /* * ------------------------------------------------------------------------- diff --git a/interopServerProvider.c b/interopServerProvider.c index 5c864a4..7b096ae 100644 --- a/interopServerProvider.c +++ b/interopServerProvider.c @@ -46,6 +46,7 @@ #include "control.h" #include "config.h" #include "objectpath.h" +#include "sfcbmacs.h" #define NEW(x) ((x *) malloc(sizeof(x))) @@ -57,8 +58,6 @@ static const CMPIBroker *_broker; static CMPIStatus invClassSt = { CMPI_RC_ERR_INVALID_CLASS, NULL }; -static CMPIStatus notSuppSt = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; -static CMPIStatus okSt = { CMPI_RC_OK, NULL }; // ------------------------------------------------------------------ @@ -719,9 +718,7 @@ static CMPIStatus ServerProviderCleanup(CMPIInstanceMI * mi, const CMPIContext *ctx, CMPIBoolean terminate) { - CMPIStatus st = { CMPI_RC_OK, NULL }; - - return (st); + return okSt; } static CMPIStatus @@ -814,15 +811,8 @@ ServerProviderEnumInstances(CMPIInstanceMI * mi, return okSt; } -static CMPIStatus -ServerProviderCreateInstance(CMPIInstanceMI * mi, - const CMPIContext *ctx, - const CMPIResult *rslt, - const CMPIObjectPath * cop, - const CMPIInstance *ci) -{ - return notSuppSt; -} +/* ServerProviderCreateInstance */ +static CMPIStatus notSupCMPI_CI(ServerProvider); static CMPIStatus ServerProviderModifyInstance(CMPIInstanceMI * mi, @@ -832,7 +822,7 @@ ServerProviderModifyInstance(CMPIInstanceMI * mi, const CMPIInstance *ci, const char **properties) { - CMPIStatus rc = { CMPI_RC_ERR_NOT_SUPPORTED, 0 }; + CMPIStatus rc = notSupSt; CMPIContext *ctxLocal; CMPIValue val; @@ -871,24 +861,11 @@ ServerProviderModifyInstance(CMPIInstanceMI * mi, return rc; } -static CMPIStatus -ServerProviderDeleteInstance(CMPIInstanceMI * mi, - const CMPIContext *ctx, - const CMPIResult *rslt, - const CMPIObjectPath * ref) -{ - return notSuppSt; -} +/* ServerProviderDeleteInstance */ +static CMPIStatus notSupCMPI_DI(ServerProvider); -static CMPIStatus -ServerProviderExecQuery(CMPIInstanceMI * mi, - const CMPIContext *ctx, - const CMPIResult *rslt, - const CMPIObjectPath * cop, - const char *lang, const char *query) -{ - return notSuppSt; -} +/* ServerProviderExecQuery */ +static CMPIStatus notSupCMPI_EQ(ServerProvider); void ServerProviderInitInstances(const CMPIContext *ctx) @@ -930,16 +907,8 @@ CMInstanceMIStub(ServerProvider, ServerProvider, _broker, /*---------------------- Association interface --------------------------*/ -CMPIStatus -ServerProviderAssociationCleanup(CMPIAssociationMI * mi, - const CMPIContext *ctx, - CMPIBoolean terminate) -{ - CMPIStatus st = { CMPI_RC_OK, NULL }; - _SFCB_ENTER(TRACE_PROVIDERS, "ServerProviderAssociationCleanup"); - - _SFCB_RETURN(st); -} +/* ServerProviderAssociationCleanup */ +static CMPIStatus okCleanup(ServerProvider,Association); /** \brief buildAssoc - Builds the Association instances * diff --git a/sfcbmacs.h b/sfcbmacs.h new file mode 100644 index 0000000..07fcf60 --- /dev/null +++ b/sfcbmacs.h @@ -0,0 +1,56 @@ +/* + * Helper macros for SFCB + */ + +static CMPIStatus __attribute__ ((unused)) notSupSt = { CMPI_RC_ERR_NOT_SUPPORTED, NULL }; +static CMPIStatus okSt = { CMPI_RC_OK, NULL }; + +#define notSupCMPI_EQ(pfx) \ + pfx##ExecQuery(CMPIInstanceMI __attribute__ ((unused)) *mi, \ + const CMPIContext __attribute__ ((unused)) *ctx, \ + const CMPIResult __attribute__ ((unused)) *rslt, \ + const CMPIObjectPath __attribute__ ((unused)) * cop, \ + const char __attribute__ ((unused)) *lang, \ + const char __attribute__ ((unused)) *query) { return notSupSt; } + +#define notSupCMPI_CI(pfx) \ + pfx##CreateInstance(CMPIInstanceMI __attribute__ ((unused)) *mi, \ + const CMPIContext __attribute__ ((unused)) *ctx, \ + const CMPIResult __attribute__ ((unused)) *rslt, \ + const CMPIObjectPath __attribute__ ((unused)) * cop, \ + const CMPIInstance __attribute__ ((unused)) *ci) { return notSupSt; } + +#define notSupCMPI_DI(pfx) \ + pfx##DeleteInstance(CMPIInstanceMI __attribute__ ((unused)) *mi, \ + const CMPIContext __attribute__ ((unused)) *ctx, \ + const CMPIResult __attribute__ ((unused)) *rslt, \ + const CMPIObjectPath __attribute__ ((unused)) * cop) { return notSupSt; } + +#define notSupCMPI_SP(pfx) \ + pfx##SetProperty(CMPIPropertyMI __attribute__ ((unused)) *mi, \ + const CMPIContext __attribute__ ((unused)) *ctx, \ + const CMPIResult __attribute__ ((unused)) *rslt, \ + const CMPIObjectPath __attribute__ ((unused)) *ref, \ + const char __attribute__ ((unused)) *propName, \ + const CMPIData __attribute__ ((unused)) data) { return notSupSt; } + +#define notSupCMPI_GP(pfx) \ + pfx##GetProperty(CMPIPropertyMI __attribute__ ((unused)) *mi, \ + const CMPIContext __attribute__ ((unused)) *ctx, \ + const CMPIResult __attribute__ ((unused)) *rslt, \ + const CMPIObjectPath __attribute__ ((unused)) *ref, \ + const char __attribute__ ((unused)) *propName) { return notSupSt; } + +#define notSupCMPI_IM(pfx) \ + pfx##InvokeMethod(CMPIMethodMI __attribute__ ((unused)) *mi, \ + const CMPIContext __attribute__ ((unused)) *ctx, \ + const CMPIResult __attribute__ ((unused)) *rslt, \ + const CMPIObjectPath __attribute__ ((unused)) *ref, \ + const char __attribute__ ((unused)) *methodName, \ + const CMPIArgs __attribute__ ((unused)) *in, \ + CMPIArgs __attribute__ ((unused)) *out) { return notSupSt; } + +#define okCleanup(pfx,mi) \ + pfx##mi##Cleanup(CMPI##mi##MI __attribute__ ((unused)) *mi, \ + const CMPIContext __attribute__ ((unused)) *ctx, \ + CMPIBoolean __attribute__ ((unused)) terminate) { return okSt; } diff --git a/test/xmltest/GetProperty.OK b/test/xmltest/GetProperty.OK index a5cd18a..ef8e4b2 100644 --- a/test/xmltest/GetProperty.OK +++ b/test/xmltest/GetProperty.OK @@ -3,7 +3,7 @@ <MESSAGE ID="4711" PROTOCOLVERSION="1.0"> <SIMPLERSP> <IMETHODRESPONSE NAME="GetProperty"> -<ERROR CODE="1" DESCRIPTION="DefaultProvider does not support property operations"/> +<ERROR CODE="7" DESCRIPTION="The requested operation is not supported"/> </IMETHODRESPONSE> </SIMPLERSP> </MESSAGE> diff --git a/test/xmltest/SetProperty.OK b/test/xmltest/SetProperty.OK index 3b97e4b..0a72a6e 100644 --- a/test/xmltest/SetProperty.OK +++ b/test/xmltest/SetProperty.OK @@ -3,7 +3,7 @@ <MESSAGE ID="4711" PROTOCOLVERSION="1.0"> <SIMPLERSP> <IMETHODRESPONSE NAME="SetProperty"> -<ERROR CODE="1" DESCRIPTION="DefaultProvider does not support property operations"/> +<ERROR CODE="7" DESCRIPTION="The requested operation is not supported"/> </IMETHODRESPONSE> </SIMPLERSP> </MESSAGE> diff --git a/test/xmltest/callmethod.lines b/test/xmltest/callmethod.lines index 92866c0..4da7299 100644 --- a/test/xmltest/callmethod.lines +++ b/test/xmltest/callmethod.lines @@ -1,3 +1,3 @@ <METHODRESPONSE NAME="SayHello"> -<ERROR CODE="1" DESCRIPTION="DefaultProvider does not support invokeMethod operations"/> +<ERROR CODE="7" DESCRIPTION="The requested operation is not supported"/> </METHODRESPONSE> hooks/post-receive -- SFCB - Small Footprint CIM Broker |