com.ibm.soa.parlayx21.call_handling
Class CallHandlingBindingStub

java.lang.Object
  extended by com.ibm.ws.webservices.engine.client.Stub
      extended by com.ibm.soa.parlayx21.call_handling.CallHandlingBindingStub
All Implemented Interfaces:
CallHandling, java.rmi.Remote, javax.xml.rpc.Stub

public class CallHandlingBindingStub
extends com.ibm.ws.webservices.engine.client.Stub
implements CallHandling


Nested Class Summary
 
Nested classes/interfaces inherited from class com.ibm.ws.webservices.engine.client.Stub
com.ibm.ws.webservices.engine.client.Stub.Invoke
 
Field Summary
 
Fields inherited from class com.ibm.ws.webservices.engine.client.Stub
cachedEndpoint, cachedhttpProxyHost, cachedhttpProxyPassword, cachedhttpProxyPort, cachedhttpProxyUser, cachedhttpRedirectEnabled, cachedhttpsProxyHost, cachedhttpsProxyPassword, cachedhttpsProxyPort, cachedhttpsProxyUser, cachedPassword, cachedPortName, cachedProperties, cachedRequestSoapHeaders, cachedRequestTransportHeaders, cachedResponseSoapHeaders, cachedResponseSoapHeaderTemplates, cachedResponseTransportHeaders, cachedResponseTransportHeadersTemplate, cachedSessionContext, cachedsslCfgName, cachedTimeout, cachedUsername, cachedWriteTimeout, connection, engine, maintainSession, maintainSessionSet, messageContexts, service
 
Fields inherited from interface javax.xml.rpc.Stub
ENDPOINT_ADDRESS_PROPERTY, PASSWORD_PROPERTY, SESSION_MAINTAIN_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
CallHandlingBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service)
           
 
Method Summary
 void clearRules(java.net.URI[] addresses)
          Clear the call handling rules associated with the addresses specified.
 CallHandlingRules getRules(java.net.URI address)
          Get the call handling rules for an address (the destination for the call).
 void setRules(java.net.URI address, CallHandlingRules rules)
          Set the call handling rules for an address (the destination for the call).
 SetRulesResult[] setRulesForGroup(java.net.URI[] addresses, CallHandlingRules rules)
          Set the call handling rules for multiple addresses (the destination for calls).
 
Methods inherited from class com.ibm.ws.webservices.engine.client.Stub
_getProperty, _getPropertyNames, _setProperty, convert, getPassword, getPortName, getTimeout, getTypeMapping, getUsername, primeMessageContext, setMaintainSession, setPassword, setPortName, setPortName, setTimeout, setUsername, setWriteTimeout, validateSoapHeadersHashMap, validateTransportPropertiesHashMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallHandlingBindingStub

public CallHandlingBindingStub(java.net.URL endpointURL,
                               javax.xml.rpc.Service service)
                        throws com.ibm.ws.webservices.engine.WebServicesFault
Throws:
com.ibm.ws.webservices.engine.WebServicesFault
Method Detail

setRules

public void setRules(java.net.URI address,
                     CallHandlingRules rules)
              throws java.rmi.RemoteException,
                     PolicyException,
                     ServiceException
Description copied from interface: CallHandling

Set the call handling rules for an address (the destination for the call). If a set of rules is already in place for the address, then this operation will replace the old rules with the set provided in this operation.

The address may not specify a group. If a group is specified, a PolicyException will be returned.

Referenced faults

ServiceException from ES 202 391-1 [2]:
  * SVC0001: Service error.
  * SVC0002: Invalid input value.

PolicyException from ES 202 391-1 [2]:
  * POL0001: Policy error.
  * POL0006: Groups not allowed.

Specified by:
setRules in interface CallHandling
Parameters:
address - xsd:anyURI Address to handle calls for
rules - CallHandlingRules Rules to apply for this address
Throws:
java.rmi.RemoteException
PolicyException
ServiceException

setRulesForGroup

public SetRulesResult[] setRulesForGroup(java.net.URI[] addresses,
                                         CallHandlingRules rules)
                                  throws java.rmi.RemoteException,
                                         PolicyException,
                                         ServiceException
Description copied from interface: CallHandling

Set the call handling rules for multiple addresses (the destination for calls). If a set of rules is already in place for any of the addresses, then this operation will replace the old rules with the set provided in this operation.

The addresses may include groups, with members using the 'tel:' and 'sip:' URIs in the manner defined in ES 202 3911 [2]. Wildcards may not be used to specify addresses.

Referenced faults

ServiceException from ES 202 391-1 [2]:
  * SVC0001: Service error.
  * SVC0002: Invalid input value.
  * SVC0004: No valid addresses.
  * SVC0006: Invalid group.

PolicyException from ES 202 391-1 [2]:
  * POL0001: Policy error.
  * POL0006: Groups not allowed.
  * POL0007: Nested groups not allowed.

Specified by:
setRulesForGroup in interface CallHandling
Parameters:
addresses - xsd:anyURI [1..unbounded] Addresses to handle calls for
rules - CallHandlingRules Rules to apply for these addresses
Returns:
result SetRulesResult [1..unbounded] Result of setup for each of addresses provided
Throws:
java.rmi.RemoteException
PolicyException
ServiceException

getRules

public CallHandlingRules getRules(java.net.URI address)
                           throws java.rmi.RemoteException,
                                  PolicyException,
                                  ServiceException
Description copied from interface: CallHandling

Get the call handling rules for an address (the destination for the call).

The address may not specify a group. If a group is specified, a PolicyException will be returned.

Referenced faults

ServiceException from ES 202 391-1 [2]:
  * SVC0001: Service error.
  * SVC0002: Invalid input value.

PolicyException from ES 202 391-1 [2]:
  * POL0001: Policy error.
  * POL0006: Groups not allowed.

Specified by:
getRules in interface CallHandling
Parameters:
address - xsd:anyURI Address to handle calls for
Returns:
result CallHandlingRules Rules being applied for this address
Throws:
java.rmi.RemoteException
PolicyException
ServiceException

clearRules

public void clearRules(java.net.URI[] addresses)
                throws java.rmi.RemoteException,
                       PolicyException,
                       ServiceException
Description copied from interface: CallHandling

Clear the call handling rules associated with the addresses specified. If no rules have been set for an address, this operation silently ignores the request, and does not return an error or fault message. The addresses may include groups, with members using the 'tel:' and 'sip:' URIs in the manner defined in

ES 202 391-1 [2]. Wildcards may not be used to specify addresses.

Referenced faults

ServiceException from ES 202 391-1 [2]:
  * SVC0001: Service error.
  * SVC0002: Invalid input value.
  * SVC0006: Invalid group.

PolicyException from ES 202 391-1 [2]:
  * POL0001: Policy error.
  * POL0006: Groups not allowed.
  * POL0007: Nested groups not allowed.

Specified by:
clearRules in interface CallHandling
Parameters:
addresses - xsd:anyURI [1..unbounded] Addresses to clear call handling for
Throws:
java.rmi.RemoteException
PolicyException
ServiceException


Copyright © 2003 IBM Corp. All Rights Reserved.