Guest User

Untitled

a guest
Sep 19th, 2018
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.86 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <ChangeConfiguration xmlns="http://schemas.microsoft.com/windowsazu
  3. re">
  4. <Configuration>PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxTZXJ2aWNlQ29uZmlndX
  5. JhdGlvbiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIi
  6. B4bWxuczp4c2Q9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxucz0iaHR0cDovL3
  7. NjaGVtYXMubWljcm9zb2Z0LmNvbS9TZXJ2aWNlSG9zdGluZy8yMDA4LzEwL1NlcnZpY2VDb25maWd1cm
  8. F0aW9uIiBzZXJ2aWNlTmFtZT0iIiBvc0ZhbWlseT0iMSIgb3NWZXJzaW9uPSIqIj4KICA8Um9sZSBuYW
  9. 1lPSJXZWJSb2xlMSI+CiAgICA8Q29uZmlndXJhdGlvblNldHRpbmdzPgogICAgICA8U2V0dGluZyBuYW
  10. 1lPSJNaWNyb3NvZnQuV2luZG93c0F6dXJlLlBsdWdpbnMuRGlhZ25vc3RpY3MuQ29ubmVjdGlvblN0cm
  11. luZyIgdmFsdWU9IlVzZURldmVsb3BtZW50U3RvcmFnZT10cnVlIi8+CiAgICA8L0NvbmZpZ3VyYXRpb2
  12. 5TZXR0aW5ncz4KICAgIDxJbnN0YW5jZXMgY291bnQ9IjIiLz4KICAgIDxDZXJ0aWZpY2F0ZXMvPgogID
  13. wvUm9sZT4KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4K</Configuration>
  14. </ChangeConfiguration>
  15.  
  16. $configuration = '<?xml version="1.0" encoding="utf-8"?>
  17. <ServiceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration" serviceName="" osFamily="1" osVersion="*">
  18. <Role name="WebRole1">
  19. <ConfigurationSettings>
  20. <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="UseDevelopmentStorage=true"/>
  21. </ConfigurationSettings>
  22. <Instances count="2"/>
  23. <Certificates/>
  24. </Role>
  25. </ServiceConfiguration>';
  26.  
  27. https://management.core.windows.net/<subscriptionID/operations/<requestId>
  28.  
  29. <?xml version="1.0" encoding="utf-8"?>
  30.  
  31. -----------------------
  32. Request
  33. -----------------------
  34.  
  35. object(Microsoft_Http_Client)#3 (15) {
  36. ["adapter:protected"]=>
  37. object(Microsoft_Http_Client_Adapter_Socket)#5 (6) {
  38. ["socket:protected"]=>
  39. NULL
  40. ["connected_to:protected"]=>
  41. array(2) {
  42. [0]=>
  43. NULL
  44. [1]=>
  45. NULL
  46. }
  47. ["out_stream:protected"]=>
  48. NULL
  49. ["config:protected"]=>
  50. array(15) {
  51. ["persistent"]=>
  52. bool(false)
  53. ["ssltransport"]=>
  54. string(3) "ssl"
  55. ["sslcert"]=>
  56. string(51) "C:ProjectsWorkspacesDefaultAzuremanagement.pem"
  57. ["sslpassphrase"]=>
  58. string(11) "*************"
  59. ["maxredirects"]=>
  60. int(5)
  61. ["strictredirects"]=>
  62. bool(false)
  63. ["useragent"]=>
  64. string(21) "Microsoft_Http_Client"
  65. ["timeout"]=>
  66. int(10)
  67. ["httpversion"]=>
  68. string(3) "1.1"
  69. ["keepalive"]=>
  70. bool(false)
  71. ["storeresponse"]=>
  72. bool(true)
  73. ["strict"]=>
  74. bool(true)
  75. ["output_stream"]=>
  76. bool(false)
  77. ["sslusecontext"]=>
  78. bool(true)
  79. }
  80. ["method:protected"]=>
  81. string(3) "POST"
  82. ["_context:protected"]=>
  83. resource(38) of type (stream-context)
  84. }
  85. ["uri:protected"]=>
  86. object(Microsoft_Uri_Http)#10 (9) {
  87. ["_username:protected"]=>
  88. string(0) ""
  89. ["_password:protected"]=>
  90. string(0) ""
  91. ["_host:protected"]=>
  92. string(27) "management.core.windows.net"
  93. ["_port:protected"]=>
  94. int(443)
  95. ["_path:protected"]=>
  96. string(97) "/******************/services/hostedservices/phptest1/deploymentslots/production"
  97. ["_query:protected"]=>
  98. string(11) "comp=config"
  99. ["_fragment:protected"]=>
  100. string(0) ""
  101. ["_scheme:protected"]=>
  102. string(5) "https"
  103. }
  104. ["headers:protected"]=>
  105. array(3) {
  106. ["content-type"]=>
  107. array(2) {
  108. [0]=>
  109. string(12) "Content-Type"
  110. [1]=>
  111. string(15) "application/xml"
  112. }
  113. ["expect"]=>
  114. array(2) {
  115. [0]=>
  116. string(6) "Expect"
  117. [1]=>
  118. string(0) ""
  119. }
  120. ["x-ms-version"]=>
  121. array(2) {
  122. [0]=>
  123. string(12) "x-ms-version"
  124. [1]=>
  125. string(10) "2009-10-01"
  126. }
  127. }
  128. ["method:protected"]=>
  129. string(3) "POST"
  130. ["paramsGet:protected"]=>
  131. array(0) {
  132. }
  133. ["paramsPost:protected"]=>
  134. array(0) {
  135. }
  136. ["enctype:protected"]=>
  137. NULL
  138. ["raw_post_data:protected"]=>
  139. string(965) "<?xml version="1.0" encoding="utf-8"?>
  140. <ChangeConfiguration xmlns="http://schemas.microsoft.com/windowsazure">
  141. <Configuration>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPFNlcnZpY2VDb25maWd1cmF0aW9uIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zPSJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL1NlcnZpY2VIb3N0aW5nLzIwMDgvMTAvU2VydmljZUNvbmZpZ3VyYXRpb24iIHNlcnZpY2VOYW1lPSIiIG9zRmFtaWx5PSIxIiBvc1ZlcnNpb249IioiPgogIDxSb2xlIG5hbWU9IldlYlJvbGUxIj4KICAgIDxDb25maWd1cmF0aW9uU2V0dGluZ3M+CiAgICAgIDxTZXR0aW5nIG5hbWU9Ik1pY3Jvc29mdC5XaW5kb3dzQXp1cmUuUGx1Z2lucy5EaWFnbm9zdGljcy5Db25uZWN0aW9uU3RyaW5nIiB2YWx1ZT0iVXNlRGV2ZWxvcG1lbnRTdG9yYWdlPXRydWUiLz4KICAgIDwvQ29uZmlndXJhdGlvblNldHRpbmdzPgogICAgPEluc3RhbmNlcyBjb3VudD0iMiIvPgogICAgPENlcnRpZmljYXRlcy8+CiAgPC9Sb2xlPgo8L1NlcnZpY2VDb25maWd1cmF0aW9uPgo=</Configuration>
  142. </ChangeConfiguration>"
  143. ["auth:protected"]=>
  144. NULL
  145. ["files:protected"]=>
  146. array(0) {
  147. }
  148. ["cookiejar:protected"]=>
  149. NULL
  150. ["last_request:protected"]=>
  151. NULL
  152. ["last_response:protected"]=>
  153. NULL
  154. ["redirectCounter:protected"]=>
  155. int(0)
  156. }
  157.  
  158. -----------------------
  159. Response
  160. -----------------------
  161. object(Microsoft_Http_Response)#9 (5) {
  162. ["version:protected"]=>
  163. string(3) "1.1"
  164. ["code:protected"]=>
  165. int(400)
  166. ["message:protected"]=>
  167. string(11) "Bad Request"
  168. ["headers:protected"]=>
  169. array(5) {
  170. ["Content-length"]=>
  171. string(3) "230"
  172. ["Content-type"]=>
  173. string(30) "application/xml; charset=utf-8"
  174. ["Server"]=>
  175. string(21) "Microsoft-HTTPAPI/2.0"
  176. ["Date"]=>
  177. string(29) "Thu, 17 Feb 2011 07:15:36 GMT"
  178. ["Connection"]=>
  179. string(5) "close"
  180. }
  181. ["body:protected"]=>
  182. string(230) "<Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Code>InvalidXmlRequest</Code><Message>The request body’s XML was invalid or not correctly specified.</Message></Error>"
  183. }
Add Comment
Please, Sign In to add comment