https://kotlinlang.org logo
Title
p

PHondogo

09/24/2019, 5:23 PM
Hello! Does ktor client have support for SOAP?
s

Sergey Bondari

09/25/2019, 12:51 AM
I use a combination of JAXB generated classes + java soap message class to actually render XML, the rest is business as usual.
Same is when you’re reading back the soap resoponse, just use SOAP message to extract body and then use JAXB parser to build model representation. I even created an apache cxf plugin to add jetbrains nullability annotations into DTOs for better kotlin support. It actually works very nicely together.
m

Mati Galli

02/03/2023, 9:21 PM
Hi Sergey! Can you share that plugin? I'm interested in a solution like yours 🙂