Hi,
I am using Eclipse Galileo with Spring IDE (Version: 2.3.0.200912170948-RELEASE) and STS (Version: 2.3.0.RELEASE), and Spring Integration 2.0.0.M7 and Spring 3.0.4.RELEASE.
When I am opening spring bean configuration file in the Spring Config Editor, though I am using the xsd-2.0 namespaces, its still taking xsd-1.0 and unable to recognize the 2.0 specific attributes and showing errors as shown in the attached screenshot (attachment1.png).
Initially according to a different post, i thought that the xsd is not getting cached in the Xml Catalog, but that does not seem to be the case (attachment2.png).
This is however, working on build and deployment as expected.Code:<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:int="http://www.springframework.org/schema/integration" xmlns:http="http://www.springframework.org/schema/integration/http" xmlns:ws="http://www.springframework.org/schema/integration/ws" xmlns:stream="http://www.springframework.org/schema/integration/stream" xsi:schemaLocation="http://www.springframework.org/schema/integration/http http://www.springframework.org/schema/integration/http/spring-integration-http-2.0.xsd http://www.springframework.org/schema/integration/ws http://www.springframework.org/schema/integration/ws/spring-integration-ws-2.0.xsd http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration-2.0.xsd http://www.springframework.org/schema/integration/stream http://www.springframework.org/schema/integration/stream/spring-integration-stream-2.0.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <int:annotation-config /> <int:gateway service-interface="com.company.integration.http.services.ProductService" id="productServiceGateway" default-request-channel="productServiceOperations" /> <int:channel id="productServiceOperations" /> <http:outbound-gateway id="httpGateway" request-channel="productServiceOperations" url="http://localhost:7070/spring-rs-poc-1.0.0/products/1002" http-method="GET" expected-response-type="com.company.integration.http.domain.Product" /> <bean id="xstreamMarshaller" class="org.springframework.oxm.xstream.XStreamMarshaller"> <property name="annotatedClass" value="com.company.integration.http.domain.Product" /> </bean> </beans>
Please advise.


Reply With Quote
