Ability to Generate JAR from WSDL

Issue #340 wontfix
Mike Mikula created an issue

I would like the ability to create a jar file from the wsdl as native functionality.

Comments (7)

  1. Mike Mikula reporter

    I think what you sent is a bit different, what you sent sounds like what illuminated cloud is already doing in some fashion! What I'm asking for is the ability for it to replace the following process that I have to use to generate a JAR file for our application that makes SOAP requests to salesforce.

    Process: - Salesforce.com >> Setup >> Develop >> API >> Generate Enterprise WSDL - Save WSDL - Open Eclipse - Use custom script to parse WSDL - Grab generated JAR

    Currently this process requires a completely different IDE to create a jar file. Since Illuminated cloud is already integrated into Intellij it would be nice if it had this ability!

  2. Scott Wells repo owner

    Oh, you're wanting something that will take one of the Salesforce SOAP API WSDLs and generate a Java client library for you? If so, just use Apache CXF wsdl2java:

    http://cxf.apache.org/docs/wsdl-to-java.html

    IntelliJ IDEA Ultimate Edition also has this capability:

    https://www.jetbrains.com/help/idea/2016.1/generate-java-code-from-wsdl-or-wadl-dialog.html

    Since client stub generation from WSDL is a fairly non-trivial process (just look at the flags available on wsdl2java, many of which I have to use to generate a valid Java client), and since other existing tools already provide this functionality, I'd really refer you to those tools rather than try to incorporate the same functionality into Illuminated Cloud.

  3. Josh Nicholson

    @RoseSilverSoftware I'm just now stumbling upon this. I'm looking to generate Apex code the same way you can through setup in the Salesforce link you provided. Is this feature currently available?

  4. Josh Nicholson

    @RoseSilverSoftware No worries, it isn't often I need to do this. A Google search for the feature brought me here so I thought this would be a good place to ask and hopefully help anyone else that's looking for an answer. Thanks!

  5. Log in to comment