|
Artix User APIs | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
ArtixConnectionFactory | Provides methods to create a Connection object that
represents a Web service defined from the supplied parameters. |
Connection | Interface implemented by the Web service client proxy returned
by ArtixConnectionFactory . |
Provides interfaces for accessing Web services using the Java Connector Architecture in conjunction with a J2EE application server.
Typical use begins with the ArtixConnectionFactory
interface which is
used to retrieve a Connection
that represents a Web service object. A reference to the ArtixConnectionFactory
is obtained from an environment naming context lookup by a J2EE component as follows:
Context ctx = new InitialContext(); ArtixConnectionFactory factory = (ArtixConnectionFactory)ctx.lookup("java:comp/env/eis/ArtixConnector"); Connection conn = (Connection)factory.getConnection(Greeter.class, wsdlLocation, serviceName, portName); // do work ... conn.close();
|
Artix User APIs | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |