|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.axis.client.Service (src) org.jboss.webservice.client.ServiceImpl
Lookup EngineConfiguration configure the the jaxrpc service with it.
Nested Class Summary |
Nested classes inherited from class org.jboss.axis.client.Service (src) |
Service.HandlerRegistryImpl (src) |
Field Summary |
Fields inherited from class org.jboss.axis.client.Service (src) |
cachedWSDL, cachingWSDL, config, engine, serviceName, wsdlLocation, wsdlService |
Constructor Summary | |
ServiceImpl()
Constructs a new Service object - this assumes the caller will set the appropriate fields by hand rather than getting them from the WSDL. |
|
ServiceImpl(QName (src) serviceName)
Constructs a new Service object - this assumes the caller will set the appropriate fields by hand rather than getting them from the WSDL. |
|
ServiceImpl(java.net.URL wsdlDoc,
QName (src) serviceName)
Constructs a new Service object for the service in the WSDL document pointed to by the wsdlDoc URL and serviceName parameters. |
Method Summary | |
Call (src) |
createCall()
Overwrite to provide a Call object that is ws4ee aware. |
protected AxisClient (src) |
getAxisClient()
Get the AxisClient engine. |
protected EngineConfiguration (src) |
getEngineConfiguration()
Use the EngineConfigurationFinder.getClientEngineConfiguration()
to discover the client engine configuration. |
protected java.rmi.Remote |
getGeneratedStub(QName (src) portName,
java.lang.Class proxyInterface)
With the proxyInterface and the service's portName, we have ALMOST enough info to find a generated stub. |
HandlerRegistry (src) |
getHandlerRegistry()
J2EE components should not use the getHandlerRegistry() method. |
JavaWsdlMapping (src) |
getJavaWsdlMapping()
|
protected Parser (src) |
getParser()
Turn off automatic wrapped style |
java.rmi.Remote |
getPort(java.lang.Class seiClass)
Returns the dynamic proxy for the given SEI. |
java.rmi.Remote |
getPort(QName (src) portName,
java.lang.Class seiClass)
Returns the dynamic proxy for the given SEI. |
java.util.Iterator |
getPorts()
Returns an Iterator for the list of
QName s of service endpoints grouped by this
service
For a partial wsdl see ws-1.1 spec section
4.2.2.5 Service method use with partial WSDL |
ServiceDescription (src) |
getServiceDescription(java.lang.String portName)
|
QName (src) |
getServiceName()
Get the service name for this service. |
protected java.lang.String |
getTargetEnpointAddress()
The service may provide the target endpoint address, in case the client wsdl port does not contain a valid address. |
TypeMappingRegistry (src) |
getTypeMappingRegistry()
J2EE components should not use the getTypeMappingRegistry() method. |
Definition |
getWsdlDefinition()
|
protected Port |
getWSDLPort(java.lang.Class seiClass)
Get the WSDL Port for a given service portComponentLinkEndpoint interface This looks up the port from the jaxrpc-mapping before defaulting to the Axis functionality. |
void |
initService(ServiceDescription (src) serviceDesc,
java.lang.String portName)
Add a service description for the client service |
void |
setCallProperties(java.util.Properties callProperties)
Set the default call properties to use with every created call |
void |
setJavaWsdlMapping(JavaWsdlMapping (src) javaWsdlMapping)
|
void |
setTargetEndpointAddress(java.lang.String targetEndpointAddress)
|
void |
setWsdlDefinition(Definition wsdlDefinition)
|
Methods inherited from class org.jboss.axis.client.Service (src) |
createCall, createCall, createCall, getCacheWSDL, getCalls, getEngine, getMaintainSession, getPort, getPort, getReference, getWSDLDocumentLocation, getWSDLParser, getWSDLService, setCacheWSDL, setEngine, setEngineConfiguration, setMaintainSession, setTypeMappingRegistry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ServiceImpl()
public ServiceImpl(QName (src) serviceName)
public ServiceImpl(java.net.URL wsdlDoc, QName (src) serviceName) throws ServiceException (src)
wsdlDoc
- URL of the WSDL documentserviceName
- Qualified name of the desired service
ServiceException (src)
- If there's an error finding or parsing the WSDLMethod Detail |
public void initService(ServiceDescription (src) serviceDesc, java.lang.String portName) throws ServiceException (src)
serviceDesc
- The Service description to addportName
- The optional port name
ServiceException (src)
public HandlerRegistry (src) getHandlerRegistry()
getHandlerRegistry
in interface Service (src)
getHandlerRegistry
in class Service (src)
public TypeMappingRegistry (src) getTypeMappingRegistry()
getTypeMappingRegistry
in interface Service (src)
getTypeMappingRegistry
in class Service (src)
public java.rmi.Remote getPort(java.lang.Class seiClass) throws ServiceException (src)
getPort
in interface Service (src)
getPort
in class Service (src)
seiClass
- The Remote object returned by this
method will also implement the given proxyInterface
ServiceException (src)
- If there's an errorpublic java.rmi.Remote getPort(QName (src) portName, java.lang.Class seiClass) throws ServiceException (src)
getPort
in interface Service (src)
getPort
in class Service (src)
portName
- The name of the service portseiClass
- The Remote object returned by this
method will also implement the given proxyInterface
ServiceException (src)
- If there's an errorprotected java.rmi.Remote getGeneratedStub(QName (src) portName, java.lang.Class proxyInterface) throws ServiceException (src)
Service (src)
getGeneratedStub
in class Service (src)
ServiceException (src)
public void setCallProperties(java.util.Properties callProperties)
callProperties
- the properties to setcreateCall()
public ServiceDescription (src) getServiceDescription(java.lang.String portName)
public Definition getWsdlDefinition()
public void setWsdlDefinition(Definition wsdlDefinition)
public JavaWsdlMapping (src) getJavaWsdlMapping()
public void setJavaWsdlMapping(JavaWsdlMapping (src) javaWsdlMapping)
public Call (src) createCall() throws ServiceException (src)
createCall
in interface Service (src)
createCall
in class Service (src)
ServiceException (src)
- If there's an errorpublic java.util.Iterator getPorts() throws ServiceException (src)
Iterator
for the list of
QName
s of service endpoints grouped by this
service
For a partial wsdl see ws-1.1 spec section
4.2.2.5 Service method use with partial WSDL
getPorts
in interface Service (src)
getPorts
in class Service (src)
java.util.Iterator
with elements
of type javax.xml.namespace.QName
ServiceException (src)
- If this Service class does not
have access to the required WSDL metadatapublic QName (src) getServiceName()
getServiceName
in interface Service (src)
getServiceName
in class Service (src)
protected AxisClient (src) getAxisClient()
getAxisClient
in class Service (src)
protected EngineConfiguration (src) getEngineConfiguration()
EngineConfigurationFinder.getClientEngineConfiguration()
to discover the client engine configuration.
getEngineConfiguration
in class Service (src)
protected Parser (src) getParser()
getParser
in class Service (src)
protected java.lang.String getTargetEnpointAddress()
getTargetEnpointAddress
in class Service (src)
public void setTargetEndpointAddress(java.lang.String targetEndpointAddress)
protected Port getWSDLPort(java.lang.Class seiClass) throws ServiceException (src)
getWSDLPort
in class Service (src)
seiClass
- The service portComponentLinkEndpoint interface class
ServiceException (src)
- If there's an error
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |