使用 WSO2 peoplehr 連接器時出錯 (Error using WSO2 peoplehr connector)


問題描述

使用 WSO2 peoplehr 連接器時出錯 (Error using WSO2 peoplehr connector)

我正在嘗試使用 WSO2 peoplehr 連接器,我的代理服務是如下:

<?xml version="1.0" encoding="UTF‑8"?>
<proxy name="peopleHrEmployeeDetails" startOnLoad="true" trace="disable"
  transports="http https" xmlns="http://ws.apache.org/ns/synapse">
  <target>
    <inSequence>
      <peoplehr.getEmployee configKey="employee"/>
    </inSequence>
    <outSequence/>
    <faultSequence/>
  </target>
</proxy>

本地入口如下:

<?xml version="1.0" encoding="UTF‑8"?>
<localEntry key="employee" xmlns="http://ws.apache.org/ns/synapse">
  <peoplehr.init>
    <apiUrl>https://api.peoplehr.net/</apiUrl>
    <apiKey>c85c2570‑0602‑4930‑a0c7‑847c1a26550c</apiKey>
    <employeeId>PW5</employeeId>
  </peoplehr.init>
</localEntry>

我已經在 WSO2 ESB 上啟用了 peoplehr 連接器。當我在 WSO2 ESB 上部署代理服務並使用 tryit 工具嘗試它時,消息正文中沒有任何內容,我在 WSO2 服務器中收到很多異常並且消息未發送。

2015‑11‑15 21:56:28,933] ERROR ‑ TargetHandler I/O error: General SSLEngine problem
javax.net.ssl.SSLHandshakeException: General SSLEngine problem
[2015‑11‑15 21:56:28,942]  WARN ‑ EndpointContext Endpoint : AnonymousEndpoint will be marked SUSPENDED as it failed
[2015‑11‑15 21:56:28,944]  WARN ‑ EndpointContext Suspending endpoint : AnonymousEndpoint ‑ last suspend duration was : 30000ms and current suspend duration is : 30000ms ‑ Next retry after : Sun Nov 15 21:56:58 IST 2015
[2015‑11‑15 21:57:28,572]  INFO ‑ HTTPSender Unable to sendViaPost to url[http://riyafa‑Dell‑System‑Vostro‑3450:8280/services/peopleHrEmployeeDetails.peopleHrEmployeeDetailsHttpSoap12Endpoint]

## 參考解法 #### 方法 1:

The documentation is under construction for that connector, and probably don't have enough information to set up. There is a JIRA reported already. We will be fixing this in future.

It seems, you have to get the PeopleHR's public key certificate and add it into client‑truststore.jks.

Please follow the documentation from connector's github repo here

(by Riyafa Abdul HameedAbimaran Kugathasan)

參考文件

  1. Error using WSO2 peoplehr connector (CC BY‑SA 2.5/3.0/4.0)

#wso2-esb #wso2-integration-studio #xml #wso2






相關問題

WSO2 Carbon 管理控制台異常 (WSO2 Carbon Management Console Exception)

WSO2 ESB 中介序列與代理服務 (WSO2 ESB Mediation Sequence vs Proxy Service)

帶有 XPath 擴展的 WSO2 Developer Studio (WSO2 Developer Studio with XPath extensions)

我們可以使用 wso2esb Jms 消費消息嗎 (Can we Consume the Messages using wso2esb Jms)

使用 WSO2 peoplehr 連接器時出錯 (Error using WSO2 peoplehr connector)

在路徑中找不到 WSO2ESB 自定義中介 Java 類 (WSO2ESB Custom Mediator Java Class is not found in the path)

WSO2 豐富陣列 (WSO2 Enrich array)

wso2代理服務出錯 (Error in wso2 proxy service)

如何豐富 OM 屬性中的節點值? (How to enrich a node value in OM property?)

如何發送字符串內容作為來自 WSO2 ESB 代理的響應? (How to send string content as the response from WSO2 ESB Proxy?)

wso2-esb 集群後,每個 carbon 控制台(管理和工作人員)都不工作 (wso2-esb After clustering, every carbon console(management and worker) doesn't work)

WSO2 ESB:如何處理端點返回的內部錯誤 (WSO2 ESB: How to handle internal error returned by an endpoint)







留言討論