이 콘텐츠는 선택한 언어로 제공되지 않습니다.
14.5. JAX-WS Development Reference
14.5.1. Enable Web Services Addressing (WS-Addressing) 링크 복사링크가 클립보드에 복사되었습니다!
링크 복사링크가 클립보드에 복사되었습니다!
Prerequisites
- Your application must have an existing JAX-WS service and client configuration.
Procedure 14.1. Annotate and Update client code
Annotate the service endpoint
Add the@Addressing
annotation to the application's endpoint code.Example 14.28.
@Addressing
annotationThis example demonstrates a regular JAX-WS endpoint with the@Addressing
annotation added.Copy to Clipboard Copied! Toggle word wrap Toggle overflow Update client code
Update the client code in the application so that it configures WS-Addressing.Example 14.29. Client configuration for WS-Addressing
This example demonstrates a regular JAX-WS client updated to configure WS-Addressing.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Result
The client and endpoint are now communicating using WS-Addressing.