title: Getting java.lang.IllegalArgumentException when trying to make a dynamic HTTP endpoint in Mule
body: <p>I got an HTTP outbound-endpoint that does a GET method to an specific URL, thing is that if i add a variable in the path URL it will throw an exception... i believe this is not being supported.
  This is my FLOW:</p>
  <pre><code>&lt;flow name=&quot;ADMIN_GET_GRAPH_DATA&quot; doc:name=&quot;ADMIN_GET_GRAPH_DATA&quot;&gt;
      &lt;ajax:servlet-inbound-endpoint channel=&quot;/admin/get_graph_data&quot; responseTimeout=&quot;10000&quot; doc:name=&quot;Ajax&quot;/&gt;
      &lt;http:outbound-endpoint exchange-pattern=&quot;request-response&quot; host=&quot;${graph.url}&quot; port=&quot;8081&quot; path=&quot;plot/get?graphName=#[json:graph_name]&amp;amp;subgroup=hour&amp;amp;width=100&quot; method=&quot;GET&quot; doc:name=&quot;HTTP&quot; /&gt;
      &lt;byte-array-to-string-transformer doc:name=&quot;Byte Array to String&quot;/&gt;
  &lt;/flow&gt;
  </code></pre>
  <p>This is the exception stacktrace</p>
  <pre><code>Caused by: java.lang.IllegalArgumentException:  Endpoint scheme must be compatible with the connector scheme. Connector is: &quot;ajax-servlet&quot;, endpoint is &quot;http://specific-url/plot/get?graphName=SPECIFIC_GRAPH_NAME&amp;subgroup=hour&amp;width=100&quot; (java.lang.IllegalArgumentException). Message payload is of type: String
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:35)
          at org.mule.execution.MessageProcessorNotificationExecutionInterceptor.execute(MessageProcessorNotificationExecutionInterceptor.java:43)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43)
          at org.mule.processor.chain.DefaultMessageProcessorChain.doProcess(DefaultMessageProcessorChain.java:93)
          at org.mule.processor.chain.AbstractMessageProcessorChain.process(AbstractMessageProcessorChain.java:66)
          at org.mule.execution.ExceptionToMessagingExceptionExecutionInterceptor.execute(ExceptionToMessagingExceptionExecutionInterceptor.java:27)
          at org.mule.execution.MessageProcessorExecutionTemplate.execute(MessageProcessorExecutionTemplate.java:43)
  </code></pre>
  <p>Tried searching a lot in Google but i got no clue on what's wrong or what could be done to get it working.
  I even saw that there were JIRA tickets created in MuleSoft to fix this as it wasn't &quot;supported&quot; but it was supposed to be fixed after Mule 3.2.1 (I'm using 3.3.1).</p>
  <p>The URL is being correctly created, even if you copy-paste it in the browser it will work, but for some misterious reason Mule doesn't like this.</p>
  <p>Thanks.</p>