bjornvester / wsdl2java-gradle-plugin

A Gradle plugin for generating Java classes from WSDL files
MIT License
41 stars 13 forks source link

How to set headers? #33

Open TTiger opened 5 months ago

TTiger commented 5 months ago

I can get the wsdl2java part working just fine. However, I can't figure out how to set headers on the outgoing requests is that beyond the scope of this plugin?

siglund commented 1 month ago

I had the same issue, but was able to generate the header parameters by enabling this cxf property

wsdl2java {
    // Enables processing of implicit SOAP headers https://cxf.apache.org/docs/wsdl-to-java.html
    options.addAll("-exsh", "true")
}