26.2. URI 格式
此端点有两个 URI 格式: cxfEndpoint 和 someAddress。
cxf:bean:cxfEndpoint[?options]
cxf:bean:cxfEndpoint[?options]
其中 cxfEndpoint 代表一个 bean ID,它引用 Spring bean registry 中的 bean。使用此 URI 格式时,大多数端点详情都在 bean 定义中指定。
cxf://someAddress[?options]
cxf://someAddress[?options]
其中 someAddress 指定 CXF 端点的地址。使用此 URI 格式时,大多数端点详情都通过选项来指定。
对于以上任一样式,您可以按如下方式在 URI 中附加选项:
cxf:bean:cxfEndpoint?wsdlURL=wsdl/hello_world.wsdl&dataFormat=PAYLOAD
cxf:bean:cxfEndpoint?wsdlURL=wsdl/hello_world.wsdl&dataFormat=PAYLOAD