org.apache.wsif.spi
Interface WSIFProvider

All Known Implementing Classes:
ModelWSIFProvider, WSIFDynamicProvider_ApacheAxis, WSIFDynamicProvider_ApacheSOAP, WSIFDynamicProvider_BSF, WSIFDynamicProvider_EJB, WSIFDynamicProvider_Java, WSIFDynamicProvider_Jms, WSIFDynamicProvider_SoapRMI

public interface WSIFProvider

A WSIFProvider is reponsible for translating WSDL port model into a dynamic WSIF port . NOTE: providers MUST be stateless it MUST be safe to call provider methods in multiple threads.

Author:
Alekander Slominski, Owen Burroughs , Ant Elder , Jeremy Hughes , Mark Whitlock

Method Summary
 WSIFPort createDynamicWSIFPort(javax.wsdl.Definition def, javax.wsdl.Service service, javax.wsdl.Port port, WSIFDynamicTypeMap typeMap)
          For the given WSDL definition, service and port try to provide dynamic port, or return null if this provider can not do it.
 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.
 

Method Detail

createDynamicWSIFPort

WSIFPort createDynamicWSIFPort(javax.wsdl.Definition def,
                               javax.wsdl.Service service,
                               javax.wsdl.Port port,
                               WSIFDynamicTypeMap typeMap)
                               throws WSIFException
For the given WSDL definition, service and port try to provide dynamic port, or return null if this provider can not do it. It is required to pass definition and service in addition to port as in current WSDL4J it is not posssible to retrieve service to which port belongs and definition in which it was defined.

Throws:
WSIFException

getBindingNamespaceURIs

java.lang.String[] getBindingNamespaceURIs()
Returns the WSDL namespace URIs of any bindings this provider supports. The assumtion is made that the provider supports all combintations of binding and address namespaces returned by this and the getAddressNamespaceURIs method.

Returns:
an array of all binding namespaces supported by this provider

getAddressNamespaceURIs

java.lang.String[] getAddressNamespaceURIs()
Returns the WSDL namespace URIs of any port addresses this provider supports. The assumtion is made that the provider supports all combintations of binding and address namespaces returned by this and the getBindingNamespaceURIs method.

Returns:
an array of all address namespaces supported by this provider


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.