I am working on a project with separate sub modules for backend and frontend and some other sub modules too. Currently, both these modules have their own copies of wsdl files and generate java files using maven plugin. I want a single copy of the wsdl files so want to create a maven submodule with these wsdl files. I want
Tag: wsdl
maven-jaxb2-plugin cannot generate classes due to two declarations cause a collision in ObjectFactory class
I have created .wsdl file in /src/main/resources/wsdl. Here I have pasted the the content of the soap wsdl. I added the following plugin to maven: The project fails to build due to the error in generating the classes from the wsdl. There are two declarations collesion in the objectFactory class. The error is like below: From the reading the log,
Generating classes from multiple wsdls using jaxws-maven-plugin
Im trying to generate classes from multiple WSDLs using jaxws-maven-plugin. But it generates classes only from the wsdl defined in the first execution block. I have seen this topic has been discussed in several places and i have changed my pom according to the comments. Still i cannot get it work. Answer I think the issue here is related to
Access restriction on class due to restriction on required library rt.jar?
I’m attempting to compile Java 1.4 code that was created by IBM’s WSDL2Java on Java5 without recreating the stubs and saw this error in Eclipse. I’m under the assumption that the stubs generated should just compile as long as the runtime jars are available (they are). Access restriction: The type QName is not accessible due to restriction on required library