Skip to content

Instantly share code, notes, and snippets.

@asilchev
Created December 7, 2012 14:48
Show Gist options
  • Save asilchev/4233705 to your computer and use it in GitHub Desktop.
Save asilchev/4233705 to your computer and use it in GitHub Desktop.
Обработка входящего SOAP
@Endpoint
public class HolidayServiceEndpoint {
private static final String NAMESPACE_URI = "http://mycompany.com/hr/schemas";
private static final Logger logger = LoggerFactory.getLogger(HolidayServiceEndpoint.class);
@PayloadRoot(namespace = NAMESPACE_URI, localPart = "HolidayRequest" )
public void handleHolidayRequest(@RequestPayload HolidayRequest request) throws Exception {
logger.debug("HolidayServiceEndpoint invoked!!! {}", request.getClass().getName());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment