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
GGJ2GGJ2 

How do I set fields in my SObject for an Upsert using Axis2 with Partner WSDL?

I'm using partner WSDL (version 19)  with Axis2-1.5.2.  How do I set fields in my SObject for an Upsert?

 

sObject.setType("object_type_name");

// Set field values

sObject.  ????

No I can't use Axis 1.x.  I need to use Axis2

Thanks

 

SuperfellSuperfell

I haven't looked at axis2 for a while, so this may no longer be true, but it used to be that the only serialization model that would work with the partner API was XMLBeans. For the serialization model you're interested in, you'll need to find out what it maps xsd:any to.