com.metamatrix.uddi.util
Interface UddiHelper

All Known Implementing Classes:
MMUddiHelper

public interface UddiHelper

Interface to UDDI4j's API's for UDDI Registry.


Method Summary
 org.uddi4j.response.BusinessList getAllBusinesses(java.lang.String inquiryUrl, java.lang.String publishUrl, int maxrows)
          Get all businesses from the UDDI Registry.
 org.uddi4j.response.BusinessList getBusinessByName(java.lang.String inquiryUrl, java.lang.String publishUrl, java.lang.String searchString, int maxRows)
          Get business by name from the UDDI Registry.
 boolean isPublished(java.lang.String UddiUserName, java.lang.String UddiPassword, java.lang.String busKey, java.lang.String wsdlUrl, java.lang.String inquiryUrl, java.lang.String publishUrl)
          Determine if passed WSDL is published.
 void publish(java.lang.String UddiUserName, java.lang.String UddiPassword, java.lang.String businessKey, java.lang.String wsdlUrl, java.lang.String inquiryUrl, java.lang.String publishUrl)
          Publish WSDL to the UDDI Registry.
 void unPublish(java.lang.String UddiUserName, java.lang.String UddiPassword, java.lang.String businessKey, java.lang.String wsdlUrl, java.lang.String inquiryUrl, java.lang.String publishUrl)
          Un-Publish WSDL from the UDDI Registry.
 

Method Detail

publish

void publish(java.lang.String UddiUserName,
             java.lang.String UddiPassword,
             java.lang.String businessKey,
             java.lang.String wsdlUrl,
             java.lang.String inquiryUrl,
             java.lang.String publishUrl)
             throws MMUddiException
Publish WSDL to the UDDI Registry.

Parameters:
UddiUserName - The username used to logon to the UDDI registry
UddiPassword - The password used to logon to the UDDI registry
businessKey - The key for the bsusiness entity this WSDL is associated with
wsdlUrl - The URL of the WSDL to publish
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
Throws:
MMUddiException
Since:
5.6

unPublish

void unPublish(java.lang.String UddiUserName,
               java.lang.String UddiPassword,
               java.lang.String businessKey,
               java.lang.String wsdlUrl,
               java.lang.String inquiryUrl,
               java.lang.String publishUrl)
               throws MMUddiException
Un-Publish WSDL from the UDDI Registry.

Parameters:
UddiUserName - The username used to logon to the UDDI registry
UddiPassword - The password used to logon to the UDDI registry
businessKey - The key for the bsusiness entity this WSDL is associated with
wsdlUrl - The url for the WSDL to be un-published
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
Throws:
MMUddiException
Since:
5.6

getAllBusinesses

org.uddi4j.response.BusinessList getAllBusinesses(java.lang.String inquiryUrl,
                                                  java.lang.String publishUrl,
                                                  int maxrows)
                                                  throws MMUddiException
Get all businesses from the UDDI Registry.

Parameters:
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
maxRows - Maximum rows to be returned.
Returns:
List List of matching <@link BusinessEntity>s
Throws:
java.lang.Exception - If the UDDI call fails with error.
MMUddiException
Since:
5.6

getBusinessByName

org.uddi4j.response.BusinessList getBusinessByName(java.lang.String inquiryUrl,
                                                   java.lang.String publishUrl,
                                                   java.lang.String searchString,
                                                   int maxRows)
                                                   throws MMUddiException
Get business by name from the UDDI Registry.

Parameters:
inquiryUrl - The inquiry url of the UDDI registry
publishUrl - The publish url of the UDDI registry
searchString - Business name search string.
maxRows - Maximum rows to be returned.
Returns:
List List of matching <@link BusinessEntity>s
Throws:
java.lang.Exception - If the UDDI call fails with error.
MMUddiException
Since:
5.6

isPublished

boolean isPublished(java.lang.String UddiUserName,
                    java.lang.String UddiPassword,
                    java.lang.String busKey,
                    java.lang.String wsdlUrl,
                    java.lang.String inquiryUrl,
                    java.lang.String publishUrl)
                    throws MMUddiException
Determine if passed WSDL is published.

Parameters:
user - The user name for the UDDI Registry.
password - The password for the UDDI Registry
wsdlUrl - The url for the WSDL to search for
inquiryUrl - Inquiry URL of the UDDI Registry
publishUrl - The publish url of the UDDI registry
Returns:
boolean true (published) or false (not published)
Throws:
java.lang.Exception - If the UDDI call fails with error.
MMUddiException
Since:
5.6


Copyright © 2009. All Rights Reserved.