org.objectweb.jonas.ws.handler
Class RegistryWSDLHandler

java.lang.Object
  extended by org.objectweb.jonas.ws.handler.RegistryWSDLHandler
All Implemented Interfaces:
WSDLHandler

public class RegistryWSDLHandler
extends java.lang.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

Constructor Summary
RegistryWSDLHandler(java.util.Properties props)
          Constructor : creates a RegistryWSDLHandler object.
 
Method Summary
 void publish(ServiceDesc sd)
          Publish the WSDL into a Registry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryWSDLHandler

public RegistryWSDLHandler(java.util.Properties props)
                    throws WSServiceException
Constructor : creates a RegistryWSDLHandler object.

Parameters:
props - uddi.properties file
Throws:
WSServiceException - When some properties are missing
Method Detail

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