I have a bunch of web services implemented in Spring-WS 1.5.9. We use Maven to do our builds, our services run on OC4J that have a UDDI provider.
What we want to do is to start using UDDi internally to register our web services to allow other groups in the business to find and use them.
The problem is that I've not been able to find how to actually put this all together. How do I get the services to register them selves when they are deployed to the app server.
Spring doesn't seem to have any support or annotations. There doesn't appear to be a maven plugin.
I've got all the pieces but how do I put these together into an automated solution?
The Security package ( spring-ws-security. jar ) provides a WS-Security implementation that integrates with the core Web service package. It allows you to add principal tokens, sign, and decrypt and encrypt SOAP messages.
Annotation Type Endpoint @Endpoint represents the lowest common denominator for endpoints and intentionally limits the sorts of operation methods that may be defined in order to support the broadest possible range of exposure technologies.
localPart. Signifies the local part of the payload root element handled by the annotated method. Optional Element Summary. String.
The MessageDispatcherServlet is a standard Servlet which conveniently extends from the standard Spring Web DispatcherServlet , and wraps a MessageDispatcher . As such, it combines the attributes of these into one: as a MessageDispatcher , it follows the same request handling flow as described in the previous section.
For service discoverability, Spring-ws provides the DestinationProvider
interface to locate the edpoint of a service at runtime. You can use the Wsdl11DestinationProvider
class to retrieve the endpoint from a WSDL available or you can implement your own class by extending AbstractCachingDestinationProvider
using UDDi access libraries.
For the automatic publication, I am aware of Mule Galaxy wich is a Service Registry solution (not based on UDDI but on ATOM/REST) that provides connectrs to automatically import artifacts from Maven for example.
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