Skip to content

Instantly share code, notes, and snippets.

@elucidator
Last active August 29, 2015 14:14
Show Gist options
  • Save elucidator/ff38e8272786e536b856 to your computer and use it in GitHub Desktop.
Save elucidator/ff38e8272786e536b856 to your computer and use it in GitHub Desktop.
@WebMethod(
action = "ServiceName",
operationName = "operation")
public MyResponse operation(
@WebParam(
mode = WebParam.Mode.INOUT,
header = true,
name = "JaxbHeader",
targetNamespace = "http://www.elucidator.nl/header/v1.0")
final Holder headerHolder,
@WebParam(
mode = WebParam.Mode.IN,
name = "data")
final JaxbPayload payload)
throws MyServiceException {
//SNIP
if (headerHolder.value.flag) {
headerHolder.value.field = "SomeValue";
return responseObject;
}
//SNIP SOME MORE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment