org.objectweb.jonas.ws.base.handler
Class RegistryWSDLHandler
java.lang.Object
org.objectweb.jonas.ws.base.handler.RegistryWSDLHandler
- All Implemented Interfaces:
- WSDLHandler
public class RegistryWSDLHandler
- extends Object
- implements WSDLHandler
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 |
RegistryWSDLHandler
public RegistryWSDLHandler(Properties props)
throws WSServiceException
- Constructor : creates a RegistryWSDLHandler object.
- Parameters:
props
- uddi.properties file
- Throws:
WSServiceException
- When some properties are missing
publish
public void publish(ServiceDesc sd)
throws WSServiceException
- Publish the WSDL into a Registry.
- Specified by:
publish
in interface WSDLHandler
- Parameters:
sd
- the Service containing the WSDL file to publish.
- Throws:
WSServiceException
- When cannot access to publish API
Copyright © 2007 OW2 Consortium. All Rights Reserved.