function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Scott BScott B 

Why does Axis create a wrapped class for ID object?

When building the proxy classes for Sforce, I get a wrapped class for the ID object.

In .NET, ID is just a field on SObject.  Why does the restriction force it to create a wrapped class?
DevAngelDevAngel

Hi Scott B,

Just about every platform that generates soap proxies does it differently.  This is just one more case.  Why?  Don't know.  I'd prefer that .Net wrapped it as that more closely matches the wsdl definition.  If we were to add another field to the ID object, then .Net apps will break, but Axis ones won't.

Cheers