wso2 相关问题

WSO2,基于开源Java的中间件服务提供商。所有WSO2产品都是100%开源的,并在Apache License Version 2.0下发布。

API Manager从2.6.0版本升级到最新版本

我们想知道在不丢失数据或重新配置应用程序的情况下将 WSO2 API Manager 从 2.6.0 升级到最新版本的过程。我们正在使用开源版本。

回答 1 投票 0

WSO2 Identity Server 7.0.0:管理控制台当前在旧模式下运行

我下载了产品WSO2 Identity Server v7.0.0。 我想使用 Carbon 控制台配置 WSO2 IS 集群, 但显然我本地的 CARBON 控制台提供的功能有限......

回答 1 投票 0

如何将授权标头 WSO2 (API Manager) 传递到我的后端服务?

我需要将授权标头从 API Manager (WSO2) 传递到我的服务总线应用程序 (Oracle)。 我在另一篇文章中看到我不能这样做,因为 API 将根据密钥验证令牌...

回答 3 投票 0

WSO2 APIM 4.2.0 使用 OAuth2 验证 API 时出现 401 无效凭据错误

当我尝试使用 OAuth2 对 API 进行身份验证但使用 apikey 工作正常时,WSO2 APIM 给出身份验证失败。在配置级别没有实施任何更改,之前工作正常,但现在

回答 1 投票 0

防止 WSO2 AM 从请求中删除授权令牌

根据文档 当您向后端发送 API 请求时,您将在请求的 Authorization 标头中传递一个令牌。 API网关使用这个token来授权访问,然后删除...

回答 3 投票 0

WSO2 APK(Kubernetes API Platform)是否有图形用户界面,例如 DevPortal 和 Publisher 和 Admin ,......?

我们探索了一种方法,该方法具有最新版本的 WSO2 APIM 以及 Publisher、Devportal、Carbon 和 Admin,...同时具有可扩展网关来执行例如每秒 2000 个请求...

回答 1 投票 0

如何从 WSO2 MI 中的 dss 输出中删除 <?xml version='1.0' encoding='UTF-8'?> 标签

我必须迭代数据库结果。 我使用 dss 从数据库中获取数据。现在结果以 xml 格式出现。但我的流程没有进入迭代中介器。我尝试使用 xpath 在线...

回答 1 投票 0

WSO2 Api 管理器 - 沙盒/生产密钥

使用 WSO2 Api-M On-Prem v3.1.0。 我在 Publisher 中设置了一个 API,其中包含用于生产和沙箱的不同端点。 使用 API 密钥作为应用程序级安全性。 为我的 GET 资源启用安全性...

回答 2 投票 0

如何在WSO2 EI6.6.0中使用Json请求体调用HTTP GET API

我想在 WSO2 EI6.6.0 中集成一个 API,其中下游 API 只接受带有 JSON 请求正文的 HTTP 方法 GET,但根据 WSO2 EI,它会忽略使用有效负载设置的 JSON 请求...

回答 1 投票 0

WSO2 多部分二进制传递和 MultipartFormData

我们目前使用 WSO EI 6.4 作为 ESB。 我们进行了配置,以在 axis2.xml 中为一个 Carbon 应用程序获取“二进制传递”行为 我们目前使用 WSO EI 6.4 作为 ESB。 我们进行了配置,以在 axis2.xml 中为一个 Carbon 应用程序获取“二进制传递”行为 <messageBuilder contentType="multipart/form-data" class="org.wso2.carbon.relay.BinaryRelayBuilder"/> <messageFormatter contentType="multipart/form-data" class="org.wso2.carbon.relay.ExpandingMessageFormatter"/> 但是现在,我们需要开发一个新的碳应用程序,它需要创建多部分消息。 因此我们需要将配置更改为,如本文中所述 <messageBuilder contentType="multipart/form-data" class="org.apache.axis2.builder.MultipartFormDataBuilder" /> <messageFormatter contentType="multipart/form-data" class="org.apache.axis2.transport.http.MultipartFormDataFormatter"/> 但是如果我们这样做,我们将失去“二进制直通”并破坏第一个碳应用程序。 是否有可能仅针对一个 Carbon 应用程序覆盖 messageBuilder 和 messageFormatter? 谢谢你 解决方案 在@tmoasz 的帮助下我能够解决这个问题。 完整解决方案在这里 <inSequence> <!--Extract value from Json--> <property name="Data1" expression="json-eval($.Data1)"/> <property name="Data2" expression="json-eval($.Data2)"/> <property name="File1" expression="json-eval($.File1)"/> <!-- remove body and set MessageBuilder if body not removed, MultipartFormDataFormatter is not call --> <script language="js"> mc.getEnvelope().getBody().getFirstElement().detach(); </script> <builder> <messageBuilder contentType="multipart/form-data" class="org.apache.axis2.builder.MultipartFormDataBuilder" formatterClass="org.apache.axis2.transport.http.MultipartFormDataFormatter"/> </builder> <payloadFactory media-type="xml"> <format> <root xmlns=""> <metadata xmlns="http://org.apache.axis2/xsd/form-data" filename="key1" name="key1">$1</metadata> <!-- content is decode from base64--> <file xmlns="http://org.apache.axis2/xsd/form-data" filename="file1.1" name="file1.1" content-type="application/xml">$3</file> <!-- content is not changed--> <metadata xmlns="http://org.apache.axis2/xsd/form-data" name="file1.2" filename="file1.2" content-type="application/xml">$3</metadata> </root> </format> <args> <arg expression="get-property('Data1')"/> <arg expression="get-property('Data2')"/> <arg expression="get-property('File1')"/> </args> </payloadFactory> <!--set messageType to trigger multiPart Formater --> <property name="messageType" scope="axis2" type="STRING" value="multipart/form-data"/> <!--remove ContentType to force generate header content-type with boundary information --> <property name="ContentType" scope="axis2" action="remove"/> <send> <endpoint> <http method="post" uri-template="http://127.0.0.1:3000/mulitPart/wso2"> <suspendOnFailure> <initialDuration>-1</initialDuration> <progressionFactor>-1</progressionFactor> <maximumDuration>0</maximumDuration> </suspendOnFailure> <markForSuspension> <retriesBeforeSuspension>0</retriesBeforeSuspension> </markForSuspension> </http> </endpoint> </send> </inSequence> 卷曲测试 curl --location --request POST 'http://127.0.0.1:8280/outgoing-mail' \ --header 'Content-Type: application/json' \ --data-raw '{ "Data1": "Value1", "Data2": "Value2", "File1" : "PHhtbD4gICAKICAgIDxoZWxsbz5TdGFjazwvaGVsbG8+CjwveG1sPg==" }' 生成多部分 --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7 Content-Disposition: form-data; name="key1"; filename="key1" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: binary Value1 --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7 Content-Disposition: form-data; name="file1.1"; filename="file1.1" Content-Type: application/pdf; charset=ISO-8859-1 Content-Transfer-Encoding: binary <xml> <hello>Stack</hello> </xml> --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7 Content-Disposition: form-data; name="file1.2"; filename="file1.2" Content-Type: application/pdf; charset=ISO-8859-1 Content-Transfer-Encoding: binary PHhtbD4gICAKICAgIDxoZWxsbz5TdGFjazwvaGVsbG8+CjwveG1sPg== --MIMEBoundary_dfa6d9a4ea9eee573969c1fae03dd6667159a66375689ec7-- 也许BuilderMediator可以做到你想要实现的目标。 查看此:Builder+Mediator 文档。

回答 1 投票 0

Wso2 APIM 版本 4.1.0 CPU 资源使用问题性能调优

当你看到 top 命令响应时,我面临着 cpu 使用率/消耗高达 100% 和 100+%,然后我尝试了调整文档,但没有产生任何影响。请帮助解决这个问题。 顶部 - 1...

回答 1 投票 0

如何从远程计算机访问AWS VM中Minikube上安装的WSO2 API Manager?

我想在 AWS 虚拟机内的 Minikube 上安装 WSO2 API Manager (APIM)。 安装成功。 从 AWS VM 访问 WSO2 的工作原理: 卷曲-kv https://am.wso2.co/publisher 输入图像描述...

回答 1 投票 0

通过WSO2接收并传递JWT响应

我的应用程序从另一个外部端点收到了 JWT 响应,但我遇到了 wso2 无法传递和接收 JWT 响应的问题,并且收到了此错误消息:“...

回答 1 投票 0

WSO2 Enterprise Integrator (wso2ei-6.6.0) - 查询参数未正确传递

我正在使用wso2ei-6.6.0,我创建了一个代理服务,如下所示。 我正在使用 wso2ei-6.6.0,我创建了一个代理服务,如下所示。 <?xml version="1.0" encoding="UTF-8"?><proxy xmlns="http://ws.apache.org/ns/synapse" name="testService" startOnLoad="true" statistics="disable" trace="disable" transports="http,https"> <target> <outSequence> <send/> </outSequence> <endpoint> <address uri="https://example.com/scan"/> </endpoint> </target> <description/> </proxy> 我正在尝试调用此服务传递查询参数,但收到 404,我认为这是由于查询参数未正确传递到后端造成的。 http://eihost/services/testService/getmethod?param1=xxxx¶m2=xxxx¶m3=xxxx¶m4=xxxx 高度赞赏解决此问题的方向。 预先感谢。 代理服务适用于没有接受查询/路径参数概念的 SOAP 服务。相反,创建一个 Rest API。 <?xml version="1.0" encoding="UTF-8"?> <api context="/testService/getmethod" name="SampleRest" xmlns="http://ws.apache.org/ns/synapse"> <resource methods="GET"> <inSequence> ......... </inSequence> <outSequence> <send/> </outSequence> <faultSequence/> </resource> </api>

回答 1 投票 0

WSO2 EI Iterate Mediator 在完成该过程后不会结束。我该如何解决这个问题?

我创建了一个迭代中介器来从 API 检索一些数据。 myArray 内部存储了一些 placeholder_ids,我想根据每个 placeholder_i 从 API 中获取所有数据...

回答 1 投票 0

ELK 堆栈集成无法与 WSO2 API Manager 配合使用

我目前正在尝试将 WSO2 Api 管理器与 ELK 堆栈集成,我按照 Apim 文档中的说明进行操作,但到目前为止我还没有得到任何日志或分析。 我正在发送我所有的 Filebeat、Log...

回答 1 投票 0

为什么 WSO2 APIM Publisher 的“运行时”选项卡中的“保存”按钮被禁用?在某些 API 中按钮被禁用

在某些 API 中按钮被禁用,但在其他 API 中按钮被启用。 APIM版本是4.1 WSO2 API 管理器、发布者、一个 API、运行时选项卡。 您有什么解决方案可以启用它吗?

回答 1 投票 0

将自定义令牌传递到后端

WSo2 API 管理器。 我正在后端使用 API: API-1:该端点位于 /api/GetToken,负责颁发访问令牌。 API-2:它设计用于发送 SMS 消息和

回答 1 投票 0

如何在oracle数据库中存储wso2 api manager日志中的日志

我已经尝试了appenders概念来将日志存储在wso2 api管理器中的数据库中,如下所示 附加器.jdbc.type = JDBC 附加器.jdbc.name = jdbc appender.jdbc.connectionSource.driverClassName = oracle.jdbc.

回答 1 投票 0

wso2 自定义类中介数据库连接问题和外部 jar 未选取

在wso2集成工作室中,我使用自定义类中介器创建了api。我已经配置了记录器和jdbc连接。在运行api类中介器时,正在选择并且日志显示在

回答 1 投票 0

© www.soinside.com 2019 - 2024. All rights reserved.