|
WebObjects 5.2.3 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.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.
Service,
Call| Nested Class Summary | |
static class |
WOWebService.SessionInfo
SessionInfo stores all data required to connect to an existing Web service sessions. |
| Constructor Summary | |
WOWebService(javax.xml.namespace.QName aQName,
URL aURL)
Create and initialize a new instance of WOWebService. |
|
| Method Summary | |
org.apache.axis.client.Service |
axisService()
Returns the underlying Axis service used to make Web service invocations. |
org.apache.axis.client.Call |
createCallForOperation(String opName)
Creates an returns an Axis call object for the operation opName. |
org.apache.axis.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. |
javax.xml.namespace.QName |
qName()
Returns the QName of the service. |
void |
registerFactoriesForClassWithQName(org.apache.axis.encoding.SerializerFactory sFactory,
org.apache.axis.encoding.DeserializerFactory dFactory,
Class aClass,
javax.xml.namespace.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(org.apache.axis.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(javax.xml.namespace.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(javax.xml.namespace.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 org.apache.axis.client.Service axisService()
Service
public org.apache.axis.client.Call createCallForOperation(String opName)
throws javax.xml.rpc.ServiceException
opName.
opName - String name of operation to be invoked
javax.xml.rpc.ServiceExceptionCallpublic org.apache.axis.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 javax.xml.namespace.QName qName()
public void registerFactoriesForClassWithQName(org.apache.axis.encoding.SerializerFactory sFactory,
org.apache.axis.encoding.DeserializerFactory dFactory,
Class aClass,
javax.xml.namespace.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.
sFactory - factory for creating serializers for Class aClassdFactory - factory for creating deserializers for elements with QName aQNameaClass - Class which aSerializerFactory should be used to serializeaQName - QName defining elements that aDeserializerFactory should be used to deserializepublic WOWebService.SessionInfo sessionInfo()
public void setEngineConfiguration(org.apache.axis.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()
public Class typeForQName(javax.xml.namespace.QName aQName)
aQName will be deserialized.
Will return null if there is no deserializer registered for aQName
aQName - a QName
aQName will deserialize, or null
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||