2 Replies Latest reply on May 23, 2013 8:58 AM by kcbabo

    Nonsensical error message

    boanergesza11

      Hi everybody;

       

      Im new to switchyard, and have been toying with it for a while. I have been following https://community.jboss.org/en/switchyard/blog/2012/06/22/an-impatient-newbie-user-s-introduction-to-switchyard to help get me started, but Im now stuck with a problem.

       

      When I want to promote my bean to a wsdl (soap) interface, I get the following error:

      strangeError.png

      I am completely flumoxed. I have checked that the SOAP facets are attached, I have made sure the iterface is valid (the bean was generated off it).

      Basicly it says "An error occuredgenerating the WSDL" then "Reason:WSDL generatin failed"

      Details just gives me the name of the test service. Any ideas?

        • 1. Re: Nonsensical error message
          boanergesza11

          So I found the source of the problem. I have a small error in my POM file, and it caused the whole project not to build. Only after I built the project did I get past this error. Culd this be changed  "NoClassDefFoundError" or something? That would make more sense?

          • 2. Re: Nonsensical error message
            kcbabo

            Do you have Project -> Build Automatically enabled in Eclipse? 

             

            I agree that error message is not the best.  If there's an underlying exception detail we should include the message in the dialog.  It may be that the underlying top-level exception message is "WSDL generation failed" though.  Rob would know for sure.