How to add client certificate data in pom.xml

14 Views Asked by At

I need to generate wsdl classes using jaxws-maven-plugin, but the point is that I need to enter basic auth, have cloent certificate with pfx file and password.

How can I solve it? Pls help

<plugin>
    <groupId>com.sun.xml.ws</groupId>
    <artifactId>jaxws-maven-plugin</artifactId>
    <version>4.0.1</version>
    <executions>
        <execution>
            <id>wsimport-from-jdk</id>
            <goals>
                <goal>wsimport</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <wsdlUrls>
            <wsdlUrl>https://link/v5.59/service.svc?wsdl</wsdlUrl>
        </wsdlUrls>
        <keep>true</keep>
    </configuration>
</plugin>
0

There are 0 best solutions below