Tuesday, May 9, 2017

How to create a jar file for WSDL generated from Salesforce.

1. Create your WSDL from Salesorce. Let say for this example its name is "MyWS.wsdl"
2. Download the below jars (Version can be difference),

  • antlr-runtime-3.5.jar
  • force-wsc-29.0.0.jar
  • ST4-4.0.7.jar
  • tools.jar
3. Copy paste all jars and wsdl in a folder.
4. Open command prompt and change directory to above folder location and finally run the below command,


D:\SFDC Migration>java -classpath force-wsc-29.0.0.jar;ST4-4.0.7.jar;antlr-runtime-3.5.jar;tools.jar com.sforce.ws.tools.wsdlc MyWS.wsdl MyWS.jar

It will create the jar file named as "MyWS.jar"


LWC to LWC Communication using Lightning Messaging Service (Part - 2)

In my previous post ( previous post link ) we have learn how to create a Lightning Messaging Service with 6 steps and today we will use the ...