SOAPFactory soapFactory = SOAPFactory.eINSTANCE;
SOAPBody soapBody = soapFactory.createSOAPBody();
soapBody.setUse((getUseOption(bindingOutput) == USE_ENCODED) ? "encoded" : "literal");
if (getUseOption(bindingOutput) == USE_ENCODED && getStyleOption(bindingOutput) == STYLE_RPC)
{
List encodingList = new BasicEList();
encodingList.add("http://schemas.xmlsoap.org/soap/encoding/");
soapBody.setEncodingStyles(encodingList);
soapBody.setNamespaceURI(getNamespace(bindingOutput));
}
else if (getUseOption(bindingOutput) == USE_LITERAL && getStyleOption(bindingOutput) == STYLE_RPC)
{