Last active
August 29, 2015 14:14
-
-
Save elucidator/ff38e8272786e536b856 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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