GithubHelp home page GithubHelp logo

mandubian / scala-xmlsoap-ersatz Goto Github PK

View Code? Open in Web Editor NEW
39.0 15.0 19.0 793 KB

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: Apache License 2.0

Scala 100.00%

scala-xmlsoap-ersatz's Introduction

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 ;)

scala-xmlsoap-ersatz's People

Contributors

bobylito avatar mandubian avatar

Stargazers

Lindsay avatar Lutz Hühnken avatar Casey J. Morris avatar Michał Gibowski avatar Alexandre Godet avatar  avatar Artsiom Miklushou avatar Ismail Habib Muhammad avatar Pedro Flores avatar Denis Borisenko avatar  avatar Maxence Warzecha avatar Jérôme BENOIS avatar Jakob Dobrzynski avatar Jonathan Zernik avatar Bùi Việt Thành avatar Jonathan Smith avatar Rafael Gomes avatar  avatar Niklas Ekman avatar  avatar Steve Chaloner avatar Toby avatar Yvonnick Esnault avatar  avatar Matthieu Guillermin avatar Nicu Namolovan avatar  avatar  avatar  avatar Markus Kahl avatar  avatar Oliver Stewart avatar  avatar  avatar Stefan Schlott avatar Daniel Thompson avatar Ismael Juma avatar Hector Miuler Malpica Gallegos avatar

Watchers

Abhishek Tiwari avatar  avatar  avatar Jakob Dobrzynski avatar Taylor Brockman avatar Andreas Neumann avatar Maxence Warzecha avatar Mariot Chauvin avatar Cristhian Parra avatar James Cloos avatar Nizar S. avatar Bùi Việt Thành avatar Pedro Flores avatar  avatar  avatar

scala-xmlsoap-ersatz's Issues

Dependency issue

Hi there! I'm trying to add the lib to my play 2.2.0 app but I'm having trouble downloading the dependecy.

[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: play2.tools.xml#xmlsoap-ersatz_2.10;0.2-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: unresolved dependency: play2.tools.xml#xmlsoap-ersatz_2.10;0.2-SNAPSHOT: not found
...
[error] Missing task key: scalaInstance
java.lang.IllegalArgumentException

My build.sbt

version := "1.1-SNAPSHOT"

libraryDependencies ++= Seq(
cache,
"securesocial" %% "securesocial" % "2.1.2",
"org.reactivemongo" %% "play2-reactivemongo" % "0.10.0",
"play2.tools.xml" %% "xmlsoap-ersatz" % "0.2-SNAPSHOT"
)

scalaVersion := "2.10.2"

resolvers ++= Seq(
Resolver.url("mandubian-mvn snapshots", url("http://github.com/mandubian/mandubian-mvn/raw/master/snapshots")),
Resolver.url("Sonatype snapshots", url("http://oss.sonatype.org/content/repositories/snapshots/")),
Resolver.url("typesafe", url("http://repo.typesafe.com/typesafe/repo")),
Resolver.url("typesafe-community", url("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns),
Resolver.url("typesafe-community-snapshots", url("http://repo.scala-sbt.org/scalasbt/sbt-plugin-snapshots/"))(Resolver.ivyStylePatterns)
)

play.Project.playScalaSettings

I'm probably missing something really simple?
Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.