Permalink
Browse files

Fix #15517: soap API datatype for DateTime

Wrong datatype for DateTime  'dateTime' vs. 'xsd:dateTime'
results in an error during deserialization in .net

Signed-off-by: Damien Regad <damien.regad@merckgroup.com>
  • Loading branch information...
1 parent 44e140e commit 3833d5747a55bd8c3f29a41d1f98ee97b60f5499 @wiggisser wiggisser committed with dregad Feb 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 api/soap/mc_api.php
View
2 api/soap/mc_api.php
@@ -38,7 +38,7 @@ static function newDateTimeVar( $p_value ) {
if ( class_exists('soapval') )
return new soapval( 'due_date', 'xsd:dateTime', $string_value );
else
- return new SoapVar( $string_value, XSD_DATETIME, 'dateTime');
+ return new SoapVar( $string_value, XSD_DATETIME, 'xsd:dateTime');
}
static function newDateTimeString ( $p_timestamp ) {

0 comments on commit 3833d57

Please sign in to comment.