Reputation: 841
Typically you would be able to generate a CLIENT java class(es) based on a WSDL. However, that's not what I need here.
There is a Webservice that I want to create a proxy for. I need the proxy to be able to expose the exact same WSDL as the Webservice. The proxy will then translate the requests and hand them off to another system. Since I have the WSDL for the Webservice, I figure there may be a tool to generate the skeleton code (Java) for the proxy so that it can satisfy that WSDL. A tool would be handy because of the sheer number of operations this Webservice handles.
Once I have the skeleton code, I can go ahead and start writing the logic for each operation that the WSDL has.
Upvotes: 0
Views: 408
Reputation: 11673
I might be misunderstanding the question but isn't this what any contract-first webservice library does? I believe Spring WS only supports writing the WSDL first and than generate you java code from that. I prefer Apache CXF myself. It supports both aproaches, java or wsdl first.
http://static.springsource.org/spring-ws/sites/2.0/reference/html/tutorial.html
Upvotes: 0
Reputation: 2848
You can use Actional WebService proxy by Progress Software: http://www.progress.com/en/Product-Capabilities/continuous-service-optimization.html
It does exactly what you are asking for. It also allows to register custom action handlers that you can place your java code in. Also it does out of the box XSLT transformations, and call splits (e.g. call one service then turn around and call multiple backend services).
Upvotes: 0