I\'m using jaxb2-marshaller to generate classes to communicate with a webservice. Java-classes are generated with use of some wsdl files.
Everything is okay now, but whe
package-info.java
Please post your ObjectFactory
and package-info.java
(must be generated next to the ObjectFactory
).
You actually don't have to create your instances via ObjectFactory
, normal new
constructions work fine. :) ObjectFactory
does no magic. It is primarily used by JAXB during unmarshalling.
ps. Please tag the maven-jaxb2-plugin
-related questions with the maven-jaxb2-plugin
tag - this will get my attention quicker.