|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.base.WSIFClientProxy
public class WSIFClientProxy
WSIFClientProxy is a dynamic proxy (or stub) used by the WSIFServiceImpl when the application is using the stubs to invoke the web service. A WSIFClientProxy is created using the static newInstance method. A WSIFClientProxy dynamically implements exactly one interface passed by the application. This class invokes the web service using the WSIFOperation and WSIFPort interfaces and so is independent of any provider implementation. Operation overloading is supported.
Method Summary | |
---|---|
java.lang.String |
deep()
|
java.lang.Object |
getProxy()
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invoke a user method. |
static WSIFClientProxy |
newInstance(java.lang.Class iface,
javax.wsdl.Definition def,
java.lang.String serviceNS,
java.lang.String serviceName,
java.lang.String portTypeNS,
java.lang.String portTypeName,
WSIFDynamicTypeMap typeMap)
Factory method to create a new dynamic proxy. |
void |
setPort(WSIFPort wsifport)
Select which port to use for this proxy. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WSIFClientProxy newInstance(java.lang.Class iface, javax.wsdl.Definition def, java.lang.String serviceNS, java.lang.String serviceName, java.lang.String portTypeNS, java.lang.String portTypeName, WSIFDynamicTypeMap typeMap) throws WSIFException
iface
- the user interface that is to be dynamically implementeddef
- the WSDL definitionserviceNS
- WSDL service namespaceserviceName
- WSDL service nameportTypeNS
- WSDL port type namespaceportTypeName
- WSDL port type nametypeMap
- table of mappings between XML and Java types
WSIFException
public java.lang.Object getProxy()
public void setPort(WSIFPort wsifport)
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
java.lang.Throwable
public java.lang.String deep()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |