javaduke commented on issue #4058: URL: https://github.com/apache/camel-quarkus/issues/4058#issuecomment-1237232799
Yup, this trick did the job: ``` <wsdlOption> <wsdl>${basedir}/src/main/resources/wsdl/HelloService.wsdl</wsdl> <wsdlLocation>classpath:wsdl/HelloService.wsdl</wsdlLocation> <extraargs> <extraarg>-xjc-Xts</extraarg> </extraargs> </wsdlOption> ``` And the generated code looks like this: ``` static { URL url = HelloService.class.getClassLoader().getResource("wsdl/HelloService.wsdl"); if (url == null) { java.util.logging.Logger.getLogger(HelloService.class.getName()) .log(java.util.logging.Level.INFO, "Can not initialize the default wsdl from {0}", "classpath:wsdl/HelloService.wsdl"); } WSDL_LOCATION = url; } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org