diff --git a/lib/soap.ts b/lib/soap.ts
index 0144125..ae7373d 100644
--- a/lib/soap.ts
+++ b/lib/soap.ts
@@ -316,7 +316,9 @@ function SetParameterAttributes(methodRequest): string {
p[1] == null ? "" : p[1]
}${
p[2] == null ? "false" : "true"
- }${
+ }${
p[2] == null
? ""
: p[2].map(s => `${encodeEntities(s)}`).join("")