<p style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;">Hello,</p>
<p style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;">I have an NVT IP Cam. On the PC i’am testing onvif soap traces on POSTMAN for the controling PTZ actions. Traces works perfectly. But i wanted to control it from arduino, i have ENC28j60 ethernet module, trying to post this soap request by modifiying twitter example skecth but not working, what am i doing wrong?</p>
<p style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;">POSTMAN Request<br /></p>
<div class="lightbox-wrapper" style="display: inline-block; outline: 0px; color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;"><a class="lightbox" href="https://aws1.discourse-cdn.com/arduino/original/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4.jpeg" data-download-href="/uploads/short-url/4TdIBtKJbaqOcbWDl1AbORTPNwE.jpeg?dl=1" title="" rel="noopener nofollow ugc" style="background-color: transparent; text-decoration-line: none; cursor: pointer; outline: 0px; overflow-wrap: break-word; position: relative; display: inline-block; overflow: hidden; transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;" target="_blank"><img src="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4_2_690x300.jpeg" alt="" data-base62-sha1="4TdIBtKJbaqOcbWDl1AbORTPNwE" width="690" srcset="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4_2_690x300.jpeg, https://aws1.discourse-cdn.com/arduino/original/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4.jpeg 1.5x, https://aws1.discourse-cdn.com/arduino/original/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4.jpeg 2x" data-small-upload="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4_2_10x10.png" loading="lazy" style="border-style: none; vertical-align: middle; outline: 0px; object-fit: cover; object-position: center top; max-width: 100%; height: auto; aspect-ratio: 690 / 300;" />
      <div class="meta" style="color: var(--secondary); font-weight: bold; outline: 0px; position: absolute; bottom: 0px; width: 690px; background: var(--primary); opacity: 0; transition: opacity 0.2s ease 0s; display: flex; align-items: center;"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use xlink:href="#far-image"></use></svg><span class="filename" style="outline: 0px; margin: 6px 6px 6px 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"></span><span class="informations" style="outline: 0px; margin: 6px; padding-right: 20px; color: var(--secondary-high); font-size: var(--font-0); flex-shrink: 0; flex-grow: 3;">971×423 36.1 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use xlink:href="#discourse-expand"></use></svg></div>
      </a></div>
<p><br style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;" /></p>
<div class="lightbox-wrapper" style="display: inline-block; outline: 0px; color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;"><a class="lightbox" href="https://aws1.discourse-cdn.com/arduino/original/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4.jpeg" data-download-href="/uploads/short-url/4TdIBtKJbaqOcbWDl1AbORTPNwE.jpeg?dl=1" title="" rel="noopener nofollow ugc" style="background-color: transparent; text-decoration-line: none; cursor: pointer; outline: 0px; overflow-wrap: break-word; position: relative; display: inline-block; overflow: hidden; transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;" target="_blank"><img src="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4_2_500x217.jpeg" alt="" data-base62-sha1="4TdIBtKJbaqOcbWDl1AbORTPNwE" width="500" srcset="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4_2_500x217.jpeg, https://aws1.discourse-cdn.com/arduino/optimized/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4_2_750x325.jpeg 1.5x, https://aws1.discourse-cdn.com/arduino/original/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4.jpeg 2x" data-small-upload="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/2/4/2246b48f544edf8ddb32241cc9b6ca9ea7777ce4_2_10x10.png" loading="lazy" style="border-style: none; vertical-align: middle; outline: 0px; object-fit: cover; object-position: center top; max-width: 100%; height: auto; aspect-ratio: 500 / 217;" />
      <div class="meta" style="color: var(--secondary); font-weight: bold; outline: 0px; position: absolute; bottom: 0px; width: 500px; background: var(--primary); opacity: 0; transition: opacity 0.2s ease 0s; display: flex; align-items: center;"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use xlink:href="#far-image"></use></svg><span class="filename" style="outline: 0px; margin: 6px 6px 6px 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"></span><span class="informations" style="outline: 0px; margin: 6px; padding-right: 20px; color: var(--secondary-high); font-size: var(--font-0); flex-shrink: 0; flex-grow: 3;">971×423 36.1 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use xlink:href="#discourse-expand"></use></svg></div>
      </a></div>
<p style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;">&nbsp;</p>
<p style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;">Request Response<br /></p>
<div class="lightbox-wrapper" style="display: inline-block; outline: 0px; color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;"><a class="lightbox" href="https://aws1.discourse-cdn.com/arduino/original/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08.jpeg" data-download-href="/uploads/short-url/4EuW24MopbicgAOu8doMDzW2xYc.jpeg?dl=1" title="" rel="noopener nofollow ugc" style="background-color: transparent; text-decoration-line: none; cursor: pointer; outline: 0px; overflow-wrap: break-word; position: relative; display: inline-block; overflow: hidden; transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;" target="_blank"><img src="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_690x397.jpeg" alt="" data-base62-sha1="4EuW24MopbicgAOu8doMDzW2xYc" width="690" srcset="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_690x397.jpeg, https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_1035x595.jpeg 1.5x, https://aws1.discourse-cdn.com/arduino/original/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08.jpeg 2x" data-small-upload="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_10x10.png" loading="lazy" style="border-style: none; vertical-align: middle; outline: 0px; object-fit: cover; object-position: center top; max-width: 100%; height: auto; aspect-ratio: 690 / 397;" />
      <div class="meta" style="color: var(--secondary); font-weight: bold; outline: 0px; position: absolute; bottom: 0px; width: 690px; background: var(--primary); opacity: 0; transition: opacity 0.2s ease 0s; display: flex; align-items: center;"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use xlink:href="#far-image"></use></svg><span class="filename" style="outline: 0px; margin: 6px 6px 6px 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"></span><span class="informations" style="outline: 0px; margin: 6px; padding-right: 20px; color: var(--secondary-high); font-size: var(--font-0); flex-shrink: 0; flex-grow: 3;">1056×608 164 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use xlink:href="#discourse-expand"></use></svg></div>
      </a></div>
<p><br style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;" /></p>
<div class="lightbox-wrapper" style="display: inline-block; outline: 0px; color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;"><a class="lightbox" href="https://aws1.discourse-cdn.com/arduino/original/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08.jpeg" data-download-href="/uploads/short-url/4EuW24MopbicgAOu8doMDzW2xYc.jpeg?dl=1" title="" rel="noopener nofollow ugc" style="background-color: transparent; text-decoration-line: none; cursor: pointer; outline: 0px; overflow-wrap: break-word; position: relative; display: inline-block; overflow: hidden; transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) 0s;" target="_blank"><img src="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_500x287.jpeg" alt="" data-base62-sha1="4EuW24MopbicgAOu8doMDzW2xYc" width="500" srcset="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_500x287.jpeg, https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_750x430.jpeg 1.5x, https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_1000x574.jpeg 2x" data-small-upload="https://aws1.discourse-cdn.com/arduino/optimized/4X/2/0/9/209caab04fd3d92cde699f669255f5197dcbdf08_2_10x10.png" loading="lazy" style="border-style: none; vertical-align: middle; outline: 0px; object-fit: cover; object-position: center top; max-width: 100%; height: auto; aspect-ratio: 500 / 287;" />
      <div class="meta" style="color: var(--secondary); font-weight: bold; outline: 0px; position: absolute; bottom: 0px; width: 500px; background: var(--primary); opacity: 0; transition: opacity 0.2s ease 0s; display: flex; align-items: center;"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use xlink:href="#far-image"></use></svg><span class="filename" style="outline: 0px; margin: 6px 6px 6px 0px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;"></span><span class="informations" style="outline: 0px; margin: 6px; padding-right: 20px; color: var(--secondary-high); font-size: var(--font-0); flex-shrink: 0; flex-grow: 3;">1056×608 164 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use xlink:href="#discourse-expand"></use></svg></div>
      </a></div>
<p style="color: #222222; font-family: &quot;Open Sans&quot;, &quot;Lucida Grande&quot;, Lucida, Verdana, sans-serif; font-size: 15.008px; background-color: #ffffff;">&nbsp;</p>
<pre class="codeblock-buttons" style="font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 15.008px; position: relative; overflow: visible; color: #222222; background-color: #ffffff;">
   <div class="codeblock-button-wrapper" style="position: absolute; right: 0px; display: flex;"><button class="btn nohighlight copy-cmd" aria-label="클립보드에 코드 복사" style="font-family: inherit; font-size: var(--font-down-2); margin: 0px; overflow: visible; appearance: button; cursor: pointer; font-weight: normal; border-width: 1px; border-style: solid; border-color: transparent; padding: 0.5em 0.65em; display: inline-flex; align-items: center; justify-content: center; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; transition: all 0.2s ease 0s; user-select: none; top: 0px; min-height: 0px; opacity: 0; right: 0px; visibility: hidden;"><svg class="fa d-icon d-icon-copy svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#copy"></use></svg></button><button class="btn nohighlight fullscreen-cmd" aria-label="전체 화면으로 코드 표시" style="font-family: inherit; font-size: var(--font-down-2); margin: 0px; overflow: visible; appearance: button; cursor: pointer; font-weight: normal; border-width: 1px; border-style: solid; border-color: transparent; padding: 0.5em 0.65em; display: inline-flex; align-items: center; justify-content: center; background-image: ; background-position-x: ; background-position-y: ; background-size: ; background-repeat-x: ; background-repeat-y: ; background-attachment: ; background-origin: ; background-clip: ; transition: all 0.2s ease 0s; user-select: none; top: 0px; min-height: 0px; opacity: 0; visibility: hidden;"><svg class="fa d-icon d-icon-discourse-expand svg-icon svg-string" xmlns="http://www.w3.org/2000/svg"><use href="#discourse-expand"></use></svg></button></div>
   <code class="hljs arduino" style="font-family: Consolas, Menlo, Monaco, &quot;Lucida Console&quot;, &quot;Liberation Mono&quot;, &quot;DejaVu Sans Mono&quot;, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, monospace; font-size: 1em; overflow: auto; tab-size: 4; color: var(--primary-very-high); background: var(--blend-primary-secondary-5); overflow-wrap: normal; display: block; padding: 0.5em; max-height: 500px;"><span class="hljs-meta">#<span class="hljs-meta-keyword">include</span><span class="hljs-meta-string">&lt;EtherCard.h&gt;</span></span><span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">byte</span> mymac[] = { <span class="hljs-number" style="color: var(--hljs-number);">0x74</span>,<span class="hljs-number" style="color: var(--hljs-number);">0x69</span>,<span class="hljs-number" style="color: var(--hljs-number);">0x69</span>,<span class="hljs-number" style="color: var(--hljs-number);">0x2D</span>,<span class="hljs-number" style="color: var(--hljs-number);">0x30</span>,<span class="hljs-number" style="color: var(--hljs-number);">0x31</span> };
<span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">const</span><span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">char</span> website[] PROGMEM = <span class="hljs-string" style="color: var(--hljs-string);">"192.168.1.10"</span>;
<span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">static</span><span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">byte</span> hisip[] = { <span class="hljs-number" style="color: var(--hljs-number);">192</span>,<span class="hljs-number" style="color: var(--hljs-number);">168</span>,<span class="hljs-number" style="color: var(--hljs-number);">1</span>,<span class="hljs-number" style="color: var(--hljs-number);">10</span> };
<span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">static</span><span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">byte</span> session;
<span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">byte</span><span class="hljs-built_in" style="color: var(--hljs-builtin-name);">Ethernet</span>::buffer[<span class="hljs-number" style="color: var(--hljs-number);">750</span>];
Stash stash;
<span class="hljs-function"><span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">static</span><span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">void</span><span class="hljs-title" style="color: var(--hljs-string); font-weight: bold;">sendTo</span><span class="hljs-params">()</span></span>{
  <span class="hljs-built_in" style="color: var(--hljs-builtin-name);">Serial</span>.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">println</span>(<span class="hljs-string" style="color: var(--hljs-string);">"Sending..."</span>);
  <span class="hljs-keyword" style="color: var(--primary-very-high); font-weight: bold;">byte</span> sd = stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">create</span>();
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;\n\r"</span>);
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;soap:Envelope xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:tptz=\"http://www.onvif.org/ver20/ptz/wsdl\" xmlns:tt=\"http://www.onvif.org/ver10/schema\"&gt;\n\r"</span>);  
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;soap:Body&gt;\n\r"</span>);
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;tptz:ContinuousMove&gt;\n\r"</span>);
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;tptz:ProfileToken&gt;000&lt;/tptz:ProfileToken&gt;\n\r"</span>);
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;tptz:Velocity&gt;\n\r"</span>);  
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;tt:Zoom x=\"1\"/&gt;\n\r"</span>);
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;/tptz:Velocity&gt;\n\r"</span>);
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;/tptz:ContinuousMove&gt;\n\r"</span>); 
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">print</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;/soap:Body&gt;\n\r"</span>);
  stash.<span class="hljs-built_in" style="color: var(--hljs-builtin-name);">println</span>(<span class="hljs-string" style="color: var(--hljs-string);">"&lt;/soap:Envelope&gt;\n\r"</span>); </code>
   </pre>