SAP와 Mule Studio를 연결하려고 할 때. 오류가 발생했습니다.Mule Studio : 메시지가 SAP 객체가 아니며 "String"유형입니다
org.mule.api.transport.DispatchException : 메시지가 SAP 개체가 아니며 "String"유형입니다. 이 커넥터 "connector.sap.mule.default"에 대해 변환기를 점검하십시오. 엔드 포인트를 통해 이벤트를 라우팅하지 못했습니다. DefaultOutboundEndpoint {endpointUri = sap : // function,
도와주세요.
내 xml 파일
.....<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:sap="http://www.mulesoft.org/schema/mule/sap" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:tracking="http://www.mulesoft.org/schema/mule/ee/tracking" 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" version="EE-3.4.1" 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/ee/tracking http://www.mulesoft.org/schema/mule/ee/tracking/current/mule-tracking-ee.xsd
http://www.mulesoft.org/schema/mule/sap http://www.mulesoft.org/schema/mule/sap/current/mule-sap.xsd">
<flow name="SapFlow1" doc:name="SapFlow1">
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="getSapDetails" doc:name="HTTP"/>
<sap:outbound-endpoint type="function" rfcType="srfc" responseTimeout="10000" jcoAsHost="hostname" jcoUser="username" jcoPasswd="password" jcoSysnr="00" jcoClient="100" jcoLang="EN" doc:name="SAP"/>
</flow>
</mule>
XML의 설정하십시오? –
@DavidDossot : 안녕 데이비드, 위의 XML 코드를 추가했습니다. 확인해주세요. –