@@ -453,7 +453,7 @@ pub mod service {
453453                        req.insert_header(azure_core::headers::AUTHORIZATION, format!("Bearer {}", bearer_token.secret()));
454454                        req.insert_header(azure_core::headers::VERSION, "2020-12-06");
455455                        req.insert_header("content-type", "application/xml");
456-                         let req_body = azure_core::to_json (&this.storage_service_properties)?;
456+                         let req_body = azure_core::xml::to_xml (&this.storage_service_properties)?;
457457                        if let Some(timeout) = &this.timeout {
458458                            req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string());
459459                        }
@@ -864,7 +864,7 @@ pub mod service {
864864                        req.insert_header(azure_core::headers::AUTHORIZATION, format!("Bearer {}", bearer_token.secret()));
865865                        req.insert_header(azure_core::headers::VERSION, "2020-12-06");
866866                        req.insert_header("content-type", "application/xml");
867-                         let req_body = azure_core::to_json (&this.key_info)?;
867+                         let req_body = azure_core::xml::to_xml (&this.key_info)?;
868868                        if let Some(timeout) = &this.timeout {
869869                            req.url_mut().query_pairs_mut().append_pair("timeout", &timeout.to_string());
870870                        }
@@ -2541,7 +2541,7 @@ pub mod container {
25412541                        req.insert_header(azure_core::headers::VERSION, "2020-12-06");
25422542                        let req_body = if let Some(container_acl) = &this.container_acl {
25432543                            req.insert_header("content-type", "application/xml");
2544-                             azure_core::to_json (container_acl)?
2544+                             azure_core::xml::to_xml (container_acl)?
25452545                        } else {
25462546                            azure_core::EMPTY_BODY
25472547                        };
@@ -9613,7 +9613,7 @@ pub mod blob {
96139613                        req.insert_header(azure_core::headers::VERSION, "2020-12-06");
96149614                        let req_body = if let Some(query_request) = &this.query_request {
96159615                            req.insert_header("content-type", "application/xml");
9616-                             azure_core::to_json (query_request)?
9616+                             azure_core::xml::to_xml (query_request)?
96179617                        } else {
96189618                            azure_core::EMPTY_BODY
96199619                        };
@@ -10014,7 +10014,7 @@ pub mod blob {
1001410014                        }
1001510015                        let req_body = if let Some(tags) = &this.tags {
1001610016                            req.insert_header("content-type", "application/xml");
10017-                             azure_core::to_json (tags)?
10017+                             azure_core::xml::to_xml (tags)?
1001810018                        } else {
1001910019                            azure_core::EMPTY_BODY
1002010020                        };
@@ -16168,7 +16168,7 @@ pub mod block_blob {
1616816168                            req.insert_header("x-ms-if-tags", x_ms_if_tags);
1616916169                        }
1617016170                        req.insert_header("content-type", "application/xml");
16171-                         let req_body = azure_core::to_json (&this.blocks)?;
16171+                         let req_body = azure_core::xml::to_xml (&this.blocks)?;
1617216172                        if let Some(x_ms_client_request_id) = &this.x_ms_client_request_id {
1617316173                            req.insert_header("x-ms-client-request-id", x_ms_client_request_id);
1617416174                        }
0 commit comments