org.jboss.wise.core.client
Interface WSDynamicClient

All Known Implementing Classes:
WSDynamicClientImpl

@ThreadSafe
public interface WSDynamicClient

This is the Wise core class responsible to invoke the JAX-WS tools that handles wsdl retrieval & parsing. It is used to build the list of WSService representing the serices availabe in parsed wsdl.

Author:
Stefano Maestri, stefano.maestri@javalinux.it

Method Summary
 java.net.URLClassLoader getClassLoader()
           
 WSMethod getWSMethod(java.lang.String serviceName, java.lang.String portName, java.lang.String actionName)
          It return directly the method to invoke the specified action on specified port of specified service.
 java.util.Map<java.lang.String,WSService> processServices()
          Create the services' map and gives it back.
 

Method Detail

processServices

java.util.Map<java.lang.String,WSService> processServices()
                                                          throws java.lang.IllegalStateException
Create the services' map and gives it back.

Returns:
The Map of WSEndpoint with symbolic names as keys
Throws:
java.lang.IllegalStateException - thrown if method can't process or load generated classes to find a service

getClassLoader

java.net.URLClassLoader getClassLoader()
Returns:
The classLoader used to load generated class.

getWSMethod

WSMethod getWSMethod(java.lang.String serviceName,
                     java.lang.String portName,
                     java.lang.String actionName)
It return directly the method to invoke the specified action on specified port of specified service. It is the base method for "one line of code invocation" (see "Wise-core Programmers guide" for more information)

Parameters:
serviceName -
portName -
actionName -
Returns:
the WSMethod class to use for effective service invocation