org.mule.providers.soap.axis.extensions
Class WSDDFileProvider

java.lang.Object
  extended byFileProvider
      extended byorg.mule.providers.soap.axis.extensions.WSDDFileProvider

public class WSDDFileProvider
extends FileProvider

Override the File provider to stop exceptions being thrown in Axis if the service does not exist. Mule adds services after the WSDD has been loaded.

Version:
$Revision: 3798 $
Author:
Ross Mason
See Also:
Serialized Form

Constructor Summary
WSDDFileProvider(String filename)
          Constructor which accesses a file in the current directory of the engine or at an absolute path.
WSDDFileProvider(String basepath, String filename)
          Constructor which accesses a file relative to a specific base path.
 
Method Summary
 SOAPService getService(QName qname)
          retrieve an instance of the named service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDDFileProvider

public WSDDFileProvider(String filename)
Constructor which accesses a file in the current directory of the engine or at an absolute path.


WSDDFileProvider

public WSDDFileProvider(String basepath,
                        String filename)
                 throws ConfigurationException
Constructor which accesses a file relative to a specific base path.

Method Detail

getService

public SOAPService getService(QName qname)
                       throws ConfigurationException
retrieve an instance of the named service

Parameters:
qname - the name of the service
Returns:
the service object or null if it doesn't exist
Throws:
org.apache.axis.ConfigurationException
ConfigurationException


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.