private void WriteStructMethod(StructMapping structMapping) { if (structMapping.IsSoap) WriteEncodedStructMethod(structMapping); else WriteLiteralStructMethod(structMapping); }