Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
14.5. JAX-WS Development Reference
14.5.1. Enable Web Services Addressing (WS-Addressing) Link kopierenLink in die Zwischenablage kopiert!
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
The client and endpoint are now communicating using WS-Addressing.