ucar.ncx.soap
Class NcxSoapMessageClient

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

public class NcxSoapMessageClient
extends java.lang.Object

Core SOAP/HTTP messaging client for netcdf to xml transformation.


Constructor Summary
NcxSoapMessageClient()
          No argument constructor
 
Method Summary
 org.jdom.Document soapMessage(java.lang.String serviceURL, java.lang.String netcdfURL, boolean flag)
          Method to build and send the request SOAP message and obtain the returned XML document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NcxSoapMessageClient

public NcxSoapMessageClient()
No argument constructor

Method Detail

soapMessage

public org.jdom.Document soapMessage(java.lang.String serviceURL,
                                     java.lang.String netcdfURL,
                                     boolean flag)
                              throws org.apache.soap.SOAPException,
                                     java.net.MalformedURLException,
                                     org.xml.sax.SAXException,
                                     org.jdom.JDOMException,
                                     java.io.IOException
Method to build and send the request SOAP message and obtain the returned XML document. It relies on the Apache-SOAP package to build the SOAP request message (details of the message actual content are contained in the class NcxSoapMessageRequestFactory)

Parameters:
netcdfURL - URL of netcdf file to be processed
serviceURL - URL of SOAP service processing the request (messagerouter or servlet)
flag - flag set to false to use only generic netcdf schema (http://www.ucar.edu/schemas/netcdf), or true to use specific netcdf schemas as identified by the global attribute "conventions" in the netcdf file
Throws:
MalformedURLException
org.apache.soap.SOAPException
SAXException
JDOMException
java.io.IOException