gpt4 book ai didi

java - 肥皂 :address and jaxws:enpoint address 之间的区别

转载 作者:太空宇宙 更新时间:2023-11-04 14:23:10 26 4
gpt4 key购买 nike

就像标题一样,我是cxf的新手。只是想知道 soap:address 和发布时在应用程序上下文中的 jaxws:endpoint 中指定的地址有什么区别?

此外,在jaxws:endpoint中,地址和publishedEndpointUrl有什么区别?

最佳答案

jaxws:endpointCXF Web 服务的 XML 定义,而 soap:addressWSDL 的定义。

CXF为您发布Web服务,而不是WSDL,它是定义WS结构的契约。 Web Services Description Language .

此外

jaxws:endpoint 的属性。 Reference

地址

Specifies the address of an HTTP endpoint. This value overrides the value specified in the services contract.

publishedEndpointUrl

The URL that is placed in the address element of the generated WSDL. If this value is not specified, the value of the address attribute is used. This attribute is useful when the "public" URL is not be the same as the URL on which the service is deployed.

关于java - 肥皂 :address and jaxws:enpoint address 之间的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26963887/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com