ucar.ncx.soap
Class NcxSoapMessageService
java.lang.Object
|
+--ucar.ncx.soap.NcxSoapMessageService
- public class NcxSoapMessageService
- extends java.lang.Object
Apache SOAP messaging 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 request message to a URL of the form
http://host:port/soap/servlet/messagerouter.
The request message (wrapped within the SOAP envelope) has the form:
<ncx xmlns="urn:ncx-message" url="........" flag="....."/>
- The root tag ncx corresponds to the service method invoked
- The namespace urn:ncx-message corresponds to the id assigned to the service at deployment time
- the URL of the netcdf file to be processed
- a boolean flag (true or false) indicating wether or not specific netcdf conventions should be used
The response message (not wrapped within the SOAP envelope) contains the extracted metadata in XML format
The deployment descriptor file for this service has the form:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" id="urn:ncx-message" type="message">
<isd:provider type="java" scope="Application" methods="ncx">
<isd:java class="ucar.ncx.soap.NcxSoapMessageService"/>
</isd:provider>
<isd:faultListener>
org.apache.soap.server.DOMFaultListener
</isd:faultListener>
</isd:service>
|
Method Summary |
void |
ncx(org.apache.soap.Envelope requestEnvelope,
org.apache.soap.rpc.SOAPContext requestContext,
org.apache.soap.rpc.SOAPContext responseContext)
This method will process xml documents with root tag "ncx" |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NcxSoapMessageService
public NcxSoapMessageService()
ncx
public void ncx(org.apache.soap.Envelope requestEnvelope,
org.apache.soap.rpc.SOAPContext requestContext,
org.apache.soap.rpc.SOAPContext responseContext)
throws org.apache.soap.SOAPException
- This method will process xml documents with root tag "ncx"
- Parameters:
requestEnvelope - required by Apache-SOAP message routing middlewarerequestContext - required by Apache-SOAP message routing middlewareresponseContext - required by Apache-SOAP message routing middleware
- Throws:
org.apache.soap.SOAPException