什么是 Web 服务端点? [英] What is a web service endpoint?

查看:30
本文介绍了什么是 Web 服务端点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我的 Web 服务位于 http://localhost:8080/foo/mywebservice 而我的 WSDL 位于 http://localhost:8080/foo/mywebservice?wsdl.

Let's say my web service is located at http://localhost:8080/foo/mywebservice and my WSDL is at http://localhost:8080/foo/mywebservice?wsdl.

http://localhost:8080/foo/mywebservice 是否是端点,即它是否与我的 Web 服务的 URI 或接收和解组 SOAP 消息的位置相同?

Is http://localhost:8080/foo/mywebservice an endpoint, i.e., is it the same as the URI of my web service or where the SOAP messages received and unmarshalled?

你能向我解释一下它是什么以及它的目的是什么吗?

Could you please explain to me what it is and what the purpose of it is?

推荐答案

这是一个更简短但希望更清晰的答案...是的,端点是客户端应用程序可以访问您的服务的 URL.同一个网络服务可以有多个端点,例如为了使用不同的协议使其可用.

This is a shorter and hopefully clearer answer... Yes, the endpoint is the URL where your service can be accessed by a client application. The same web service can have multiple endpoints, for example in order to make it available using different protocols.

这篇关于什么是 Web 服务端点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆