Ant.jwsc converting to gradle

Error while calling ant.jwsc

doFirst {
      ant.taskdef(name: "jwsc",
         classname: "weblogic.wsee.tools.anttasks.JwscTask",
         classpath: configurations.antJwsc.asPath)
         
      ant.jwsc(
               srcdir: "${buildDir}/webservices",  
               destdir: "${buildDir}/soawar",
               includeantruntime: "false",
               classpath: configurations.compileClasspath + 
                          configurations.jwsc.asPath) {
      	 
			      module(name: "testservices", explode: "true") {
			         jwsfileset(srcdir: "${buildDir}/webservices/com/testing/testingeb") {
		            	include name: "**/*.java"   
			         }
		             descriptor file: "${projectDir}/webservices/config/web.xml"          
		          }
		          	               
		          binding(dir: "${rootDir}/services/xml") {
		          	includes = ["**/*.xsdconfig"]
		          	exclude name: "**/*.html"
		          	exclude name: "*.spp"
		          	exclude name: "**/*.xml"
		          	exclude name: "**/*.xsd"
		          	exclude name: "**/*.xsl"
		          	exclude name: "**/*.xslt"
		          }      
      		   }
   }   
   
   from "${buildDir}/soawar"
      
   archiveBaseName = "ldev"
    
   destinationDirectory.set(file("${buildDir}/ear"))
   
   webXml = file("${projectDir}/config/web.xml") 
    
   classpath = fileTree("${rootDir}/lib/3rd-party/sun/jnlp/1.5")
}

Error:

[ant:jwsc] JWS: suite\services\soa\build\webservices\com\testing\testeb\transaction\webservices\TransactionService.java Validated.
[ant:jwsc] com.bea.xml.XmlException: com.bea.xml.XmlException: error: Use of undefined namespace prefix: xsl
[ant:AntUtil.deleteDir] Deleting directory AppData\Local\Temp\_7oy6jr1

That’s a message from inside the Ant task you are using.
I doubt anyone in this forum can help you with that, as it is not a Gradle problem.