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

SFDC Integration with Oracle
Hi All,
Here is my business requirement and I never worked on webservices.
1. We have specif objects and fields to consume by Oracle.
2. Oracle will consume the webservice and then should be able to updated few fields in SFDC.
My Assumptions:
Simply generate WSDL and provide them to consume the webservice?
or Do we have to write any classes for each object to expose the data?
Please help me, how I have to achieve this.
regards,
Ajay
Here is my business requirement and I never worked on webservices.
1. We have specif objects and fields to consume by Oracle.
2. Oracle will consume the webservice and then should be able to updated few fields in SFDC.
My Assumptions:
Simply generate WSDL and provide them to consume the webservice?
or Do we have to write any classes for each object to expose the data?
Please help me, how I have to achieve this.
regards,
Ajay
Instead of an Default WSDL from Salesforce, Provice them the WSDL which is generated by this class.
global class HelloWorldWebService {
webService static List<Opportunity> AMIOpportunityDetails() {
List<Opportunity> oppntyList = new List<Opportunity>();
oppntyList = [Select Id, Name From Opportunity ];
return oppntyList;
}
}
All Answers
1. I think by default Oracle has a Salesforce connector embedded into their Database. Do check this with them. If they do then you can just give them the Credentails and the Token. If not,
Apart from giving them the WSDL, In the Salesforce remote site settings add their endpoint. and also you need to give them a new credentials. They can access the objects in Salesforce directly and Insert, Update data based on the permissions.
Goodluck!
Shri
Oracle provides wsdl to use their methods from any platform by webservice callout. You can login to Oracle repository and can get required WSDL.
Also vice versa you can use Salesforce WSDL into Oracle platform, Oracle uses Groove and Java server pages to customise its CRM. You can easily use WSDL and call webservce methods from it.
You don't have to write code at Salesforce end to expose data. Only securtiy settings may cause some issues.
I understood that we dont need to write any code from our SFDC side. My question is how do we restrict Oracle to use only specifi fields? can they read, Insert, Update the values to the specific fields?
When do we write Web Service class in SFDC? in what scenario?
Regards,
Ajay
Instead of an Default WSDL from Salesforce, Provice them the WSDL which is generated by this class.
global class HelloWorldWebService {
webService static List<Opportunity> AMIOpportunityDetails() {
List<Opportunity> oppntyList = new List<Opportunity>();
oppntyList = [Select Id, Name From Opportunity ];
return oppntyList;
}
}
Now I understood. Can I include all custom and standrd objects in one webservice class or seperate ones?
Regards,
Ajay
You must include all of them in one WSDL since it would be easier for them to parse the WSDL and access those fields then and there. So, Try and include all the Fields & Objects in a single class and Generate a WSDL for all the components for which you want to give an access.
Goodluck!
I will do this and get back to you, I have any issues.
Regards,
Ajay
August 5, 2014 · Like1 · Dislike0 · Flag Best Answer