title: Spring Integration http outbound-gateway
body: <p>I'm trying to use the Spring Integration http outbound gateway, but I seem to be getting  schema-related errors. The errors are:</p>
  
  <pre><code>cvc-complex-type.3.2.2: Attribute 'expected-response-type' is not allowed to appear in element 'int-http:outbound-gateway'. sprint-servlet.xml  /sprint/src/main/webapp/WEB-INF line 28
  cvc-complex-type.3.2.2: Attribute 'url' is not allowed to appear in element 'int-http:outbound-gateway'.    sprint-servlet.xml  /sprint/src/main/webapp/WEB-INF line 28
  cvc-complex-type.3.2.2: Attribute 'http-method' is not allowed to appear in element 'int-http:outbound-gateway'.    sprint-servlet.xml  /sprint/src/main/webapp/WEB-INF line 28
  cvc-complex-type.3.2.2: Attribute 'reply-timeout' is not allowed to appear in element 'int-http:outbound-gateway'.  sprint-servlet.xml  /sprint/src/main/webapp/WEB-INF line 28
  </code></pre>
  
  <p>It appears that the XSD does not accept these attributes. However, I've simply copy / pasted this from the Spring Integration docs. Here's the relevant part of my XML config file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;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:int-http="http://www.springframework.org/schema/integration/http"
  xmlns:mvc="http://www.springframework.org/schema/mvc"
  xmlns:context="http://www.springframework.org/schema/context"
  xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
                      http://www.springframework.org/schema/integration http://www.springframework.org/schema/integration/spring-integration.xsd
                      http://www.springframework.org/schema/integration/http http://www.springframework.org/schema/integration/http/spring-integration-http.xsd
                      http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
                      http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd"&gt;
  
  
  
  &lt;!-- Spring Integration stuff --&gt;
  &lt;int:channel id="requests"&gt;
  &lt;/int:channel&gt;
  &lt;int:channel id="replies"/&gt;
  
  &lt;int-http:outbound-gateway id="example"
    request-channel="requests"
    url="http://localhost/test"
    http-method="POST"
    expected-response-type="java.lang.String"
    charset="UTF-8"
    reply-timeout="1234"
    reply-channel="replies"/&gt;
  </code></pre>
  
  <p>Is there something obvious that I'm doing wrong?</p>
  
  <p>Thanks,
  Tim</p>