function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mitesh SuraMitesh Sura 

Custom web service and integration

Hi,

We have a custome webservice in Salesforce which needs to integrated with our middleware. Is below best way to communicate?
Step 1: pass the custom webservice wsdl and enterprise wsdl to middleware
Step 2: middleware can get the session id using enterprise wsdl
Step 3: use this session to call custom web service wsdl

Is there any other way to call custome wsdl from middleware? 

regards
Mitesh
James LoghryJames Loghry
You nailed it.  In general though, I prefer using the Partner WSDL over the Enterprise wsdl since it's more flexibile and easier to extend as far as integrations are concerned.  If you haven't already, download Soap UI (either as an eclipse plugin in or stand alone client) for testing the login and web service calls.
Mitesh SuraMitesh Sura

Thanks James.Found this great article on SoapUI and Salesforce http://blog.deadlypenguin.com/blog/2012/02/03/salesforce-and-soapui/