psdi.iface.router

Class WebServiceHandler

  • All Implemented Interfaces:
    RouterHandler


    public class WebServiceHandler
    extends BaseRouterHandler
    This handler is for Webservice invocation. Doc-literal style WS-I Basic Profile 1.0 Webservice invocation is supported. Webservice can be hosted in any kind of J2EE based server. This Class Implements RouterHandler Interface.
    • Constructor Detail

      • WebServiceHandler

        public WebServiceHandler()
      • WebServiceHandler

        public WebServiceHandler(MaxEndPointInfo endPointInfo)
    • Method Detail

      • getProperty

        public static java.lang.String getProperty(java.lang.String propName)
      • invoke

        public byte[] invoke(java.util.Map metaData,
                             byte[] data)
                      throws MXException
        Sends data to a given url which is specified in 'destinationMap' HashMap.
        Specified by:
        invoke in interface RouterHandler
        Overrides:
        invoke in class BaseRouterHandler
        Parameters:
        metaData - meta data for the endpoint for this invocation
        data - the xml transaction in byte array
        Returns:
        the Bidi transformed data to be collected and used by the descendant classes
        Throws:
        MXException - if there's a problem in opening the connection, writing to the connection, reading from the connection
        See Also:
        RouterHandler.invoke(java.util.Map, byte[])
      • getProperties

        public java.util.List getProperties()
        Returns:
        the List of supported properties.