JBoss Wise API

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 services available in parsed wsdl.

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

Method Summary
 void close()
           
 java.net.URLClassLoader getClassLoader()
           
 org.milyn.Smooks getSmooksInstance()
           
 EnablerDelegate getWSExtensionEnablerDelegate()
           
 WSMethod getWSMethod(java.lang.String serviceName, java.lang.String portName, java.lang.String operationName)
          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. Useful when Wise is used for interactive explore and invoke a service.

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 operationName)
                     throws ResourceNotAvailableException
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 -
operationName -
Returns:
the WSMethod class to use for effective service invocation
Throws:
ResourceNotAvailableException - when the specified service, port or operation can not be found

getWSExtensionEnablerDelegate

EnablerDelegate getWSExtensionEnablerDelegate()
Returns:
the EnablerDelegate used to enable the WS-* for all endpoint attached all serivices attached to this WSDynamicClient.

getSmooksInstance

org.milyn.Smooks getSmooksInstance()
Returns:
the single smooks instance attached to this WSDynamicClient

close

void close()

JBoss Wise API

Copyright © 2008-2009 Jboss.org. All Rights Reserved.