public static XElement CreateSoapBody(object toSerialise, string toElementName, string toElementNamespace) { return(CreateSoapBody(ObjectXmlSerialiser.SerialiseObject(toSerialise, toElementName, toElementNamespace))); }
public static XElement CreateSoapBody(object toSerialise, string toElementName, string toElementNamespace, XmlWriterSettings xmlWriterSettings) { return(CreateSoapBody(ObjectXmlSerialiser.SerialiseObject(toSerialise, toElementName, toElementNamespace, xmlWriterSettings))); }
public static XElement CreateSoapBody(object toSerialise) { return(CreateSoapBody(ObjectXmlSerialiser.SerialiseObject(toSerialise, null, null))); }