You need to sign in to do that
Don't have an account?
Rick Banister
Inflexibility vs convenience of WSDL architecture
Am developing an ETL application, which, if I do this right, could be used as an adapter for a major ETL product. Using the objects generated by axis from the WSDL file is not optimal, as the SFDC schema is subject to changes by the user community. Regeneration of the objects is an unwieldy, manual process. describeSObject reveals all the field names and types; What technique can I used besides the getters in the generated objects to retrieve the data values in a query?
You should look at the partner WSDL, this describes the service in a more generic way, the builk of the data being exposed as XmlElements (this might have a different name in Axis), where you use the results of describeSObject to determine what elements to look for in the response.
2. I see references to get_any() in other threads and the PartnerSamples.java program. Is there a requirement to regenerate with axis if I only use weekly typed fields? Do I even have to generate from the WSDL, or can I just use the Partner Samples code?