| 
WebObjects 5.2.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.webobjects.webservices.client.WOWebService
A WOWebService represents a single SOAP HTTP service as defined in a WSDL document. It can be used to introspect the operations implemented on the Web service, or to create a call which can be used to invoke a given operation. A WOWebService is capable of maintaing session state through multiple invocations of operations on the Web service.
org.apache.axis.client.Service, 
org.apache.axis.client.Call| Nested Class Summary | |
static class | 
WOWebService.SessionInfo
SessionInfo stores all data required to connect to an existing Web service sessions.  | 
| Constructor Summary | |
WOWebService(QName aQName,
             URL aURL)
Create and initialize a new instance of WOWebService.  | 
|
| Method Summary | |
 Service | 
axisService()
Returns the underlying Axis service used to make Web service invocations.  | 
 Call | 
createCallForOperation(String opName)
Creates an returns an Axis call object for the operation opName. | 
 EngineConfiguration | 
engineConfiguration()
Return the EngineConfiguration used by the underlying Axis service.  | 
 boolean | 
isOperationDocumentStyle(String name)
Returns true if the operation name is document style, false
 otherwise. | 
 boolean | 
isOperationRPCStyle(String name)
Returns true if the operation name is RPC style, false
 otherwise. | 
 String | 
name()
Returns the local part of the QName of the service.  | 
 WOClientOperation | 
operationNamed(String name)
Return the operation named name. | 
 NSDictionary | 
operationsDictionary()
Return an NSDictionary containing name to WOClientOperation mappings for all operations published in this service.  | 
 QName | 
qName()
Returns the QName of the service.  | 
 void | 
registerFactoriesForClassWithQName(SerializerFactory sFactory,
                                   DeserializerFactory dFactory,
                                   Class aClass,
                                   QName aQName)
Register aSerializerFactory for serializing objects of class aClass
 and aDeserializerFactory for deserializing DOM elements with QName aQName. | 
 WOWebService.SessionInfo | 
sessionInfo()
Return an opaque SessionInfo object which can be used to transfer session information between instances of WOWebService.  | 
 void | 
setEngineConfiguration(EngineConfiguration aConfig)
Set the EngineConfiguration to used by the underlying Axis service.  | 
 void | 
setSecurityDelegate(Object aDelegate)
 | 
 void | 
setSessionInfo(WOWebService.SessionInfo aSessionInfo)
Set the session information for the service to the values contained in aSessionInfo. | 
 String | 
toString()
 | 
 Class | 
typeForQName(QName aQname)
Return the class to which DOM elements with name aQName will be deserialized. | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public WOWebService(QName aQName,
                    URL aURL)
aQName - the QName of the serviceaURL - the URL at which the WSDL for this service can be found| Method Detail | 
public Service axisService()
org.apache.axis.client.Service
public Call createCallForOperation(String opName)
                            throws javax.xml.rpc.ServiceException
opName.
opName - String name of operation to be invoked
javax.xml.rpc.ServiceExceptionorg.apache.axis.client.Callpublic EngineConfiguration engineConfiguration()
public boolean isOperationDocumentStyle(String name)
true if the operation name is document style, false
 otherwise.
name - the name of the operation being checked
true if name is a document style operationpublic boolean isOperationRPCStyle(String name)
true if the operation name is RPC style, false
 otherwise.
name - the name of the operation being checked
true if name is a SOAP RPC style operationpublic String name()
public WOClientOperation operationNamed(String name)
name.
name - the name of the operation being requested
nullpublic NSDictionary operationsDictionary()
public QName qName()
public void registerFactoriesForClassWithQName(SerializerFactory sFactory,
                                               DeserializerFactory dFactory,
                                               Class aClass,
                                               QName aQName)
aSerializerFactory for serializing objects of class aClass
 and aDeserializerFactory for deserializing DOM elements with QName aQName.
 Objects serialized by aSerializerFactory will have a QName of aQName.
 If a aSerializerFactory is null, only aDeserializerFactory
 will be registered, and vice versa.
aClass - Class which aSerializerFactory should be used to serializeaQName - QName defining elements that aDeserializerFactory should be used to deserializepublic WOWebService.SessionInfo sessionInfo()
public void setEngineConfiguration(EngineConfiguration aConfig)
Note: If you reset the service's engine configuration, all existing session information for the service will be lost.
aConfig - an org.apache.axis.EngineConfigurationpublic void setSecurityDelegate(Object aDelegate)
public void setSessionInfo(WOWebService.SessionInfo aSessionInfo)
aSessionInfo.Note: If after setting session information, you reset the service's engine configuration, all session information will be lost.
aSessionInfo - object containing session informationWOWebService.SessionInfopublic String toString()
toString in class Objectpublic Class typeForQName(QName aQname)
aQName will be deserialized.
 Will return null if there is no deserializer registered for aQName
aQName will deserialize, or null
  | 
Last updated Mon Oct 13 15:42:52 PDT 2003. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||