![](/img/trans.png)
[英]Conditional Routing based on JSON evaluation in WSO2
我有以下 JSON 數據: 如果存在 Update JSONARray,我需要調用 UpdateCustomer Sequence。 如果存在 Create JSONArray,我需要調用 CreateCustomer Sequence。 我正在嘗試使用 Conditional Router Me ...
[英]Conditional Routing based on JSON evaluation in WSO2
我有以下 JSON 數據: 如果存在 Update JSONARray,我需要調用 UpdateCustomer Sequence。 如果存在 Create JSONArray,我需要調用 CreateCustomer Sequence。 我正在嘗試使用 Conditional Router Me ...
[英]Extracting binary as base64 String results in incomplete file?
我正在嘗試從 soap 響應中提取二進制文件並將其轉換為 base64 字符串,但實際情況是我將部分二進制文件轉換為 base64 而不是完整的二進制數據。 集成工作室:8.1.0 soap 響應如下: 提取二進制並將其轉換為 base64 字符串的代碼如下: 我的服務代碼如下: 編輯:我也嘗試 ...
[英]how to rewrite the url in lowercase in WSO2
我有一個網關 URL: https://baseurl/1.0.0/Api/Users/Login 並需要使用 URLRewrite Mediator 以小寫形式重寫。 需要導航到這里:https://baseurl/1.0.0/api/users/login value、type、fragment ...
[英]Custom Basic Auth not working in WSO2 EI 6.5.0 - ERROR: java.lang.ArrayIndexOutOfBoundsException: 1
我正在嘗試在 WSO2 EI 6.5.0 中實現Basic Auth 。 下面提到的 Class Mediator 代碼被捆綁並放入<WSO2EI_HOME>/lib並完成產品重啟。 圖書館: 自定義基本驗證: 當我調用 API 時,在wso2carbon日志文件中發現以下錯誤線路日 ...
[英]How to remove JSON field from payload factory using WSO2 EI Enrich Mediator?
我有一個包含許多字段的有效負載,但我只想將它們不為空的字段發送到后端,所以我嘗試使用 enrich mediator 刪除這些字段(如果它們為空)但我收到錯誤。 這是我的有效載荷工廠: <payloadFactory media-type="json"> <format> ...
[英]Cipher Tool is not encrypting password
我在windows 10上使用 WSO2集成工作室8.1.0,我安裝了ant Apache Ant 1.10.12並將 ANT bin 目錄添加到ANT_HOME變量系統目錄() 在我位於Integration_Studio_Home\runtime\microesb\conf的deployment ...
[英]XML reader error: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte 0x8b (at char #2, byte #-1) WSO2 ESB
我們有一個調用 REST 服務的序列,在接收序列中我們調用 SOAP 服務。 這是傳遞給 SOAP 調用的 xml 有效負載。 但出於某種原因,我得到以下回應: 當通過 ESB 或通過 soapUI 自行調用 SOAP 服務時,它工作正常。 但是通過 WSO2 Integration studio ...
[英]how i can do if between two dynamic variable in mediator script esb wso2
我有這個 if 條件但如果值為 static 則不起作用,當我 annee2 和 annee1 static 例如 <2023 和 >=2019 它有效:這是我的代碼: 我收到錯誤消息:查詢為空 ...
[英]Unable to configure the service for the JMS transport: Service doesn't have configuration information for transport jms
我正在嘗試應用示例:在Integration Studio 8.1.0 中從 JMS 切換到 HTTP https://ei.docs.wso2.com/en/latest/micro-integrator/use-cases/examples/protocol-switching/switchi ...
[英]How to inject a property into endpoint url call in WSO2 Integration Studio?
我想使用屬性值作為參數調用端點,但它為我返回了這個異常: 這是我的代碼: <iterate expression="//accounts/account"> <target> <sequence> <property expression="json-e ...
[英]Can i call XML-RPC method from WSO2 API Manger?
從 Postman 調用 XML-RPC 方法效果很好,但是當我在 WSO2 API 網關中部署此 API 時,它給我一個“錯誤解碼 RPC”。 Postman 截圖 XML 負載示例。 響應錯誤示例: 我必須將 Content-Length 添加到 header,其值為 Postman 才能 ...
[英]WSO2 APIM 4.0 : The requested resource is not available
我在 API 管理器上發布了工作 API ,我在集成工作室中對 API 代碼進行了一些更改,然后導出了一個 CAR 文件。 之后我在微集成器 7.1.0中部署了我的 API 的汽車文件並重新啟動微集成器然后在 API 管理器中進行保存和部署以發布 API 的新版本(通常這沒有問題,我已經做過好幾次了 ...
[英]Scheduling tasks in wso2 Integration Studio
我正在嘗試安排一個任務,其中我想調用一個不接受任何輸入有效負載的代理。 這是我試過的代碼:<?xml version="1.0" encoding="UTF-8"?> <task class="org.apache.synapse.startup.tasks.MessageInje ...
[英]Return SOAP response using WSO2 when invoking an API
我使用返回 JSON 對象的 WSO2 數據服務創建了一個 API,我的客戶端應用程序等待 SOAP 響應而不是 JSON 響應,所以我嘗試使用數據映射器將響應格式從 JSON 更改為 SOAP 但它只返回 XML 格式沒有 SOAP Body 和 SOAP 信封。 如何解決這個問題? 這是我想要獲 ...
[英]To enable Mutual SSL Authentication (2 way SSL) in WSO2 EI 6.X.X(Docker)
要求客戶端應用程序僅接受基於證書的身份驗證,我相信這可以通過在 WSO2 EI 中啟用相互 SSL 身份驗證來實現。 上述場景將適用於入站(Client APP --> WSO2 EI)和出站流(WSO2 EI --> Client APP) 。 用於測試目的的本地系統中遵循的步驟: ...
[英]DS Fault Message: Error in 'createProcessedPreparedStatement' in WSO2 DataService
我在 WSO2 中創建了一個數據服務來執行 SQL Query TRUNCATE TABLE Student並將其公開為 API,但我收到了這個錯誤 [2022-12-07 16:33:57,222] 錯誤 {DBInOnlyMessageReceiver} - 僅在消息接收器 DS 故障消息中出錯 ...
[英]How to transform a xml response to the JSON array in wso2 EI
我收到 XML 響應,需要將其轉換為 JSON 數組。 XML回復如下: 我正在使用 messageType "application/JSON" 並得到以下結果: } 但是我需要得到的格式如下: 我也使用過 JSON 轉換器,但沒有更改響應格式。 我對 JSON 變壓器使用了以下配置 你能幫我 ...
[英]Enrich mediator add payload wso2
我使用 enrich mediator 添加了一個有效負載,其中包含學生的姓名和 totalnote 我的問題是我想用屬性替換值這是我的代碼 它不起作用,我總是收到空的{ "etudiants": { "nom": "", "note": "" } ...
[英]Get SUM from Iterator mediator esb wso2
我使用 Iterator 和 Script Mediator 來計算學生成績的總和。 我看到這個問題,我每次收到 0 和 noteis 的總和,你說 totalnote 不采用變量 note 和 increment 例如,如果我把 totalnote 的值設為 16,它是 16 和每行的 note ...
[英]how to receive responses from the iso8583 in wso2
我已經完成了流程,所有的作品都順應了流程。 我正在使用套接字測試來測試它並使用 postman 作為 api 調用者。 但是當我從套接字測試發送響應時,我無法收到對 postman 的響應。有什么解決方案嗎? 我使用那個來源,但我沒有從套接字測試中得到任何回應。 這個問題有什么解決辦法嗎? ...