title: Magento 1 order creation with disabled produt via soap API
body: <p>I'm using Magento 1.7 and I want to create an order via magento SOAP API with &quot;disabled&quot; product in it.</p>
  <h2>Is it possible?</h2>
  <p>Code:</p>
  <pre><code>// create order
  echo &quot;\nI will create the order: &quot;;
  $resultOrderCreation = $proxy-&gt;call($sessionId,&quot;cart.order&quot;,array($shoppingCartId, null, $licenseForOrderCreation));
  echo &quot;\nOrder created with code:&quot;.$resultOrderCreation.&quot;\n&quot;;
  </code></pre>
  <p>Here is the error trace:</p>
  <blockquote>
  <p>I will create the order:</p>
  <p>Fatal error:  Uncaught SoapFault exception: [SOAP-ENV:Server] Call to
  a member function getId() on a non-object in test2.php:175 Stack
  trace:</p>
  <h1>0 test2.php(175): SoapClient-&gt;__call('call', Array)</h1>
  <h1>1 test2.php(175): SoapClient-&gt;call('6e2ee08630a720a...', 'cart.order', Array)</h1>
  <h1>2 {main}   thrown in test2.php on line 175</h1>
  </blockquote>