Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.messaging.xms
Class XMSFactory

java.lang.Object
  extended byoracle.panama.messaging.xms.XMSFactory


public class XMSFactory
extends java.lang.Object

A Factory class for creating XMS clients to send messages using XMS.


Method Summary
static XMSSender createXMSSender(java.lang.String soapURI, java.lang.String username, java.lang.String password)
Create an instance of XMSSender, a full-featured XMS messaging client.
static XMSSimpleSender createXMSSimpleSender(java.lang.String soapURI, java.lang.String username, java.lang.String password)
Create an instance of XMSSimpleSender, a light-weight and easy to use XMS messaging client.

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail

createXMSSender

public static XMSSender createXMSSender(java.lang.String soapURI,
                                        java.lang.String username,
                                        java.lang.String password)
                                 throws XMSException
Create an instance of XMSSender, a full-featured XMS messaging client.
Parameters:
soapURI - complete URI of the remote XMS SOAP messaging gateway. For example: http://messenger.oracle.com/xms/webservices.
Use null for local installation.
username - username for authentication with the messaging gateway. Use null if no username is required.
password - password for authentication with the messaging gateway. Use null if no password is required.
Throws:
XMSException

createXMSSimpleSender

public static XMSSimpleSender createXMSSimpleSender(java.lang.String soapURI,
                                                    java.lang.String username,
                                                    java.lang.String password)
                                             throws XMSException
Create an instance of XMSSimpleSender, a light-weight and easy to use XMS messaging client.
Parameters:
soapURI - complete URI of the remote XMS SOAP messaging gateway. For example: http://messenger.oracle.com/xms/webservices.
Use null for local installation.
username - username for authentication with the messaging gateway. Use null if no username is required.
password - password for authentication with the messaging gateway. Use null if no password is required.
Throws:
XMSException

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.