org.systinet.uddi.client.subscription.v3.ext
Class UDDISubscriptionExtStub

java.lang.Object
  extended byorg.systinet.uddi.client.UDDIClientProxy
      extended byorg.systinet.uddi.client.subscription.v3.ext.UDDISubscriptionExtStub
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class UDDISubscriptionExtStub
extends UDDIClientProxy

Provides UDDI subscription methods that defines an extended UDDI API v3. The UDDI API is designed to provide a simple request/response mechanism that allows discovery of businesses, services and technical service binding information. The extension includes usage of whole bindingTemplate in save_subscription calls. See documentation for detail.

Since:
6.0

Nested Class Summary
 
Nested classes inherited from class org.systinet.uddi.client.UDDIClientProxy
UDDIClientProxy.ClosingStream
 
Field Summary
 
Fields inherited from class org.systinet.uddi.client.UDDIClientProxy
deserializationMapping, serializationMapping
 
Constructor Summary
protected UDDISubscriptionExtStub(org.systinet.wasp.webservice.ServiceClient serviceClient)
          Initializes proxy.
protected UDDISubscriptionExtStub(java.lang.String serviceUrl)
          Initializes proxy.
 
Method Summary
static UDDI_Subscription_PortType getInstance()
          Creates stub to Extended Subscription API over java (without SOAP).
static UDDI_Subscription_PortType getInstance(org.systinet.wasp.webservice.ServiceClient serviceClient)
          Creates UDDISubscriptionExt stub.
static UDDI_Subscription_PortType getInstance(java.lang.String serviceURL)
          Creates UDDISubscription stub.
protected  void parseFaultBody(org.idoox.xml.Tokenizer tokenizer, javax.xml.soap.SOAPElement firstChild, javax.xml.soap.SOAPFault fault)
          Tries to extract Exception from SOAPElement.
 
Methods inherited from class org.systinet.uddi.client.UDDIClientProxy
createAttachmentPart, getClassInstance, getServiceClient, invoke, parseFault, readAttachments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDDISubscriptionExtStub

protected UDDISubscriptionExtStub(org.systinet.wasp.webservice.ServiceClient serviceClient)
                           throws javax.xml.soap.SOAPException
Initializes proxy.


UDDISubscriptionExtStub

protected UDDISubscriptionExtStub(java.lang.String serviceUrl)
                           throws javax.xml.soap.SOAPException
Initializes proxy.

Method Detail

getInstance

public static UDDI_Subscription_PortType getInstance()
                                              throws UDDIException
Creates stub to Extended Subscription API over java (without SOAP).

Throws:
UDDIException - if an error occurs
UDDIException

getInstance

public static UDDI_Subscription_PortType getInstance(java.lang.String serviceURL)
                                              throws javax.xml.soap.SOAPException
Creates UDDISubscription stub.

Parameters:
serviceURL - UDDI subscription URL
Throws:
javax.xml.soap.SOAPException - if an error occurs

getInstance

public static UDDI_Subscription_PortType getInstance(org.systinet.wasp.webservice.ServiceClient serviceClient)
                                              throws javax.xml.soap.SOAPException
Creates UDDISubscriptionExt stub.

Parameters:
serviceClient - UDDI extended subscription service URL
Throws:
javax.xml.soap.SOAPException - if an error occurs

parseFaultBody

protected void parseFaultBody(org.idoox.xml.Tokenizer tokenizer,
                              javax.xml.soap.SOAPElement firstChild,
                              javax.xml.soap.SOAPFault fault)
                       throws java.lang.Exception
Tries to extract Exception from SOAPElement.

Specified by:
parseFaultBody in class UDDIClientProxy
Parameters:
tokenizer - Tokenizer for this XML.
firstChild - First SOAPElement in SOAP fault.
fault - SOAPFault
Throws:
java.lang.Exception - Exception extracted from SOAPFault