2017-05-26 16 views
0

私はMuleを使用して簡単なアプリケーションを作成しようとしています。とにかく、「認可」操作を選択すると、エラーが発生します。しかし、私は別の操作を選択した場合、それはうまく動作します! enter image description hereミュールのDropboxコネクタで有効な操作が選択されていません

私はミュールServerのバージョン= "CE-3.8.1" を持っているとAnypointスタジオのバージョンを使用します。完全なXML設定

6.2.5:

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

<mule xmlns:json="http://www.mulesoft.org/schema/mule/json" xmlns:file="http://www.mulesoft.org/schema/mule/file" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:dropbox="http://www.mulesoft.org/schema/mule/dropbox" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" 
    xmlns:spring="http://www.springframework.org/schema/beans" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="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/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd 
http://www.mulesoft.org/schema/mule/dropbox http://www.mulesoft.org/schema/mule/dropbox/current/mule-dropbox.xsd 
http://www.mulesoft.org/schema/mule/file http://www.mulesoft.org/schema/mule/file/current/mule-file.xsd 
http://www.mulesoft.org/schema/mule/json http://www.mulesoft.org/schema/mule/json/current/mule-json.xsd"> 
    <http:listener-config name="HTTP_Listener_Configuration8881" host="localhost" port="8881" doc:name="HTTP Listener Configuration"/> 
    <dropbox:config name="Dropbox1" appKey="ovy1i8ak8u43t87" appSecret="7jlhpdzeyddi8d5" doc:name="Dropbox"> 
     <dropbox:oauth-callback-config domain="localhost" localPort="8881" remotePort="8881" path="callback"/> 
    </dropbox:config> 
    <http:request-config name="HTTP_Request_Configuration" host="www.mulesoft.com" port="80" doc:name="HTTP Request Configuration"/> 
    <flow name="dropbox_integration2Flow"> 
     <http:listener config-ref="HTTP_Listener_Configuration8881" path="/authorize" doc:name="HTTP"/> 
     <dropbox:unauthorize config-ref="Dropbox1" doc:name="Dropbox - authorize"/> 
    </flow> 
    <flow name="dropbox_integration2Flow1"> 
     <http:listener config-ref="HTTP_Listener_Configuration8881" path="/" doc:name="HTTP"/> 
     <dropbox:create-folder config-ref="Dropbox1" path="/mule" doc:name="Dropbox - create"/> 
     <http:request config-ref="HTTP_Request_Configuration" path="/sites/default/files/3C_mulesoft_logo_updated.svg" method="GET" doc:name="HTTP"/> 
     <dropbox:upload-stream config-ref="Dropbox1" filename="mulelogo.png" path="/mule" doc:name="Dropbox - upload"/> 
     <dropbox:get-link config-ref="Dropbox1" path="/mule/mulelogo.png" doc:name="Dropbox - get link"/> 
     <json:object-to-json-transformer doc:name="Object to JSON"/> 
    </flow> 
</mule> 

が何らかの理由はこのためにあります?それを修正するには?

+0

APSを再起動できますか? – RamakrishnaN

+0

@RamakrishnaN私はやったけど、やはり同じエラーが出ています。 –

答えて

0

古いMule Dropbox Cloud Connector Mule Studio Extension 3.3.0(2013)にバグがあるようです。あなたはそれを使っていますか?ご存知の方は、最新のバージョンDropbox Connector 3.3.3(2015)を使用してエラーを修正することをお勧めします。

+0

最新のDropbox Connectorバージョン:3.3.3(実行時バージョン:3.5) –

+0

これは奇妙です。私は3.3.0でしか再現できません。あなたのアプリのXMLを共有できますか? – CountD

+0

私の投稿を編集します。 XML構成を追加しました。 –

関連する問題