getServices static method

XmlDocumentFragment getServices([
  1. bool includeCapability = false
])

XML for the getServices

Implementation

static XmlDocumentFragment getServices([bool includeCapability = false]) {
  Transport.builder.element('GetServices', nest: () {
    Transport.builder.namespace(Xmlns.tds);

    Transport.builder.element('IncludeCapability', nest: () {
      Transport.builder.text(includeCapability ? 'true' : false);
    });
  });

  return Transport.builder.buildFragment();
}