how do i create a soap/xml envelope

how do i create a soap/xml envelope

how can i create a soap envelope of the following form, to send to an external api?
  1. <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
      <soap:Body>
        <CreateNewProduct xmlns="http://example.com/">
          <Login>string</Login>
          <Password>string</Password>
          <SKU>string</SKU>
          <ProductDescription>string</ProductDescription>
          <UPCCode>string</UPCCode>
          <ProductRequiresLotNumbers>string</ProductRequiresLotNumbers>
          <ServiceUnit>string</ServiceUnit>
          <ServiceUnitQuantity>string</ServiceUnitQuantity>
          <Weight>string</Weight>
          <DefaultUnitPrice>string</DefaultUnitPrice>
          <CountryOfOrigin>string</CountryOfOrigin>
          <HarmonizedCode>string</HarmonizedCode>
        </CreateNewProduct>
      </soap:Body>
    </soap:Envelope>