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 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>
 


Constructor Summary
NcxSoapMessageService()
           
 
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
 

Constructor Detail

NcxSoapMessageService

public NcxSoapMessageService()
Method Detail

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 middleware
requestContext - required by Apache-SOAP message routing middleware
responseContext - required by Apache-SOAP message routing middleware
Throws:
org.apache.soap.SOAPException