|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.client.Service org.jboss.webservice.client.ServiceImpl
Lookup EngineConfiguration configure the the jaxrpc service with it.
Nested Class Summary |
Nested classes inherited from class org.apache.axis.client.Service |
org.apache.axis.client.Service.HandlerRegistryImpl |
Field Summary |
Fields inherited from class org.apache.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.apache.axis.client.AxisClient |
getAxisClient()
Get the AxisClient engine. |
protected org.apache.axis.EngineConfiguration |
getEngineConfiguration()
Use the EngineConfigurationFinder.getClientEngineConfiguration()
to discover the client engine configuration. |
javax.xml.rpc.handler.HandlerRegistry |
getHandlerRegistry()
J2EE components should not use the getHandlerRegistry() method. |
org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping |
getJavaWsdlMapping()
|
protected org.apache.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
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 |
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.apache.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 WSDLMethod 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.ServiceException
public javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry()
public javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry()
public Remote getPort(Class seiClass) throws javax.xml.rpc.ServiceException
javax.xml.rpc.ServiceException
public Remote getPort(javax.xml.namespace.QName portName, Class seiClass) throws javax.xml.rpc.ServiceException
javax.xml.rpc.ServiceException
public 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
javax.xml.rpc.ServiceException
- If there's an errorpublic Iterator getPorts() throws javax.xml.rpc.ServiceException
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
javax.xml.rpc.ServiceException
public javax.xml.namespace.QName getServiceName()
protected org.apache.axis.client.AxisClient getAxisClient()
protected org.apache.axis.EngineConfiguration getEngineConfiguration()
EngineConfigurationFinder.getClientEngineConfiguration()
to discover the client engine configuration.
protected org.apache.axis.wsdl.gen.Parser getParser()
protected String getTargetEnpointAddress()
public void setTargetEndpointAddress(String targetEndpointAddress)
protected javax.wsdl.Port getWSDLPort(Class seiClass) throws javax.xml.rpc.ServiceException
seiClass
- 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 |