|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.wsif.providers.java.WSIFDynamicProvider_Java
Java specific provider of dynamic WSDL invocations.
The WSIF Java Provider allows WSIF to invoke Java classes and JavaBeans. This is designed to allow customers in a 'thin-client' environment such as a JVM or Tomcat test runtime to define 'shortcuts' to local Java code.
The Java binding exploits the format binding for type mapping. The format binding allows WSDL to define the mapping between XML Schema types and Java types.
The Java provider requires the targeted Java classes to be in the classpath of the client. The Java method is invoked synchronously, in-process, in-thread, with the current thread and ORB contexts. The Java provider is not transactional.
The binding extends WSDL with the following extensibility elements:
<definitions .... > <!-- Java binding --> <binding ... > <java:binding/> <format:typeMapping style="uri" encoding="..."/>? <format:typeMap name="qname" formatType="nmtoken"/>* </format:typeMapping> <operation>* <java:operation method="nmtoken" parameterOrder="nmtoken"? methodType="instance|static|constructor"? returnPart="nmtoken"? />? <input name="nmtoken"? />? <output name="nmtoken"? />? <fault name="nmtoken"? />? </operation> </binding> <service ... > <port>* <java:address class="nmtoken" archive="uri"? classloader="nmtoken"? /> </port> </service> </definitions>
Constructor Summary | |
---|---|
WSIFDynamicProvider_Java()
|
Method Summary | |
---|---|
WSIFPort |
createDynamicWSIFPort(javax.wsdl.Definition def,
javax.wsdl.Service service,
javax.wsdl.Port port,
WSIFDynamicTypeMap typeMap)
Check if WSDL port has Java binding and if successful try to create Java port instance. |
java.lang.String[] |
getAddressNamespaceURIs()
Returns the WSDL namespace URIs of any port addresses this provider supports. |
java.lang.String[] |
getBindingNamespaceURIs()
Returns the WSDL namespace URIs of any bindings this provider supports. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WSIFDynamicProvider_Java()
Method Detail |
public WSIFPort createDynamicWSIFPort(javax.wsdl.Definition def, javax.wsdl.Service service, javax.wsdl.Port port, WSIFDynamicTypeMap typeMap) throws WSIFException
createDynamicWSIFPort
in interface WSIFProvider
public java.lang.String[] getBindingNamespaceURIs()
getBindingNamespaceURIs
in interface WSIFProvider
public java.lang.String[] getAddressNamespaceURIs()
getAddressNamespaceURIs
in interface WSIFProvider
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |