I had created java classes from wsdl using maven plugin, below mention the related entry in pom.xml
<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>${maven-jaxb2-plugin.version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<generatePackage>om.sd</generatePackage>
<generateDirectory>${project.basedir}/src/main/java</generateDirectory>
<schemaDirectory>${project.basedir}/src/main/resources/wsdl</schemaDirectory>
<args>
<arg>-no-header</arg>
</args>
<schemaIncludes>
<include>*.wsdl</include>
</schemaIncludes>
</configuration>
</plugin>
Java classes are generated.
The request class elements are created as JAXB element instead of String, which I need to convert manually to String.
Is there any way I can configure so that elements will be created as String instead of JAXB element.