Skip to content

XML/SOAP Ersatz tools, for Scala (developed & used with Play Framework 2.0 Scala) to read/write XML/SOAP without code generation, annotations or whatever magic

License

Notifications You must be signed in to change notification settings

mandubian/scala-xmlsoap-ersatz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML/SOAP Ersatz tools

XML/SOAP Ersatz tools, for Scala to read/write XML/SOAP without code generation, annotations or whatever magic.

This API is developed & used with Play Framework 2.0 Scala.

You may use this api if like me:

  • You don't like SOAP because it's not human-friendly at all, it's too verbose and the surrounding standards are just non-sense
  • You hate WSDL because it's not humanly readable and requires tools to manipulate them
  • You must pollute your code with esoteric annotations just to do RPC in the great majority of cases
  • You hate all those bloated frameworks to manage SOAP and the crazy standards around it
  • You don't understand why we still use SOAP but you still have to communicate in SOAP in many cases so you still must bear it
  • You just want to extract the data you need from SOAP frames you receive and to generate SOAP frames that look like what your client expect but you don't care about the standards behind that.

This API is just a set of tools, almost only syntactic sugar to help you:

  • It DOES NOT pretend to provide pure standard SOAP.
  • It DOES NOT generate WSDL so you must provide it yourself.
  • It just helps you mimic SOAP by providing a few tools and helpers to deserialize/serialize.
  • It just aims at being practical without needing deep knownledge of SOAP standards.
  • It can serialize/deserialize SOAP so it can also do it for XML...
  • It uses pure Scala XML library even if it's a bit incoherent sometimes. AntiXML could be cool too...

This is a draft module providing raw mechanisms. Don't hesitate to contribute to make it better ;)

More information+tuto in the wiki

Have fun!
Pascal

Credits to Étienne Vallette d'Osia for inspiring/tackling draft version of this code ;)

About

XML/SOAP Ersatz tools, for Scala (developed & used with Play Framework 2.0 Scala) to read/write XML/SOAP without code generation, annotations or whatever magic

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages