fixed serialization
diff --git a/examples/win32_service.c b/examples/win32_service.c
index 4c400f4..5c96e4e 100644
--- a/examples/win32_service.c
+++ b/examples/win32_service.c
@@ -168,7 +168,7 @@
node = ws_xml_get_child(node, 0, XML_NS_ENUMERATION, WSENUM_PULL_RESP);
node = ws_xml_get_child(node, 0, XML_NS_ENUMERATION, WSENUM_ITEMS);
if (ws_xml_get_child(node, 0, RESOURCE_URI , CLASSNAME )) {
- CIM_Servie *service = ws_deserialize(wsmc_get_context(cl),
+ CIM_Servie *service = ws_deserialize( wsmc_get_serialization_context( cl ),
node,
CIM_Servie_TypeInfo, CLASSNAME,
RESOURCE_URI, NULL,
@@ -208,7 +208,7 @@
{ NULL }
};
- u_option_context_t *opt_ctx;
+ u_option_context_t *opt_ctx;
opt_ctx = u_option_context_new("");
u_option_context_set_ignore_unknown_options(opt_ctx, FALSE);
u_option_context_add_main_entries(opt_ctx, opt, "Win32 Service");
@@ -240,7 +240,7 @@
uri->path,
uri->scheme,
uri->user,
- uri->pwd);
+ uri->pwd);
wsmc_transport_init(cl, NULL);
options = wsmc_options_init();
@@ -269,7 +269,7 @@
if (doc) {
WsXmlNodeH node = ws_xml_get_soap_body(doc);
if (ws_xml_get_child(node, 0, RESOURCE_URI , CLASSNAME )) {
- CIM_Servie *service = ws_deserialize(wsmc_get_context(cl),
+ CIM_Servie *service = ws_deserialize( wsmc_get_serialization_context( cl ),
node,
CIM_Servie_TypeInfo, CLASSNAME,
RESOURCE_URI, NULL,
diff --git a/examples/wsmid_identify.c b/examples/wsmid_identify.c
index cc77284..78bcd48 100644
--- a/examples/wsmid_identify.c
+++ b/examples/wsmid_identify.c
@@ -40,7 +40,6 @@
#include "wsman-api.h"
-#include "wsman-xml-serialize.h"
struct __wsmid_identify
{