@Deprecated public class WSProxyService extends Object implements Callable, ServiceAware, Initialisable
Modifier and Type | Field and Description |
---|---|
protected static Log |
logger
Deprecated.
|
PHASE_NAME
Constructor and Description |
---|
WSProxyService()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getWsdlEndpoint()
Deprecated.
|
String |
getWsdlFile()
Deprecated.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
protected boolean |
isInitialized()
Deprecated.
|
Object |
onCall(MuleEventContext eventContext)
Deprecated.
Passes the event to the listener
|
void |
setService(Service service)
Deprecated.
|
void |
setWsdlEndpoint(String urlWsdl)
Deprecated.
|
void |
setWsdlFile(String wsdlFile)
Deprecated.
|
protected static transient Log logger
public String getWsdlEndpoint()
public void setWsdlEndpoint(String urlWsdl)
urlWsdl
- Sets the property urlWsdl (the url of the WSDL of the web
service)public String getWsdlFile()
public void setWsdlFile(String wsdlFile)
wsdlFile
- sets the location of the local wsdl fileprotected boolean isInitialized()
public Object onCall(MuleEventContext eventContext) throws Exception
Callable
onCall
in interface Callable
eventContext
- the context of the current event being processLifecycleAdapter
for the service receives this
object it will first see if the Object is an MuleMessage
if not and the Object is not null a new message will be created using
the returned object as the payload. This new event will then get
published via the configured outbound router if-
setStopFurtherProcessing(true)
wasn't called
on the event context event.Exception
- if the event fails to process properly. If exceptions aren't
handled by the implementation they will be handled by the
exceptionListener associated with the servicepublic void setService(Service service)
setService
in interface ServiceAware
public void initialise() throws InitialisationException
Initialisable
InitialisationException
should be thrown,
causing the Mule instance to shutdown. If the error is recoverable, say by
retrying to connect, a RecoverableException
should be thrown.
There is no guarantee that by throwing a Recoverable exception that the Mule
instance will not shut down.initialise
in interface Initialisable
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.