https://kotlinlang.org logo
#ktor
Title
# ktor
h

hdarritchon

12/17/2018, 3:23 PM
Hi. Is there a way to do soap client in Ktor ? Or ktor is for rest only ?
s

Shawn

12/17/2018, 3:41 PM
HttpClient
is perfectly capable of sending and receiving XML, Jackson provides an
XmlMapper
for serialization and deserialization, and
jackson-module-kotlin
can handle automatic marshalling between XML and Kotlin classes
Past that, everything wrt SOAP-compliancy is up to you to implement, but ktor can handle the messaging layer just fine
5 Views