Ability to Generate JAR from WSDL
I would like the ability to create a jar file from the wsdl as native functionality.
Comments (7)
-
repo owner -
Account Deleted 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!
-
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.
-
repo owner - changed status to wontfix
I think there are much better tools to automate/perform this out there than IC could become.
-
@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?
-
repo owner Hi, Josh. No, IC doesn't include a feature to generate Apex classes from a WSDL. You would need to use something like WSDL2Apex (https://github.com/forcedotcom/WSDL2Apex) for that. Sorry...
-
@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!
- Log in to comment
Mike, just so I understand, are you asking for a feature where Illuminated Cloud would generate Apex classes from a WSDL to help with invocation against that API similar to this:
https://help.salesforce.com/htviewhelpdoc?err=1&id=code_wsdl_to_package.htm&siteLang=en_US
If not, can you please describe what you're requesting in more detail?