Confusingly the User Guide in the section on wrapped doc literal states:
Wrapped is an implementation detail from the Java domain. Neither in the abstract contract (i.e. wsdl+schema) nor at the SOAP message level is a wrapped endpoint recognizable.
I can deploy the following web service:
@WebService
@SOAPBinding(
style = SOAPBinding.Style.DOCUMENT,
use = SOAPBinding.Use.LITERAL,
parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
public class Boing
{
/**
* Should generate a wrapped document literal interface.
*
* @param payload
* @return
*/
@WebMethod
@WebResult (name = "bouncedPayload")
public byte[] bounce(
@WebParam(name = "token")
String token,
@WebParam(name = "payload")
byte[] payload)
{
return payload;
}
Forgot to mention this was deployeed as a war with web.xml only, no deployment descriptors were generated (i.e.: everything should get generated at deployment time from the annotations).