i had this line to my pom.xml :
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<tasks>
<taskdef name="wsgen"
classname="org.codehaus.xfire.gen.WsGenTask">
<classpath>
<pathelement path="${basedir}/target/classes" />
<path refid="maven.test.classpath" />
</classpath>
</taskdef>
<wsgen wsdl="${basedir}/src/main/resources/sugarcrm.wsdl"
explicitAnnotation="true"
outputDirectory="${basedir}/target/generated-sources"
profile="org.codehaus.xfire.jaxws.gen.JAXWSProfile"
generateServerStubs="false" />
</tasks>
<sourceRoot>${basedir}/target/generated-sources</sourceRoot>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-generator</artifactId>
<version>${xfire-version}</version>
<exclusions>
<exclusion>
<artifactId>jsr173</artifactId>
<groupId>javax.xml</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.codehaus.xfire</groupId>
<artifactId>xfire-jaxws</artifactId>
<version>${xfire-version}</version>
</dependency>
</dependencies>
</plugin>
i try to generate the source but i got this error :
[EMAIL PROTECTED]:~/altervisions/modulo_connect_v0.1/mc-jsr181-su$
mvn generate-sources
[INFO] Scanning for projects...
[INFO]
----------------------------------------------------------------------------
[INFO] Building Modulo Connect v0.1 Service Unit (JSR181)
[INFO] task-segment: [generate-sources]
[INFO]
----------------------------------------------------------------------------
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading:
http://repo1.maven.org/maven2/xfire/saaj-impl/1.3/saaj-impl-1.3.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading:
http://repo1.maven.org/maven2/wss4j/wss4j/1.5.0/wss4j-1.5.0.pom
Downloading:
http://people.apache.org/repo/m2-incubating-repository/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading:
http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.0.pom
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.Wsdl11Generator generate
INFO: Generating code for WSDL at
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl
with a base URI of
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined simple or complex type 'SOAP-ENC:Array' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
4 juil. 2007 10:57:09 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl error
GRAVE: undefined attribute 'SOAP-ENC:arrayType' at 0,0 in
file:/home/servicemix/altervisions/modulo_connect_v0.1/mc-jsr181-su/src/main/resources/sugarcrm.wsdl#types?schema1
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error executing ant tasks
Embedded error: org.codehaus.xfire.gen.GenerationException: Error
generating JAXB model.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Wed Jul 04 10:57:09 GMT+01:00 2007
[INFO] Final Memory: 8M/17M
[INFO]
------------------------------------------------------------------------
Something wrong with my pom file or with the wsdl of my WS?
Erik