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
Ramon PereiraRamon Pereira 

Consuming a Web Service created in Apex with Java

Hello,

I created a WS service in SF and would like to access it in Java. I used this as a basis discussion here (https://developer.salesforce.com/forums?id=906F00000008qEkIAI), however I can not find some classes that were generated.
Ex: SforceServiceLocator and SoapBindingStub.

Generated the file through Enterprise.jar my enterprise.wsdl. Also I generated my classes through the WSDL service.

Could you help me please.

Thank you;
Best Answer chosen by Ramon Pereira
Ramu_SFDCRamu_SFDC
Please review the blog post at the link below

http://manhntbkit.wordpress.com/2013/09/26/notes-web-services-in-salesforce/

All Answers

Ramu_SFDCRamu_SFDC
Please review the blog post at the link below

http://manhntbkit.wordpress.com/2013/09/26/notes-web-services-in-salesforce/
This was selected as the best answer
Ramon PereiraRamon Pereira
Many thanks for the help.

What I was doing wrong was to generate the client using to generate native code from Java (Ws import) tools. The same should be geradadas jar with WSC.