How to specify ReplyTo EndpointReference in a JAX-WS client?
问题 I want to use JAX-WS API to create a WS-Addressing enabled web service client. I used wsimport to create the client stub from the WSDL file, and can enable/disable WS-Addressing by using the AddressingFeature, e.g. Hello hello = service.getHelloSoap11(new AddressingFeature(true, true)); However, I cannot find any samples in web that customize the WS-Addressing ReplyTo/FaultTo endpoint reference. Basically I want to create a WS request like the following (see the wsa:ReplyTo element): <soapenv