12 Replies Latest reply on Mar 16, 2012 10:40 AM by Vatsan Madabushi

    Error when use classes generated from a xsd file Jboss As7

    Thi Quynh BUI Newbie

      Hello,

       

      I have an application which use Seam and Webservice. In my src folder, there are :

       

      src

           + helloService.java

           + helloServiceRemote.java

           + xml

                + Chgfmlreq.java

                + Tlts.java

                + QuotationItem.java

                ....

       

      The classes in xml folder are generated from a xsd file (use xjc of jaxb-xjc.jar). In my helloService.java, if I don't call the classes in xml folder, it works well. But If I call/refer to these classes, I get these errors:

       

      12:46:51,346 GRAVE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-4) Schema element {http://hello.example.atlas.datasystem.fr/}Chgfmlreq references undefined type Chgfmlreq for service {http://hello.example.atlas.datasystem.fr/}helloService.

      12:46:51,347 GRAVE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-4) Schema element {http://hello.example.atlas.datasystem.fr/}Ttls references undefined type Ttls for service {http://hello.example.atlas.datasystem.fr/}helloService.

      12:46:51,347 GRAVE [org.apache.cxf.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-4) Schema element {http://hello.example.atlas.datasystem.fr/}QuotationItem references undefined type QuotationItem for service {http://hello.example.atlas.datasystem.fr/}helloService.

       

      What can I do with these errors ?

       

      Any idea would be appreciated

       

      Thanks

      TBQ