我正在使用 wso2 教程,此时https://docs.wso2.com/display/ESB500/Sending+a+Simple+Message#SendingaSimpleMessage-uriTemplate 我有 ESB 的 Web 界面在 localhost 上运行:9443/carbon 我已经创建并打包了 carbon 应用程序,如“发送简单消息”文档中所述。“API”页面说我在 http://localhost:8280/healthcare有一个 API 资源, 所以我试图卷曲它,但它失败了:
[bajal@bajal:~/ESBTOOL/eclipse]# curl "http://localhost:8280/healthcare/querydoctor/surgery"
curl: (7) Failed to connect to 127.0.0.1 port 8280: Connection refused
netstat 向我显示 java-app(esb 本身)没有可能看起来像 8280 的开放端口。
我很困惑。在 ESB 文档中没有任何关于它的内容。请帮我通过教程:)