0
我想使用mule創建服務,通過HTTP連接器調用RESTfull服務HTTPS。如果我稱之爲HTTP不是HTTPS兩個HTTP連接器服務返回JSON對象,而setpayload連接器,我所面臨的問題,當我打電話HTTPS添加了信任存儲和密鑰存儲結果回報服務:Consumiing RestApi使用Post方法HTTPS調用
發送HTTP請求時出錯。消息負載的類型爲:NullPayload
<http:request-config name="HTTP_Request_Configuration3" protocol="HTTPS" host="es.soa.devstage4.weightwatchers.com" port="80" doc:name="HTTP Request Configuration">
<tls:context>
<tls:trust-store path="client_truststore.jks" password="root123"/>
<tls:key-store path="keystore.jks" keyPassword="root123" password="root123"/>
</tls:context>
</http:request-config>
<http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/>
<flow name="happyFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/happy" doc:name="HTTP"/>
<http:request config-ref="HTTP_Request_Configuration3" path="/api/v3/servicing/-/enrollment/status/member/348165668?market=en-us" method="GET" doc:name="HTTP">
<http:request-builder/> </http:request>
</flow>