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

How to set headers?

Open TTiger opened this issue 10 months ago • 1 comments

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?

TTiger avatar Mar 31 '24 21:03 TTiger

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")
}

siglund avatar Jul 16 '24 19:07 siglund