org.ow2.jonas.ws.publish.internal.registry
Class RegistryWSDLPublisher
java.lang.Object
org.ow2.jonas.ws.publish.AbsWSDLPublisher
org.ow2.jonas.ws.publish.internal.registry.RegistryWSDLPublisher
- All Implemented Interfaces:
- WSDLPublisher
public class RegistryWSDLPublisher
- extends AbsWSDLPublisher
- implements WSDLPublisher
Publish a given WSDL Definition into a specified WebServices registry (UDDI/ebXML).
Use JAXR (only UDDI At this time).
properties :
- jonas.service.publish.uddi.username
: publisher username
- jonas.service.publish.uddi.password
: publisher password
- javax.xml.registry.lifeCycleManagerURL
: url of the Publish API for a registry
- javax.xml.registry.queryManagerURL
: url of the Query API for a registry
- jonas.service.publish.uddi.organization.name
: The organisation name
- jonas.service.publish.uddi.organization.desc
: The organization description (optionnal)
- jonas.service.publish.uddi.organization.person_name
: Primary Contact for the organization
The property file is given 'as is' to the ConnectionFactory, If you want to add some JAXR specific
properties, add them in this property file.
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryWSDLPublisher
public RegistryWSDLPublisher(Properties props)
throws WSDLPublisherException
- Constructor : creates a RegistryWSDLHandler object.
- Parameters:
props
- uddi.properties file
- Throws:
WSDLPublisherException
- When some properties are missing
publish
public void publish(PublishableDefinition publishableDefinition)
throws WSDLPublisherException
- publish the given wsdl
- Specified by:
publish
in interface WSDLPublisher
- Parameters:
publishableDefinition
- the data containing the WSDL file to be
published and the publication info
- Throws:
WSDLPublisherException
- if an error occurs at the publishing.
Copyright © 2010 OW2 Consortium. All Rights Reserved.