+ Start a Discussion

Integration - Sending few fields to external web service in XML

While entering the values for creating account record, I have to send some of the fields in Account Object to external  java web service in XML format such that  those values doesn't store in Salesforce database. The external web serivce will handle storing of passed values in their database.


For this, I have exported WSDL file in Salesforce org and created Apex class also. I am not getting how to send the fields in XML format even before saving the record to Salesforce database.


Is there any temporary variable which stores the fields values before getting saved in Salesforce database?? 

Bhawani SharmaBhawani Sharma

Do you have any visualforce page for this?

I am wondering if you are saying to entering values in account fields, but do not want to save these. 

Then what these fields are of use.