|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.module.cxf.WSProxyService
@Deprecated public class WSProxyService
This class is implemented to act as a Proxy for a Web Service. It listens for requests on the inbound endpoint and if it encounters the "WSDL" property in the address, it will fetch the WSDL from the original web service and return it back. In case the wsdlFile property is set, when the WSProxyService encounters a request for the wsdl, instead of fetching the WSDL from the original web service, it will return back the file expressed in the property. When a normal SOAP request is encountered, it will forward the call to the web service with no modifications to the SOAP message. The outbound router of this class must include the address of the webservice to be proxied. No need to include the method name as a parameter in the address, since it will be in the SOAP message as well. Furthermore a property named uriWsdl can optionally be set which as the name suggests, indicate the URL of the WSDL for the service. If this property is not set, the address of the WSDL will be assumed to be the value of uriWebservice followed by "?WSDL". It is important to note that both urls' of the webservice to be proxied and the WSDL address must contain no cxf or axis endpoints, just plain http endpoints. Even the inbound endpoint of the WSProxyService must be residing on an http protocol (with no cxf or axis).
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
logger
Deprecated. |
| Fields inherited from interface org.mule.api.lifecycle.Initialisable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
WSProxyService()
Deprecated. |
|
| Method Summary | |
|---|---|
String |
getWsdlEndpoint()
Deprecated. |
String |
getWsdlFile()
Deprecated. |
void |
initialise()
Deprecated. |
protected boolean |
isInitialized()
Deprecated. |
Object |
onCall(org.mule.api.MuleEventContext eventContext)
Deprecated. |
void |
setService(org.mule.api.service.Service service)
Deprecated. |
void |
setWsdlEndpoint(String urlWsdl)
Deprecated. |
void |
setWsdlFile(String wsdlFile)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static transient org.apache.commons.logging.Log logger
| Constructor Detail |
|---|
public WSProxyService()
| Method Detail |
|---|
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(org.mule.api.MuleEventContext eventContext)
throws Exception
onCall in interface org.mule.api.lifecycle.CallableExceptionpublic void setService(org.mule.api.service.Service service)
setService in interface org.mule.api.service.ServiceAware
public void initialise()
throws org.mule.api.lifecycle.InitialisationException
initialise in interface org.mule.api.lifecycle.Initialisableorg.mule.api.lifecycle.InitialisationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||