MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.query.webservice
Class WSDLHandler

java.lang.Object
  extended by ch.ethz.mxquery.query.webservice.WSDLHandler

public final class WSDLHandler
extends java.lang.Object

Class to parse a WSDL document and to add the resulting WebService methods into the Function Gallery.


Constructor Summary
WSDLHandler(java.lang.String wsdlParserUrl)
          Constructor.
 
Method Summary
 void run(Context runtime, Namespace namespace, java.lang.String serviceName, java.lang.String endpointName, QueryLocation loc, CompilerOptions co)
          Starts the generating
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLHandler

public WSDLHandler(java.lang.String wsdlParserUrl)
Constructor.

Parameters:
wsdlParserUrl - URL of the WSDL file
TODO: make it also possible with a URI!
Method Detail

run

public void run(Context runtime,
                Namespace namespace,
                java.lang.String serviceName,
                java.lang.String endpointName,
                QueryLocation loc,
                CompilerOptions co)
         throws MXQueryException
Starts the generating

Parameters:
runtime - Runtime where the WebService functions are added.
namespace - namespace of the imported service (might be null)
Throws:
MXQueryException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich