diff options
Diffstat (limited to 'src/wsman.c')
-rw-r--r-- | src/wsman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wsman.c b/src/wsman.c index b3f6bb2..4ef6ce0 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -814,7 +814,7 @@ int main(int argc, char **argv) } break; case WSMAN_ACTION_UNSUBSCRIBE: - snprintf(subscontext, 512 , "<?xml version=\"1.0\" encoding=\"UTF-8\"?><wsa:ReferenceParameters xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" \ + snprintf(subscontext, 512 , "<wsa:ReferenceParameters xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" \ xmlns:wse=\"http://schemas.xmlsoap.org/ws/2004/08/eventing\"><wse:Identifier>%s</wse:Identifier> \ </wsa:ReferenceParameters>", event_subscription_id); rqstDoc = wsmc_action_unsubscribe(cl, resource_uri, options, subscontext); @@ -829,7 +829,7 @@ int main(int argc, char **argv) snprintf(subscontext, 512 , "<wsa:ReferenceParameters xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/08/addressing\" \ xmlns:wse=\"http://schemas.xmlsoap.org/ws/2004/08/eventing\"><wse:Identifier>%s</wse:Identifier> \ </wsa:ReferenceParameters>", event_subscription_id); - rqstDoc = wsmc_action_renew(cl, resource_uri, options, event_subscription_id); + rqstDoc = wsmc_action_renew(cl, resource_uri, options, subscontext); wsman_output(cl, rqstDoc); if (rqstDoc) { ws_xml_destroy_doc(rqstDoc); |