looks like this is not only for me ;-)

---------- Forwarded message ----------
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: 6 Feb 2007 18:34:00 +0100
Subject: XFire problem
To: [EMAIL PROTECTED]

Hi,
Could you know how to deal with this Exception when generating Java from
Xfire.
It seems that they have no support and example to show how do this. Thanks.
Tvan

D:\Data\ws\xfire>java -cp .;xfire-all-1.2.4.jar;ant-1.6.5.jar;jaxb-api-2.0E
r;stax-api-1.0.1.jar;jdom-1.0.jar;jaxb-impl-2.0EA3.jar;jaxb-xjc-2.0EA3.jar;
asl-2.9.3.jar;commons-logging-1.0.4.jar;activation-1.1.jar;wsdl4j-1.5.2.jar
chema-1.0.3.jar;xfire-jsr181-api-1.0-M1.jar; org.codehaus.xfire.gen.WsGen -
http://localhost:8080/xfire/services/BookService?wsdl -o . -p pl.tomeks.cli
overwrite true
Running WsGen...
wsdl    : http://localhost:8080/xfire/services/BookService?wsdl
package : pl.tomeks.client
output  : .
binding :
externalBindings :
baseURI :
profile :
explictAnnotation : false
overwrite : true
Resovling. Base: null, URI: http://localhost:8080/xfire/services/BookServic
l
Feb 6, 2007 6:09:38 PM org.codehaus.xfire.gen.Wsdl11Generator generate
INFO: Generating code for WSDL at http://localhost:8080/xfire/services/Book
ce?wsdl with a base URI of http://localhost:8080/xfire/services/BookService

java.lang.NoSuchFieldException: NO_CORRECTNESS_CHECK
       at java.lang.Class.getDeclaredField(Unknown Source)
       at org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSch
pport.java:62)
       at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.
151)
       at org.codehaus.xfire.gen.WsGen.main(WsGen.java:132)
Exception in thread "main" java.lang.NoSuchFieldException: NO_CORRECTNESS_C
       at org.codehaus.xfire.gen.WsGen.main(WsGen.java:136)
Caused by: java.lang.NoSuchFieldException: NO_CORRECTNESS_CHECK
       at java.lang.Class.getDeclaredField(Unknown Source)
       at org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSch
pport.java:62)
       at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.
151)
       at org.codehaus.xfire.gen.WsGen.main(WsGen.java:132)
--- Nested Exception ---
java.lang.NoSuchFieldException: NO_CORRECTNESS_CHECK
       at java.lang.Class.getDeclaredField(Unknown Source)
       at org.codehaus.xfire.gen.jaxb.JAXBSchemaSupport.initialize(JAXBSch
pport.java:62)
       at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.
151)
       at org.codehaus.xfire.gen.WsGen.main(WsGen.java:132)

Reply via email to