Hi,

I am creating a Webservice Consumer ( Client using WSDL )
My Environment is as follows:

Maven 2.X
Glassfish 2.1.1
JDK 1.6
CXF 2.4.X

Maven Plugin

            <plugin>
                <groupId>org.apache.cxf</groupId>
                <artifactId>cxf-codegen-plugin</artifactId>
                <version>${cxf.version}</version>
                <executions>
                    <execution>
                        <id>sap-ws</id>
                        <phase>generate-sources</phase>
                        <configuration>
                           
<sourceRoot>${project.build.directory}/generated-sources/xmlbeans</sourceRoot>
                            <wsdlOptions>
                                <wsdlOption>
                                   
<wsdl>src/main/resources/webservices/wsdl/SapOrder.wsdl</wsdl>
                                    <extraargs>
                                        <extraarg>-client</extraarg>
                                       <extraarg>-db</extraarg>
                                        <extraarg>xmlbeans</extraarg>
                                    </extraargs>
                                </wsdlOption>
                            </wsdlOptions>
                            <verbose>true</verbose>
                        </configuration>
                        <goals>
                            <goal>wsdl2java</goal>
                        </goals>
                    </execution>
                </executions>
                <dependencies>
                    <dependency>
                        <groupId>xerces</groupId>
                        <artifactId>xercesImpl</artifactId>
                        <version>2.8.1</version>
                    </dependency>
                    <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-frontend-jaxws</artifactId>
                        <version>${cxf.version}</version>
                    </dependency>
                    <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-transports-http</artifactId>
                        <version>${cxf.version}</version>
                    </dependency>
                    <dependency>
                        <groupId>org.apache.cxf</groupId>
                        <artifactId>cxf-rt-databinding-xmlbeans</artifactId>
                        <version>${cxf.version}</version>
                    </dependency>
                </dependencies>
            </plugin>




--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-XMLBean-Throwing-Exception-on-Glassfish-2-1-1-PrivilegedActionException-JAXB-can-t-handle-interf-tp4488645p4488645.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to