3 Replies Latest reply on Nov 14, 2012 9:54 AM by andi.scharfstein

    Importing quickstarts into IDE

    andi.scharfstein

      As a complete beginner when it comes to ESB implementations in general and SwitchYard in particular, I though it might be a good idea to take a closer look at the quickstarts to get a feeling for how SY projects are supposed to be laid out. I installed JBDS 5 and tried creating a fresh SY project, then importing an existing quickstart ("bean-service") into the project [EDIT: I'd like to add here for future reference that the "correct" way to import the quickstarts is to do "Import -> Existing Maven Project". No fiddling around with SwitchYard Projects, it will get recognized correctly after import]. I get something that looks vaguely right, but still has some errors (namely, XML problems). It seems to be some kind of namespace resolution thing, this is one characteristic error message:

       

      DescriptionResourcePathLocationType
      cvc-complex-type.2.4.a: Invalid content was found starting with element 'implementation.bean'. One of '{"http://docs.oasis-open.org/ns/opencsa/sca/200912":documentation, "http://docs.oasis-open.org/ns/opencsa/sca/200912":implementation}' is expected.switchyard.xml/switchyard-example/bean-service/target/classes/META-INFline 12XML Problem

       

      Is there a better alternative to work with the quickstart projects or did I do something wrong with the import? If all else fails, any hints on how to fix the above configuration error manually would be appreciated as well.

       

      Thanks in advance

      Andi