|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.axis.client.Service
org.jboss.webservice.client.ServiceImpl
public class ServiceImpl
Lookup EngineConfiguration configure the the jaxrpc service with it.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.axis.client.Service |
|---|
org.jboss.axis.client.Service.HandlerRegistryImpl |
| Field Summary |
|---|
| Fields inherited from class org.jboss.axis.client.Service |
|---|
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(javax.xml.namespace.QName 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(URL wsdlDoc,
javax.xml.namespace.QName serviceName)
Constructs a new Service object for the service in the WSDL document pointed to by the wsdlDoc URL and serviceName parameters. |
|
| Method Summary | |
|---|---|
javax.xml.rpc.Call |
createCall()
Overwrite to provide a Call object that is ws4ee aware. |
protected org.jboss.axis.client.AxisClient |
getAxisClient()
Get the AxisClient engine. |
protected org.jboss.axis.EngineConfiguration |
getEngineConfiguration()
Use the EngineConfigurationFinder.getClientEngineConfiguration()
to discover the client engine configuration. |
protected Remote |
getGeneratedStub(javax.xml.namespace.QName portName,
Class proxyInterface)
|
javax.xml.rpc.handler.HandlerRegistry |
getHandlerRegistry()
J2EE components should not use the getHandlerRegistry() method. |
org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping |
getJavaWsdlMapping()
|
protected org.jboss.axis.wsdl.gen.Parser |
getParser()
Turn off automatic wrapped style |
Remote |
getPort(Class seiClass)
Returns the dynamic proxy for the given SEI. |
Remote |
getPort(javax.xml.namespace.QName portName,
Class seiClass)
Returns the dynamic proxy for the given SEI. |
Iterator |
getPorts()
Returns an Iterator for the list of
QNames 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 |
getServiceDescription(String portName)
|
javax.xml.namespace.QName |
getServiceName()
Get the service name for this service. |
protected String |
getTargetEnpointAddress()
The service may provide the target endpoint address, in case the client wsdl port does not contain a valid address. |
javax.xml.rpc.encoding.TypeMappingRegistry |
getTypeMappingRegistry()
J2EE components should not use the getTypeMappingRegistry() method. |
javax.wsdl.Definition |
getWsdlDefinition()
|
protected javax.wsdl.Port |
getWSDLPort(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 serviceDesc,
String portName)
Add a service description for the client service |
void |
setCallProperties(Properties callProperties)
Set the default call properties to use with every created call |
void |
setJavaWsdlMapping(org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping javaWsdlMapping)
|
void |
setTargetEndpointAddress(String targetEndpointAddress)
|
void |
setWsdlDefinition(javax.wsdl.Definition wsdlDefinition)
|
| Methods inherited from class org.jboss.axis.client.Service |
|---|
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(javax.xml.namespace.QName serviceName)
public ServiceImpl(URL wsdlDoc,
javax.xml.namespace.QName serviceName)
throws javax.xml.rpc.ServiceException
wsdlDoc - URL of the WSDL documentserviceName - Qualified name of the desired service
javax.xml.rpc.ServiceException - If there's an error finding or parsing the WSDL| Method Detail |
|---|
public void initService(ServiceDescription serviceDesc,
String portName)
throws javax.xml.rpc.ServiceException
serviceDesc - The Service description to addportName - The optional port name
javax.xml.rpc.ServiceExceptionpublic javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry()
getHandlerRegistry in interface javax.xml.rpc.ServicegetHandlerRegistry in class org.jboss.axis.client.Servicepublic javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry()
getTypeMappingRegistry in interface javax.xml.rpc.ServicegetTypeMappingRegistry in class org.jboss.axis.client.Service
public Remote getPort(Class seiClass)
throws javax.xml.rpc.ServiceException
getPort in interface javax.xml.rpc.ServicegetPort in class org.jboss.axis.client.Servicejavax.xml.rpc.ServiceException
public Remote getPort(javax.xml.namespace.QName portName,
Class seiClass)
throws javax.xml.rpc.ServiceException
getPort in interface javax.xml.rpc.ServicegetPort in class org.jboss.axis.client.Servicejavax.xml.rpc.ServiceException
protected Remote getGeneratedStub(javax.xml.namespace.QName portName,
Class proxyInterface)
throws javax.xml.rpc.ServiceException
getGeneratedStub in class org.jboss.axis.client.Servicejavax.xml.rpc.ServiceExceptionpublic void setCallProperties(Properties callProperties)
callProperties - the properties to setcreateCall()public ServiceDescription getServiceDescription(String portName)
public javax.wsdl.Definition getWsdlDefinition()
public void setWsdlDefinition(javax.wsdl.Definition wsdlDefinition)
public org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping getJavaWsdlMapping()
public void setJavaWsdlMapping(org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping javaWsdlMapping)
public javax.xml.rpc.Call createCall()
throws javax.xml.rpc.ServiceException
createCall in interface javax.xml.rpc.ServicecreateCall in class org.jboss.axis.client.Servicejavax.xml.rpc.ServiceException - If there's an error
public Iterator getPorts()
throws javax.xml.rpc.ServiceException
Iterator for the list of
QNames 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 javax.xml.rpc.ServicegetPorts in class org.jboss.axis.client.Servicejavax.xml.rpc.ServiceExceptionpublic javax.xml.namespace.QName getServiceName()
getServiceName in interface javax.xml.rpc.ServicegetServiceName in class org.jboss.axis.client.Serviceprotected org.jboss.axis.client.AxisClient getAxisClient()
getAxisClient in class org.jboss.axis.client.Serviceprotected org.jboss.axis.EngineConfiguration getEngineConfiguration()
EngineConfigurationFinder.getClientEngineConfiguration()
to discover the client engine configuration.
getEngineConfiguration in class org.jboss.axis.client.Serviceprotected org.jboss.axis.wsdl.gen.Parser getParser()
getParser in class org.jboss.axis.client.Serviceprotected String getTargetEnpointAddress()
getTargetEnpointAddress in class org.jboss.axis.client.Servicepublic void setTargetEndpointAddress(String targetEndpointAddress)
protected javax.wsdl.Port getWSDLPort(Class seiClass)
throws javax.xml.rpc.ServiceException
getWSDLPort in class org.jboss.axis.client.ServiceseiClass - The service portComponentLinkEndpoint interface class
javax.xml.rpc.ServiceException - If there's an error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||