-
1. Re: switchyard.xml eclipse validation errors
kcbabo Dec 28, 2012 1:05 PM (in response to eleni.papadopoulou)For the first issue, make sure you have the HTTP component listed in your project's dependencies. Your pom.xml should have the following dependency in it:
<dependency> <groupId>org.switchyard.components</groupId> <artifactId>switchyard-component-http</artifactId> </dependency>
You can copy and paste the above into your pom.xml or right-click on your project in Eclipse and select SwitchYard -> Configure Capabilities. Then select the checkbox next to HTTP.
The second issue might be due to not having auto-build enabled for your project. Check the Project menu and make sure "Build Automatically" is selected.
-
2. Re: switchyard.xml eclipse validation errors
eleni.papadopoulou Jan 2, 2013 9:34 AM (in response to kcbabo)Hi,
A maven build to the project so as the Maven Dependencies to be added in the project's classpath solves the second issue.
With respect to the http.binding validation error, although I have the HTTP componen listed in the project's dependencies, the error still appears. The http component is the only one I am facing this issue. I don't have the same problem with the soap, the bean and th camel components which I also use in the same project.
However, this validation error does not create any issue in the way the application operates; I am just wondering why it behaves this way for the http component.
Thank you.
-
3. Re: switchyard.xml eclipse validation errors
rcernich Jan 2, 2013 9:49 AM (in response to eleni.papadopoulou)Hey Eleni,
I think there was an issue where the configuration schema for the http component was not included in the xsd catalog supplied by the SwitchYard tooling. I believe this issue has been addressed, in a subsequent build and will be fixed in 0.7.0.Final.
Best,
Rob