首页 文章

WSO2 APIM申请注册网址:批准未找到的操作

提问于
浏览
0

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

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

为此,我们遵循https://docs.wso2.com/display/AM210/Adding+an+Application+Registration+Workflow中的说明

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

之前的工作流程(ApplicationCreation)运行正常,但是当我们在商店中点击“GenerateKeys”时,这会在BPS中失败并显示错误,表示操作urn:approve无效

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,并使用soapAction = urn:approve部署了WSDL 1.1 endpoints .

API Manager(store)中的 endpoints ,注册表 /_system/governance/apimgt/applicationdata/workflow-extensions.xml 中的工作流扩展按照描述进行修改

<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>

1 回答

  • 1

    我用APIM 2.2.0和BPS 3.6.0和EI 6.2.0测试了它 . 它工作正常 . 您可以将workflow-extensions.xml中SandboxApplicationRegistration的callbackURL中的端口更改为8248并重试吗?

相关问题