Skip to main content

wsimport maven plugin http-proxy

No replies
Joined: 2011-08-15
Points: 0


I have a problem generating java classes from a wsdl-file. In fact, the wsdl is derived from the w3c SOAP binding for XKMS Version 2.0. So there is a link to multiple external xsds. When having free internet access, the xsds are fetched from and everything runs fine. (First problem solved). If I do have restricted access, using a http-proxy with proxy authentication, I didn't find a way to put the right information to the pom.xml.

This is the relevant part of the pom.xml:

plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxws</artifactId> <executions> <execution> <phase>generate-sources</phase> <goals> <goal>wsimport</goal> </goals> </execution> </executions> <configuration> <bindingDirectory>src</bindingDirectory> <bindingFiles> <bindingFile>iVA.xsd</bindingFile> </bindingFiles> <verbose>true</verbose> <keep>true</keep> </configuration> </plugin> </plugins>

Thanks for your help.