|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ucar.ncx.soap.NcxSoapMessageRequestFactory
Utility class used to build (client side) or process (server side) a SOAP Envelope containing the XML-encoded request for netcdf to xml transformation. The xml request message has the form:
<ncx xmlns="urn:ncx-message" url="........" flag="....."/>and it is wrapped within the SOAP envelope. This class has methods for both Apache-SOAP and JAXM APIs.
| Constructor Summary | |
NcxSoapMessageRequestFactory()
No argument constructor |
|
| Method Summary | |
org.apache.soap.Envelope |
buildEnvelope(java.lang.String netcdfURL,
boolean flag)
Method to build a SOAP Envelope (as an Apache-SOAP Envelope object) containing the XML-encoded request information |
javax.xml.soap.SOAPMessage |
buildSOAPMessage(java.lang.String netcdfURL,
boolean flag)
Method to build a SOAP Message (as a JAXM SOAPMessage object) containing the XML-encoded request information |
boolean |
getFlag()
Method to access the flag value extracted from the request SOAP message. |
java.lang.String |
getURL()
Method to access the url value extracted from the request SOAP message. |
void |
processEnvelope(org.apache.soap.Envelope requestEnvelope)
Method to process an incoming SOAP envelope (as an Apache-SOAP Envelope object) containig a netcdf to xml transformation request. |
void |
processSOAPMessage(javax.xml.soap.SOAPMessage message)
Method to process an incoming SOAP message (as a JAXM SOAPMessage object) containig a netcdf to xml transformation request. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NcxSoapMessageRequestFactory()
| Method Detail |
public org.apache.soap.Envelope buildEnvelope(java.lang.String netcdfURL,
boolean flag)
throws org.xml.sax.SAXException,
java.io.IOException
netcdfURL - URL of netcdf file to be processedflag - 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
org.xml.sax.SAXException
java.io.IOException
public javax.xml.soap.SOAPMessage buildSOAPMessage(java.lang.String netcdfURL,
boolean flag)
throws javax.xml.soap.SOAPException
netcdfURL - URL of netcdf file to be processedflag - 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
javax.xml.soap.SOAPExceptionpublic void processEnvelope(org.apache.soap.Envelope requestEnvelope)
requestEnvelope - the Apache-SOAP Envelope containing the request parameters
public void processSOAPMessage(javax.xml.soap.SOAPMessage message)
throws javax.xml.soap.SOAPException
message - the JAXM incoming message containing the request parameters
javax.xml.soap.SOAPExceptionpublic java.lang.String getURL()
public boolean getFlag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||