Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring WS and UDDI

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?

like image 256
grbonk Avatar asked Mar 09 '11 16:03

grbonk


People also ask

What is spring WS Security?

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.

What is @endpoint annotation in spring boot?

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.

What is localPart in @payloadroot?

localPart. Signifies the local part of the payload root element handled by the annotated method. Optional Element Summary. String.

What is a MessageDispatcherServlet?

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.


1 Answers

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.

like image 144
Pau Giner Avatar answered Oct 11 '22 15:10

Pau Giner