Mulesoft 服务器 configure/access 网络服务器
Mulesoft server configure/access web server
Mule 和服务器部署的初学者,所以请帮忙。我有我的本地 apache http web 服务器 运行 并在第三方应用程序中配置了 web 服务器设置。第三方应用程序的网络服务 POST HTTP 数据到我可以在 PHP 文件中访问并查看数据的网络服务器。
如何在 Mule 中模拟相同的内容?是否可以在该应用程序中将 Mule Server 配置为 Web 服务器?如果不能,我可以通过任何连接器访问 Apache Web 服务器中可用的数据吗?
Mule 带有一个 HTTP 连接器,所以它可以接收 HTTP POST 请求。
参考:https://developer.mulesoft.com/docs/display/current/HTTP+Connector
是的,您可以使用 HTTP 连接器向服务器发送 POST 请求。
您也不必只配置您将访问应用程序的端口的服务器属性。
<flow name="testFlow1" doc:name="testFlow1">
<http:inbound-endpoint exchange-pattern="request-response" host="Server_Address_e.g._localhost" port="Enter_Port_Here" path="Enter_your_path_here" doc:name="HTTP"/>
</flow>
Mule 和服务器部署的初学者,所以请帮忙。我有我的本地 apache http web 服务器 运行 并在第三方应用程序中配置了 web 服务器设置。第三方应用程序的网络服务 POST HTTP 数据到我可以在 PHP 文件中访问并查看数据的网络服务器。
如何在 Mule 中模拟相同的内容?是否可以在该应用程序中将 Mule Server 配置为 Web 服务器?如果不能,我可以通过任何连接器访问 Apache Web 服务器中可用的数据吗?
Mule 带有一个 HTTP 连接器,所以它可以接收 HTTP POST 请求。
参考:https://developer.mulesoft.com/docs/display/current/HTTP+Connector
是的,您可以使用 HTTP 连接器向服务器发送 POST 请求。 您也不必只配置您将访问应用程序的端口的服务器属性。
<flow name="testFlow1" doc:name="testFlow1">
<http:inbound-endpoint exchange-pattern="request-response" host="Server_Address_e.g._localhost" port="Enter_Port_Here" path="Enter_your_path_here" doc:name="HTTP"/>
</flow>