How To Use

Play SOAP Plugin is a plugin module to JAXB that converts WSDLs into SOAP client interfaces for work with asynchronous requests.

Start by adding the dependency play-soap-plugin to the project and set required WSDL options:

Option Accepted values Required Interpretation

-fe

play

true

Specifies the frontend to enable play-soap-plugin

-xjc-Xplay:lang

scala, java

true

Generate the future type to wrap an original type.

scala - scala.concurrent.Future for Scala projects.

java - java.util.concurrent.CompletionStage for Java projects.

-xjc-Xplay:target

play

false

Generates SOAP client classes for the specified framework.

play - Play Framework

Additional documentation on WSDL2JAVA options can be found here.

For better workflow integration, consider integrating the module into one of these supported build tools (maven, gradle and sbt). A direct command line interface is also available.