SOAP and MongoId

From: Date: Wed, 26 Jun 2013 12:01:05 +0000
Subject: SOAP and MongoId
Groups: php.soap 
Request: Send a blank email to php-soap+get-3382@lists.php.net to get a copy of this message
I'm trying to pass function parameter of type MongoId through SoapClient. The problem is that MongoId objects have public property '$id' and SoapClient generates invalid XML for them: <param xsi:type="SOAP-ENC:Struct"><$id xsi:type="xsd:string">51ca25b506e4e9872800000a</$id></param> Is there any way to workaround this?

« previous php.soap (#3382) next »