soap - WSO2 ESB 未找到操作的端点引用 (EPR),并且 WSA 操作 = urn :mediate

标签 soap wso2 wso2-esb

我是 WSO2 ESB 的新手。我正在为基于 SOAP 的服务做服务代理。其中我的端点服务有多种方法。谁能建议我如何在我的流程文件中声明一个特定的操作(方法)。因为我正在获取未找到操作的端点引用。

下面是我的代理服务源

 <target>
      <inSequence>
         <log level="full"/>
         <log/>
         <send>
            <endpoint>
               <address uri="http://10.203.60.249:9768/services/EmployeeService/"/>
            </endpoint>
         </send>
      </inSequence>
   </target>

在我的 EmployeeService 中,我有多个操作。所以我需要做什么来调用服务的特定操作。即我有像 getSalary、editAddress

这样的操作

最佳答案

您可以像这样在序列中定义一个 Action 头来指定端点的操作,这里的值应该是操作名称(SOAP Action)。

 <header name="Action" value="urn:getSalary"/>

关于soap - WSO2 ESB 未找到操作的端点引用 (EPR),并且 WSA 操作 = urn :mediate,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18842319/

相关文章:

java - 配置 Spring Web 服务以接受内容类型 text/xml Soap 1.2 消息

oauth-2.0 - WSO2 身份服务器 JWT 承载

具有非 WSO2 ESB 的 WSO2 API 管理器?

java - 如何在oracle上使用wso2连接池避免非 Activity session ?

WSO2 ESB : header set in "in sequence" lost in "out sequence"

ruby - 如何使 Ruby 的 SOAP::RPC::Driver 使用自签名证书?

java - @WebParam 在 jetty 服务 SOAP 中始终为空

spring - 无法让 Spring SOAP 客户端工作 : content type 'text/xml; charset=utf-8' was not the expected type 'application/soap+xml; charset=utf-8'

authentication - WSO2 Idp 发起的 SSO

jakarta-ee - WSO2 ESB 中入站端点的含义和用途是什么?