title: wso2 DSS Value type miss match, Expected value type - 'dateTime', but found - 'STRING'
body: <p>I want to save this object in to database with wso2 dss. but it is showing there is an error in the date format.</p>
  
  <pre><code>Value type miss match, Expected value type - 'dateTime', but found - 'STRING'
  </code></pre>
  
  <p>example post messgae is this</p>
  
  <pre><code>{
  "insert_subscribe_merchant_operation":
  {
          "customerrefid": 1,
          "merchantrefid": "1",
          "datetime": "2012-03-14T00:00:00+05:30",
          "registereddevice":"1234567890",
          "latlongregistered": "xczv",
          "totalpoints":1000,
          "redeemablepoints":800,
          "expirydate": "2012-03-14T00:00:00+05:30",
          "qrcode": "xvc",
          "currentoffercount":10,
          "schemerefid":1
        }
  }
  </code></pre>
  
  <p>but when i tried with the xml type it is working fine</p>
  
  <pre><code>&lt;insert_subscribe_merchant_operation&gt;
           &lt;customerrefid&gt;1&lt;/customerrefid&gt;
           &lt;merchantrefid&gt;"1"&lt;/merchantrefid&gt;
           &lt;datetime&gt;2012-03-14T00:00:00+05:30&lt;/datetime&gt;
           &lt;registereddevice&gt;"1234567890"&lt;/registereddevice&gt;
           &lt;latlongregistered&gt;"234"&lt;/latlongregistered&gt;
           &lt;totalpoints&gt;876&lt;/totalpoints&gt;
           &lt;redeemablepoints&gt;345&lt;/redeemablepoints&gt;
           &lt;expirydate&gt;2012-03-14T00:00:00+05:30&lt;/expirydate&gt;
           &lt;qrcode&gt;"?"&lt;/qrcode&gt;
           &lt;currentoffercount&gt;20&lt;/currentoffercount&gt;
           &lt;schemerefid&gt;1&lt;/schemerefid&gt;
  &lt;/insert_subscribe_merchant_operation&gt;
  </code></pre>
  
  <p>Please help me !!!!</p>