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