WSO2 APIM 应用程序注册 urn:approve action not found [英] WSO2 APIM Application Registration urn:approve action not found

查看:53
本文介绍了WSO2 APIM 应用程序注册 urn:approve action not found的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

更新:我们已经重现了连接到 EI 6.1.1 业务流程模块的相同问题

UPDATE: We have reproduced the same problem connecting to EI 6.1.1 business process module

我们正在尝试使用 BPS(版本 3.6.0)为 API 管理器(版本 2.1.0)实现应用程序注册(生成密钥).

We are trying to implement a application registration (generation of key) for API manager (version 2.1.0), using BPS (version 3.6.0).

为此,我们正在按照中的说明进行操作https://docs.wso2.com/display/AM210/添加+an+申请+注册+工作流程

For this, we are following the instructions in https://docs.wso2.com/display/AM210/Adding+an+Application+Registration+Workflow

我们还更正了包内容中的拼写错误,由https://github.com/wso2/product-apim/pull/2730/files#diff-737be153055f194110665b96252dcebe

We have also corrected a typo in the content of the package, as provide by the https://github.com/wso2/product-apim/pull/2730/files#diff-737be153055f194110665b96252dcebe

之前的工作流(ApplicationCreation)工作正常,但是当我们在商店中点击GenerateKeys"时,在BPS中失败并出现错误,说操作urn:approve无效

The previous workflow (ApplicationCreation) works fine, but this, when we click in "GenerateKeys" in store, fails with error in BPS, saying that the action urn:approve is invalid

TID: [-1234] [] [2018-06-20 21:11:32,909] DEBUG {org.wso2.carbon.bpel.messagetrace} -  Message received: ApplicationRegistrationWorkFlowProcess.{http://workflow.application.apimgt.carbon.wso2.org}initiate {org.wso2.carbon.bpel.messagetrace}
TID: [-1234] [] [2018-06-20 21:11:33,824]  WARN {org.apache.axis2.addressing.AddressingFaultsHelper} -  triggerActionNotSupportedFault: messageContext: [MessageContext: logID=11ff1a7f886692cdddf6394b6d5e88da06b8bac0e1095ec3] problemAction: urn:approve {org.apache.axis2.addressing.AddressingFaultsHelper}
TID: [-1234] [] [2018-06-20 21:11:33,830] ERROR {org.apache.axis2.engine.AxisEngine} -  The [action] cannot be processed at the receiver. {org.apache.axis2.engine.AxisEngine}
org.apache.axis2.AxisFault: The [action] cannot be processed at the receiver.

我们已经在 BPS carbon 控制台中检查了服务 ApplicationRegistrationWorkFlowProcess 已部署,并且 WSDL 1.1 端点已使用 soapAction=urn:approve 部署.

We have checked, in BPS carbon console, that the service ApplicationRegistrationWorkFlowProcess is deployed, and the WSDL 1.1 endpoint is deployed with soapAction=urn:approve.

API Manager(商店)中的端点,注册表中的工作流扩展/_system/governance/apimgt/applicationdata/workflow-extensions.xml 修改为

The endpoint in API Manager (store), the workflow-extensions in registry /_system/governance/apimgt/applicationdata/workflow-extensions.xml are modified as described to

<SandboxApplicationRegistration executor="org.wso2.carbon.apimgt.impl.workflow.ApplicationRegistrationWSWorkflowExecutor">
    <Property name="serviceEndpoint">http://apibps.example.com:9765/services/ApplicationRegistrationWorkFlowProcess/</Property>
    <Property name="username">admin</Property>
    <Property name="password">admin</Property>
    <Property name="callbackURL">https://apimanager.example.com:8243/services/WorkflowCallbackService</Property>
</SandboxApplicationRegistration>

推荐答案

我对 APIM 2.2.0 和 BPS 3.6.0 以及 EI 6.2.0 进行了相同的测试.它工作得很好.能不能把workflow-extensions.xml中SandboxApplicationRegistration的callbackURL的端口改成8248重试?

I tested the same with APIM 2.2.0 and BPS 3.6.0 and EI 6.2.0. It worked fine. Can you change the port in callbackURL of SandboxApplicationRegistration in workflow-extensions.xml to 8248 and retry?

这篇关于WSO2 APIM 应用程序注册 urn:approve action not found的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆