Hi,

I tried to run an example of a client for the book example
But when I run "mvn test" (with a task ant in the pom.xml), there is a problem with the wsdl generated before.
And so it doesn't find my BookClient.
I upgraded jaxb2 but it's still the same thing.

13 janv. 2007 00:06:30 org.codehaus.xfire.gen.Wsdl11Generator generate
INFO: Generating code for WSDL at file:/C:/Annotations/xfire-1.2.4/examples/clie nt/src/wsdl/BookService.wsdl with a base URI of file:/C:/Annotations/xfire-1.2.4
/examples/client/src/wsdl/BookService.wsdl
13 janv. 2007 00:06:31 org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl warning
GRAVE: Error generating JAXB classes: src-resolve.4.2: Error resolving component 'ns1:Book'. It was detected that 'ns1:Book' is in namespace 'http://demo.xfire. codehaus.org', but components from this namespace are not referenceable from sch ema document 'file:/C:/Annotations/xfire-1.2.4/examples/client/src/wsdl/BookServ ice.wsdl#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'ns1:Book' needs to be changed. If this is the correct namespace, then an app ropriate 'import' tag should be added to 'file:/C:/Annotations/xfire-1.2.4/examp les/client/src/wsdl/BookService.wsdl#types?schema1'. at 0,0 in file:/C:/Annotati
ons/xfire-1.2.4/examples/client/src/wsdl/BookService.wsdl#types?schema1
org\codehaus\xfire\bookservice\FindBook.java
org\codehaus\xfire\bookservice\FindBookResponse.java
org\codehaus\xfire\bookservice\GetBooks.java
org\codehaus\xfire\bookservice\GetBooksMap.java
org\codehaus\xfire\bookservice\GetBooksMapResponse.java
org\codehaus\xfire\bookservice\GetBooksResponse.java
org\codehaus\xfire\bookservice\ObjectFactory.java
org\codehaus\xfire\bookservice\String2BookMap.java
org\codehaus\xfire\bookservice\package-info.java
org\codehaus\xfire\demo\ArrayOfBook.java
org\codehaus\xfire\demo\Book.java
org\codehaus\xfire\demo\BookExceptionDetail.java
org\codehaus\xfire\demo\ObjectFactory.java
org\codehaus\xfire\demo\package-info.java
13 janv. 2007 00:06:34 org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator ge
nerate
INFO: Creating class org.codehaus.xfire.BookService.BookServicePortType
13 janv. 2007 00:06:34 org.codehaus.xfire.gen.jsr181.AbstractServiceGenerator ge
nerate
INFO: Creating class org.codehaus.xfire.BookService.BookServiceImpl
org\codehaus\xfire\BookService\BookServiceClient.java
org\codehaus\xfire\BookService\BookServiceImpl.java
org\codehaus\xfire\BookService\BookServicePortType.java
org\codehaus\xfire\demo\BookFault_Exception.java
[INFO] Executed tasks
[INFO] Registering compile source root C:\Annotations\xfire-1.2.4\examples\clien
t\target\generated-source
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:compile]
Compiling 18 source files to C:\Annotations\xfire-1.2.4\examples\client\target\c
lasses
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'jaxen:jaxen:pom:1.1-beta-9:compile' is invalid. It will be ig
nored for artifact resolution. Reason: Not a v4.0.0 POM.
[WARNING] POM for 'xfire:xfire-jsr181-api:pom:1.0-M1:compile' is invalid. It wil
l be ignored for artifact resolution. Reason: Not a v4.0.0 POM.
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\Annotations\xfire-1.2.4\examples\client\tar
get\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.

Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14 seconds
[INFO] Finished at: Sat Jan 13 00:06:38 CET 2007
[INFO] Final Memory: 7M/18M
[INFO] ------------------------------------------------------------------------


Thank you for your help

Julien

_________________________________________________________________
Gagnez des pc Windows Vista avec Live.com http://www.image-addict.fr/


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to