ucar.ncx.soap
Class NcxSoapRpcService

java.lang.Object
  |
  +--ucar.ncx.soap.NcxSoapRpcService

public class NcxSoapRpcService
extends java.lang.Object

Apache SOAP-RPC web service for netcdf to xml transformation. The service must be deployed to the Apache-SOAP middleware on the server with an appropriate deployment descriptor file (see later), and it can then be invoked by sending the RPC SOAP call to the URL: http://host:port/soap/servlet/rpcrouter (with the call specifying the corresponding service-id and remote method to invoke) The deployment descriptor file for this service has the form:

      <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:ncx-rpc">
          <isd:provider type="java" scope="Application" methods="ncx">
             <isd:java class="ucar.ncx.soap.NcxSoapRpcService"/>
          </isd:provider>
          <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
      </isd:service>
 


Constructor Summary
NcxSoapRpcService()
           
 
Method Summary
 org.w3c.dom.Element ncx(java.lang.String netcdfURL, boolean flag)
          Remotely callable method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NcxSoapRpcService

public NcxSoapRpcService()
Method Detail

ncx

public org.w3c.dom.Element ncx(java.lang.String netcdfURL,
                               boolean flag)
                        throws org.apache.soap.SOAPException
Remotely callable method

Parameters:
netcdfURL - URL of netcdf file to be processed
flag - turns on netcdf conventions
Returns:
the root DOM element of the returned xml document
Throws:
SOAPException