WSO2 EI 6.6中的AnonymuSendPoint带有地址{uri.var.apiurl}

发布于 2025-01-30 15:16:35 字数 1866 浏览 3 评论 0原文

我厌倦了将请求发送到端点,我会遇到匿名点错误,当我使用邮递员的请求达到端点URL时,我该怎么办来解决此问题。

而且我什至疲倦了MarkforsPension和悬挂式配置,除了没有任何其他方法。

<property name="singleQuote" scope="default" type="STRING" value="'"/>
                        <property description="AppConfig" expression="evaluate(fn:concat('get-property(',get-property('singleQuote'),'QRSag_iAppraisal_Config_',get-property('clientOrg'),get-property('singleQuote'),')' ))" name="AppConfig" scope="default" type="OM"/>
                        <property expression="$ctx:AppConfig//*[local-name()='laravel_url']/text()" name="uri.var.apiurl" scope="default" type="STRING"/>
                        <property expression="$ctx:AppConfig//*[local-name()='authorization']/text()" name="Authorization" scope="transport" type="STRING"/>
                        <!--  
                        <log level="custom">
                        <property name="uri.var.apiurl :::::::::::::::::::   " expression="$ctx:uri.var.apiurl"/>
                        <property name="Authorization :::::::::::::::::::   " expression="$trp:Authorization"/>
                        </log> -->
                       <call description="VB iAppraisal Endpoint">
                            <endpoint>
                                <http method="post" uri-template="{uri.var.apiurl}"/>
                            </endpoint>
                        </call>
                        <!--  <log level="custom">
                        <property name="Laravel API Response :::::::::::::::::::   " expression="json-eval($.)"/>
                        </log> -->

I tired to send the request to an endpoint I get the AnonymousEndpoint error and when I hit the endpoint URL with request in the postman it's working fine what should I do to fix this issue.

And I even tired the markForSuspension and suspendOnFailure configuration nothing worked as excepted.

<property name="singleQuote" scope="default" type="STRING" value="'"/>
                        <property description="AppConfig" expression="evaluate(fn:concat('get-property(',get-property('singleQuote'),'QRSag_iAppraisal_Config_',get-property('clientOrg'),get-property('singleQuote'),')' ))" name="AppConfig" scope="default" type="OM"/>
                        <property expression="$ctx:AppConfig//*[local-name()='laravel_url']/text()" name="uri.var.apiurl" scope="default" type="STRING"/>
                        <property expression="$ctx:AppConfig//*[local-name()='authorization']/text()" name="Authorization" scope="transport" type="STRING"/>
                        <!--  
                        <log level="custom">
                        <property name="uri.var.apiurl :::::::::::::::::::   " expression="$ctx:uri.var.apiurl"/>
                        <property name="Authorization :::::::::::::::::::   " expression="$trp:Authorization"/>
                        </log> -->
                       <call description="VB iAppraisal Endpoint">
                            <endpoint>
                                <http method="post" uri-template="{uri.var.apiurl}"/>
                            </endpoint>
                        </call>
                        <!--  <log level="custom">
                        <property name="Laravel API Response :::::::::::::::::::   " expression="json-eval($.)"/>
                        </log> -->

Log Error

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文