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
Developer99Developer99 

Generate a WSDL from Eclipse

HI,

        1)  I created a Webservice by using Eclipse i want to generate a wsdl for that webservice by using ECLIPSE  may i know is it possible to create a wsdl file by using Eclipse.
SRKSRK
you have write some Web service code in JAVA in eclips and now you want to create it Web service correst me if i am wrong

If am correct you can use these guid line to generate WSDL 

http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html

https://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/TopDownWebService/TopDownWebService.html
Developer99Developer99
@SRK


           I write a webservice in APEX for that i want to create a wsdl file i want to give that wsdl to .net developers, for that how can i generate a WSDL file by using Eclipse.
SRKSRK

If you  write a webservice in APEX and your class is global then salesforce provide you an button (if you login to your ORG) to generate WSDL 

why are you generating it from eclips only you can directly generate it from salesforce

Developer99Developer99
@SRK,

             I  know that but is it possible to generate a WSDL file from Eclipse.
SRKSRK
it is possible to generate WSDL from Eclips But as per my understanding every web service need a hosting envorment 
Steps to generate WSDL from ECLIPS is mention in below mention URL
http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html

But i belive that this service can only host Java Code WSDL not Apex but you can try it with you Apex Class


When we generate WSDL from salesforce by clicking the button salesforce HOST you web service in there servers 
You can also see the server link mention in the end of WSDL when you generate it from salesforce 

So i belive easyest and best way to host , access and generate Web service from Apex class is to generate the Web service from the salesforce it self in that case you do not need to look after the hosting server or anything 
MsgAgency AdminMsgAgency Admin
Yes, but is it possible to download the WSDL generated by Salesforce, without logging into the website, navigating individually to every web service class and clicking the button? it would be very useful to be able to get at the WSDL programatically.