title: SOAP request with complex type in PHP
body: <p>I would like to make a SOAP request with complex types... I have two different variables:</p>
  
  <pre><code>&lt;!--type: string--&gt;               
          &lt;xsd:type&gt;PC&lt;/xsd:type&gt;&lt;xsd:property&gt;
  &lt;!--type: string--&gt;            
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>&lt;xsd:deviceId xsi:type="xsd1:LogicalDeviceId" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;           
           &lt;xsd1:id&gt;234&lt;/xsd1:id&gt;
  &lt;/xsd:deviceId&gt;
  </code></pre>
  
  <p>Anyone has an idea how to create these two variables?</p>
  
  <p>Thanks</p>