wsdl2java-gradle-plugin icon indicating copy to clipboard operation
wsdl2java-gradle-plugin copied to clipboard

Support multiple binding files

Open lkoe opened this issue 3 years ago • 10 comments

CXF wsdl2java supports specifying multiple binding files by providing multiple -b options. The plugin should support this as well - at the moment adding addtional -b Parameters via the options list is also blocked.

PR will follow.

lkoe avatar May 19 '21 06:05 lkoe

Is there any update here? i need this feature - have multiple wsdl that generate fine but each has multiple binding files. Is there a way to achieve this?

dermoritz avatar Oct 18 '21 14:10 dermoritz

you might look into this PR (https://github.com/bjornvester/wsdl2java-gradle-plugin/pull/9) - which is a bit outdated by now - and build you own custom version for the time being, which is what we did

lkoe avatar Oct 18 '21 15:10 lkoe

thanks, did you created a fork with this function? before creating my own version i will try to find other ways (there are too many forks of this already :-P)

dermoritz avatar Oct 18 '21 15:10 dermoritz

Just merged the PR into my fork https://github.com/lkoe/wsdl2java-gradle-plugin Good luck ;-)

lkoe avatar Oct 18 '21 15:10 lkoe

Great - thanks! Is it available via maven? I can't create issues (ask questions) there.

dermoritz avatar Oct 19 '21 06:10 dermoritz

Ah no, sorry. You would have to clone the fork yourself, build the plugin and publish it to your inhouse repository

It wasn't really supposed to be a full fledged fork of this project, only a means to create pull requests,

lkoe avatar Oct 19 '21 07:10 lkoe

I'm sorry for not getting back to you sooner. As stated in the README, you can get around it using the -b parameter as an option. I know it's a bit more work. I started looking into it a long time ago and made a branch for the changes, but never got around to finishing it.

bjornvester avatar Jun 15 '23 07:06 bjornvester

no problem, we all got our fair share of work :-) I made PR https://github.com/bjornvester/wsdl2java-gradle-plugin/pull/9 a while back, but it's outdated now. If you're interested I'd update it.

Also if you're interested in taking in additional maintainers for this project (and the xjc plugin as well) please PM me (just found out that Github has no private messages, but you'll find me easily on the web). At the moment we're using a private fork of your plugins inhouse, as we needed to keep up with the times (jakarta specs for instance).

lkoe avatar Jun 15 '23 08:06 lkoe

Thank you @lkoe, I might just take you up on that offer :)

bjornvester avatar Jun 15 '23 09:06 bjornvester

Hello @bjornvester, I've updated the PR (#9) in an effort to get rid of our projects fork of the plugin.

Please review and merge if appropriate. Also the offer above still stands ;-)

lkoe avatar Aug 16 '23 13:08 lkoe