I have started to develop a bean-service. To start with Switchyard i take look on the examples. In all this examples are already WSDL files available, also in the bean-service. In the documentation i found how to refer the wsdl in the switchyard.xml and also how to get the switchyard.xml. But never how i can generate the wsdl from the bean-service source files. Is there a way to generate the wsdl / xsd for this services or i have to implement them self?
I find wsprovide (located in the AS7 bin/ directory) to be pretty useful in this type of situation. Using bean-service as an example:
cd bean-service $AS_HOME/bin/wsprovide.sh -w --classpath target/classes org.switchyard.quickstarts.bean.service.OrderService
Run that and check the output directory for the generated WSDL and XSD. Let me know if that doesn't satisfy your need.
|Retrieving data ...|