|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectaxis.dynamic.SoapInterface
axis.dynamic.SoapReceiver
public class SoapReceiver
Publishes a bean as a web service.
Field Summary |
---|
Fields inherited from class axis.dynamic.SoapInterface |
---|
_properties |
Constructor Summary | |
---|---|
SoapReceiver()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
calls deploy()
should only be called once for each configured SoapReceiver. |
org.apache.axis.handlers.soap.SOAPService |
createService()
|
void |
deploy()
should only be called once for each configured SoapReceiver. |
void |
destroy()
calls undeploy() |
void |
setAllowedMethods(String[] methods)
Java methods to be published as web service operations. |
void |
setBeanName(String name)
used as default service name. may be overridden by setting the serviceName property. |
void |
setServerConfiguration(SoapServerConfiguration configuration)
|
void |
setServiceName(String name)
service name. if not set, bean name is used. if that is also not set, deploy()
will throw an IllegalArgumentException . |
void |
setStyle(org.apache.axis.constants.Style style)
if not set, defaults to Style.RPC . |
void |
setTarget(Object target)
|
void |
setUse(org.apache.axis.constants.Use use)
if not set, defaults to Use.ENCODED . |
void |
undeploy()
|
Methods inherited from class axis.dynamic.SoapInterface |
---|
addRequestHandler, addResponseHandler, getRequestChain, getResponseChain, setProperty, setRequestHandlers, setResponseHandlers, setSendMultiRefs, setSendXsiTypes, setUsePrettyXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SoapReceiver()
Method Detail |
---|
public void setTarget(Object target)
target
- bean that actually implements the web service.public void setBeanName(String name)
name
- BeanNameAware#setBeanName(String)
public void setServiceName(String name)
deploy()
will throw an IllegalArgumentException
.
name
- BeanNameAware#setBeanName(String)
public void setAllowedMethods(String[] methods)
Object.toString()
etc. See Axis documentation.
methods
- Java methods to be published as web service operations.public void setStyle(org.apache.axis.constants.Style style)
Style.RPC
.
setStyle
in class SoapInterface
style
- SoapInterface.setStyle(Style)
,
JavaServiceDesc.setStyle(Style)
public void setUse(org.apache.axis.constants.Use use)
Use.ENCODED
.
setUse
in class SoapInterface
use
- SoapInterface.setUse(Use)
,
JavaServiceDesc.setUse(Use)
public void setServerConfiguration(SoapServerConfiguration configuration)
configuration
- public void afterPropertiesSet() throws org.apache.axis.AxisFault
deploy()
should only be called once for each configured SoapReceiver.
org.apache.axis.AxisFault
- if service cannot be createdInitializingBean#afterPropertiesSet()
public void deploy() throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
- if service cannot be createdpublic void destroy()
undeploy()
DisposableBean#destroy()
public void undeploy()
public org.apache.axis.handlers.soap.SOAPService createService() throws org.apache.axis.AxisFault
org.apache.axis.AxisFault
- if service description cannot be initializedWSDDService.makeNewInstance(org.apache.axis.EngineConfiguration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |