edu.uga.cs.lsdis.meteors.wrapper
Interface Publish

All Known Implementing Classes:
PublishImpl

public interface Publish


Method Summary
 java.lang.String findBusinessEntity(java.lang.String businessName, java.util.Vector<org.uddi4j.util.DiscoveryURL> discoveryUrls)
          use business name and discovery urls to find the unique business entity
 ReturnVal publishBusinessEntity(java.lang.String businessName, java.util.Vector<org.uddi4j.util.DiscoveryURL> discoveryUrls, java.util.Vector<org.uddi4j.datatype.Description> descriptions, java.util.Vector<org.uddi4j.datatype.business.Contact> contacts)
          create a business entity without any business service it must has a business name and at least one discovery url
 boolean publishWSDL(java.lang.String fileNameOrURL, org.uddi4j.util.KeyedReference domain, java.lang.String businessKey, java.lang.String businessName, java.lang.String serviceDescription)
          The web service can only be published under some business entity.
 boolean publishWSDLS(java.lang.String fileNameOrURL, org.uddi4j.util.KeyedReference domain, java.lang.String businessKey, java.lang.String businessName, java.lang.String serviceDescription)
          The web service can only be published under some business entity.
 java.lang.String updateBusinessEntity(java.lang.String businessKey, java.lang.String businessName, java.util.Vector<org.uddi4j.util.DiscoveryURL> discoveryUrls, java.util.Vector<org.uddi4j.datatype.Description> descriptions, java.util.Vector<org.uddi4j.datatype.business.Contact> contacts)
          update the business entity information if want to keep the origianl value, then the vector is null
 

Method Detail

publishBusinessEntity

ReturnVal publishBusinessEntity(java.lang.String businessName,
                                java.util.Vector<org.uddi4j.util.DiscoveryURL> discoveryUrls,
                                java.util.Vector<org.uddi4j.datatype.Description> descriptions,
                                java.util.Vector<org.uddi4j.datatype.business.Contact> contacts)
                                throws org.uddi4j.UDDIException,
                                       java.lang.Exception
create a business entity without any business service it must has a business name and at least one discovery url

Parameters:
businessName - businessName -- String
discoveryURLs - discovery urls -- Vector of DiscoveryURL
descriptions - descriptions -- Vector of Description
contacts - contact informations -- Vector of Contact
Returns:
flag - true (already exist) key - business key
Throws:
java.lang.Exception
org.uddi4j.UDDIException

updateBusinessEntity

java.lang.String updateBusinessEntity(java.lang.String businessKey,
                                      java.lang.String businessName,
                                      java.util.Vector<org.uddi4j.util.DiscoveryURL> discoveryUrls,
                                      java.util.Vector<org.uddi4j.datatype.Description> descriptions,
                                      java.util.Vector<org.uddi4j.datatype.business.Contact> contacts)
                                      throws org.uddi4j.UDDIException,
                                             org.uddi4j.transport.TransportException
update the business entity information if want to keep the origianl value, then the vector is null

Parameters:
businessKey - business key -- String
businessName - business name -- String
discoveryURLs - discovery urls -- Vector of DiscoveryURL
descriptions - descriptions -- Vector of Description
contacts - contact informations -- Vector of Contact
Returns:
business key -- String
Throws:
java.lang.Exception
org.uddi4j.UDDIException
org.uddi4j.transport.TransportException

findBusinessEntity

java.lang.String findBusinessEntity(java.lang.String businessName,
                                    java.util.Vector<org.uddi4j.util.DiscoveryURL> discoveryUrls)
                                    throws org.uddi4j.UDDIException,
                                           java.lang.Exception
use business name and discovery urls to find the unique business entity

Parameters:
businessName - business name -- String
discoveryUrls - discovery urls -- Vector of DiscoveryURL
Returns:
business key -- String
Throws:
org.uddi4j.UDDIException
java.lang.Exception

publishWSDLS

boolean publishWSDLS(java.lang.String fileNameOrURL,
                     org.uddi4j.util.KeyedReference domain,
                     java.lang.String businessKey,
                     java.lang.String businessName,
                     java.lang.String serviceDescription)
                     throws java.lang.Exception
The web service can only be published under some business entity. This is the method that goes thru every data structure of the wsdl document and publishes iteratively every Operation, Service and associated BindingKey and PortTypeKey -> accessURI = URL of directory where the service resides -> wsdlsLocation URL of where the service resides (wsdl file) -> accessURI?wsdl -> protocol e.g. SOAPprotrocol, could be null, is assumed to be the same for all bindings of all PortTypes -> transport e.g. HTTPprotrocol or SSL, could be nul, is assumed to be the same for all bindings of all PortTypes

Parameters:
fileNameOrURL - file name or url to access to the wsdls file (required)
domain - domain of the web service
businessKey - business key of the business entity (required)
businessName - business name of the business entity
serviceDescription - description for the web service
Returns:
true - success publish; false -- fail to publish could be protocol = null, assumes default protocol of HTTP, could be transport = null, assumes default protocol of SOAP
Throws:
java.lang.Exception

publishWSDL

boolean publishWSDL(java.lang.String fileNameOrURL,
                    org.uddi4j.util.KeyedReference domain,
                    java.lang.String businessKey,
                    java.lang.String businessName,
                    java.lang.String serviceDescription)
                    throws java.lang.Exception
The web service can only be published under some business entity. This is the method that goes thru every data structure of the wsdl document and publishes iteratively every Operation, Service and associated BindingKey and PortTypeKey -> accessURI = URL of directory where the service resides -> wsdlsLocation URL of where the service resides (wsdl file) -> accessURI?wsdl -> protocol e.g. SOAPprotrocol, could be null, is assumed to be the same for all bindings of all PortTypes -> transport e.g. HTTPprotrocol or SSL, could be nul, is assumed to be the same for all bindings of all PortTypes

Parameters:
fileNameOrURL - file name or url to access to the wsdls file (required)
domain - domain of the web service
businessKey - business key of the business entity (required)
businessName - business name of the business entity
serviceDescription - description for the web service
Returns:
true - success publish; false -- fail to publish could be protocol = null, assumes default protocol of HTTP, could be transport = null, assumes default protocol of SOAP
Throws:
java.lang.Exception