You need to sign in to do that
Don't have an account?
Warjie Malibago 15
Kit to connect Salesforce to external systems with SOAP?
Hi all,
I've been fairly new to this SOAP thing and still trying to grasp the logic behind it.
So let's say I have an enterprise system (external) that needs to be connected to Salesforce using SOAP, what I need would be the following:
I'm working on a project involving this but up until now, I still cannot find that 'apex class' (if there is).
Appreciate the help! Thanks!
I've been fairly new to this SOAP thing and still trying to grasp the logic behind it.
So let's say I have an enterprise system (external) that needs to be connected to Salesforce using SOAP, what I need would be the following:
- Remote Site - where I'll put the endpoint URL and some other details
- WSDL Apex Class - will need WSDL file from the system to generate. Salesforce will use the methods from the system.
I'm working on a project involving this but up until now, I still cannot find that 'apex class' (if there is).
Appreciate the help! Thanks!
All Answers
May I request you to please confirm that were you not able to see the apex class and generate from WSDL option?
Please let us know.
Regards,
Nagendra.
This might be of interest to you regardless if your remote site is running a .NET applications or not.
http://www.developer.com/net/net/salesforce-integration-with-.net-callouts-.html
Sorry I cannot see the "Reply" link in your answers.
I searched for whatever class(es) that uses the URL described in the Remote Site (see url.PNG). There are 3 apex classes referencing this URL. These classes are WSDL generated within Salesforce.
.
Digging deeper, these WSDL classes reference another WSDL classes (WSE001_Wearer and WSE002_Wearer for the last 2 classes)
Other than that, I am yet to find any other component that callouts these classes as mentioned by CountZero.
Here's the remote site
New questions arise:
- If I understand it correctly, Salesforce invokes whatever functionality the external system has by (1) using the methods & classes inside the WSDL classes which came from the external system and (2) using the Remote Site to authenticate the connection.
- Since there are nested references of the WSDL classes, does it mean we have separate WSDL files uploaded into Salesforce? (I assume yes).
- There has to be another Apex class or whatever component that uses these WSDL classes if I'm not mistaken because the WSDL alone cannot work unless used. (I'm just not sure if WSDL to WSDL reference like this is enough).
- Is there any tool I can use to find what component uses the WSDL classes? I looked at Dev Console and I only found they are referencing each other. MavensMate and Eclipse are not working fine in my laptop.
Thanks and sorry for the novel-like reply!Invocation in dev console (always gets null). Not sure if invoke is correct or it really has no value at all. Code: WSE001_Ewearer
This is now good. Turned out some of the methods in the WSDL classes were actually not used anywhere in the system. I was able to find some that were used. And yes you're right, WSDL are just containers. They're useless unless used. Thanks!