代码之家  ›  专栏  ›  技术社区  ›  behzad

wso2 esb中不允许使用方法

  •  0
  • behzad  · 技术社区  · 8 年前

    方法不允许,在日志中,我有这个错误:执行主序列调用不存在= / CardTransfer /

     <api xmlns="http://ws.apache.org/ns/synapse" name="NoorService" context="/CardTransfer" version="v1" version-type="url">
    <resource methods="POST">
      <inSequence>
         <log level="full">
            <property name="befor" value="befor"/>
         </log>
         <send>
            <endpoint>
               <http uri-template="http://x.x.x.x:9110/"/>
            </endpoint>
         </send>
         <log level="full">
            <property name="after" value="after"/>
         </log>
      </inSequence>
      <outSequence>
         <send/>
      </outSequence>
    </resource>
    </api>
    
    1 回复  |  直到 8 年前
        1
  •  1
  •   Saad Sahibjan    8 年前

    您创建的API资源的请求URL为:

    https://<ip>:<port>/CardTransfer
    

    应省略API上下文的正斜杠结尾。

    如果API资源包含 url-mapping="/"

    https://<ip>:<port>/CardTransfer/