Document/literal wrapped is an improvement over document/literal. In the document/literal wrapped mode, another element, called a wrapper element, is added within the WSDL document. This element represents the method being called from within the SOAP message.

In the code example, the myMethod wrapper element is defined in the WSDL document. The myMethod wrapper element maps to the myMethod element in the SOAP message. The wrapper element is further referenced by the part subelement of the message element in the WSDL document.

This approach eliminates the weakness of the document/literal mode where the operation name was lost. In document/literal wrapped, the operation name is reintroduced into the WSDL file through the wrapper element.