Guest User

Untitled

a guest
Jan 16th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. group 'com'
  2. version '1.0.1'
  3.  
  4. buildscript{
  5. repositories{
  6. jcenter()
  7. mavenCentral()
  8. }
  9. dependencies {
  10. classpath 'no.nils:wsdl2java:0.10'
  11. }
  12. }
  13.  
  14. apply plugin :'java'
  15. apply plugin :'no.nils.wsdl2java'
  16.  
  17. repositories{
  18. mavenCentral()
  19. }
  20.  
  21. dependencies(){
  22. testCompile 'junit:junit:+'
  23. }
  24.  
  25. wsdl2java{
  26. wsdlsToGenerate = [
  27. ['-p','com.developerz.holiday', '-autoNameResolution','-verbose',"http://www.holidaywebservice.com/HolidayService_v2/HolidayService2.asmx?wsdl"],
  28. ['-p','com.developerz.service', '-autoNameResolution','-verbose',"http://www.webservicex.com/globalweather.asmx?WSDL"],
  29. ['-p','com.developerz.future', '-autoNameResolution','-help','-noAddressBinding',"http://fglpg001.futuregenerali.in/BO/Service.svc?wsdl"]
  30. ]
  31. generatedWsdlDir = file("$projectDir/generatedsources")
  32. wsdlDir = file("$projectDir/src/main/resources")
  33. locale = Locale.ENGLISH
  34. }
  35.  
  36. wsdl2javaExt {
  37. cxfVersion = "2.5.1"
  38. }
Add Comment
Please, Sign In to add comment