Hi, 

I'd like to use the cxf-xjc-plugin in order to make use of the cxf-xjc-ts
extension to have toString() methods created in my CXF-generated Java
classes.

So in my pom I have:
                <plugins>
            <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-xjc-plugin</artifactId>
                <executions>
                    <execution>
                        <goals>
                            <goal>xsdtojava</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <xsdOptions>
                        <xsdOption>
                            <extension>true</extension>
                            <xsd>*SomeLocalFile.wsdl*</xsd>
                            <extensionArgs>
                                <arg>-Xts:style:multiline</arg>
                            </extensionArgs>
                        </xsdOption>
                    </xsdOptions>
                    <extensions>
                       
<extension>org.apache.cxf.xjcplugins:cxf-xjc-ts:2.3.0</extension>
                    </extensions>
                </configuration>
            </plugin>

The schema is not in a separate xsd file...it's embedded in
SomeLocalFile.wsdl. Is there a right way to reference that embedded schema
for my purpose here?

Thanks in advance!



--
View this message in context: 
http://cxf.547215.n5.nabble.com/Using-cxf-xjc-plugin-with-a-schema-embedded-in-WSDL-tp5736371.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to