You need to sign in to do that
Don't have an account?

HOW DO I GET XML DATA FROM WEB TO CUSTOM OBJECT FIELDS?
THANKS IN ADVANCE.
I AM TRYING TO GRAB THIS DATA FROM THE WEB, OUR URL IS SET UP WITH USERNAME AND PASS WORD.
THIS IS GPS DATA AND IS DYNAMIC SO WOULD CHANGE EACH TIME THE PAGE IS VISITED.
WOULD LIKE TO HAVE DATA POSTED IN TO SF CUSTOM OBJECT TO DISPLAY CURRENT STATUS OF EAVH TRUCK ON THEIR OWN RECORDS.
THANKS AGAIN
<Veh_Positions>
Hi,
Do you have any WSDL for this? if not then please follow below steps:
Add the source site in Remote Site setting.
Create Apex class and make HTTP Connection.
You will get the XML as string. You may need to parse the XML
Example of making http request
http://shivasoft.in/blog/salesforce/getting-record-from-one-salesforce-organization-to-other/
Documentation of XMLStreamReader
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_xml_XmlStream_reader.htm
All Answers
Hi,
Do you have any WSDL for this? if not then please follow below steps:
Add the source site in Remote Site setting.
Create Apex class and make HTTP Connection.
You will get the XML as string. You may need to parse the XML
Example of making http request
http://shivasoft.in/blog/salesforce/getting-record-from-one-salesforce-organization-to-other/
Documentation of XMLStreamReader
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_xml_XmlStream_reader.htm
THANK YOU FOR THE REPLY.
NO I HAVE NOT SETUP A WSDL, BUT HAVE READ ABOUT IT AND I WAS THINKING I NEEDED TO SET THAT UP.
I WILL DO WHAT YOU SAID AND FOLLOW THE INFO IN THE LINKS YOU SENT.
I WILL KEEP YOU POSTED.
THANKS AGAIN!
THE WSDL WOULD BE FOR THE EXTERNAL SITE THAT IS POSTING THE XML DATA FEED?
I AM TRYING TO BRING THIS DATA IN TO SALESFORCE.
THANKS