Endpoint scheme must be compatible with the connector scheme. Connector is: "https"

95 views
Skip to first unread message

Paulo André Filipak

unread,
Sep 20, 2013, 5:39:39 PM9/20/13
to mule...@googlegroups.com

Have Anyone ever gotten this exception? 

java.lang.IllegalArgumentException: Endpoint scheme must be compatible with the connector scheme. Connector is: "https", endpoint is "http://localhost:8081"

at org.mule.endpoint.AbstractEndpointBuilder.doBuildOutboundEndpoint(AbstractEndpointBuilder.java:252)

at org.mule.endpoint.AbstractEndpointBuilder.buildOutboundEndpoint(AbstractEndpointBuilder.java:120)


Mule 3.4


Configuration

<?xml version="1.0" encoding="UTF-8"?>

<mule xmlns:https="http://www.mulesoft.org/schema/mule/https"

xmlns:jdbc-ee="http://www.mulesoft.org/schema/mule/ee/jdbc" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:http="http://www.mulesoft.org/schema/mule/http"

xmlns:doc="http://www.mulesoft.org/schema/mule/documentation"

xmlns:spring="http://www.springframework.org/schema/beans" xmlns:core="http://www.mulesoft.org/schema/mule/core"

version="EE-3.5.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://www.mulesoft.org/schema/mule/https http://www.mulesoft.org/schema/mule/https/current/mule-https.xsd

http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd

http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-current.xsd

http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd

http://www.mulesoft.org/schema/mule/ee/jdbc http://www.mulesoft.org/schema/mule/ee/jdbc/current/mule-jdbc-ee.xsd">

   <https:connector name="httpsConnector" clientSoTimeout="0" serverSoTimeout="0" doc:name="HTTP\HTTPS">

       <https:tls-client path="/Users/usuario/dev/keys/keystore_server.jks" storePassword="senha9"/>

       <https:tls-key-store path="/Users/usuario/dev/keys/keystore_server.jks"  storePassword="senha9" keyPassword="senha9"/>

       <https:tls-server path="/Users/usuario/dev/keys/keystore_server.jks" storePassword="senha9"/> 

   </https:connector>

    <flow name="HelloWorldFlow1" doc:name="HelloWorldFlow1">

        <http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" doc:name="HTTP" connector-ref="httpsConnector"/>

        <set-payload value="#['vai furacao']" doc:name="Set Payload"/>

    </flow>

</mule>

Reply all
Reply to author
Forward
0 new messages