Hi i m new to play framework. There are SOAP based java web services running under jetty server in my back end cluster. I m developing a web based Application using play 2.1.2 which should call the SOAP web services running in the back end cluster.
I searched through google and found some links but I couldnt make out from them http://playframework.wordpress.com/2010/08/15/web-services-using-play/
Can someone tell me what should be the code or how i should write to call the SOAP web services in play framework 2.1.2?
Thanks
I came across this library:
http://downloads.typesafe.com/rp/play-soap/SbtWsdl.html
Even I'm faced with a situation where I have to consume SOAP based web services from within my Play application. My plan is to use the Play SOAP library. Give it a try!
Play2 only supports making call to REST web services using standard GET and POST arguments. If you want to work with SOAP webservices, they use a specific XML format and their parameters are defined by WSDL and XSD files. To call SOAP services within Play2, you'll have to use a SOAP client library for Scala such as ScalaXB
I've been attempting this myself for a project, but I ran into a compilation error using Scalaxb and posted it on their issue tracker: https://github.com/eed3si9n/scalaxb/issues/235
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With