RequestHandler handler = new RequestHandler();
RequestHandler handler = new RequestHandler(ds);
    public Message dispatchMessage(InputStream in)        throws MessageDispatcherException {        try {            // first verify message            Document doc = documentBuilder.parse(in);            SignatureManagerResponse result = signatureManager.verifyDocument(doc);            // ok, document verified (otherwise an exception would have been thrown)            doc = result.document;            // most unfortunately, the current Axis API doesn't have a way to create a            // Message from a Document object... so we have to output it and then re-parse it... sigh            ByteArrayOutputStream out = new ByteArrayOutputStream();            xmlSerializer.setOutputByteStream(out);            xmlSerializer.serialize(doc);            SOAPEnvelope env = new SOAPEnvelope(new ByteArrayInputStream(out.toByteArray()));            Message msg = new Message(env, true);            RequestHandler handler = new RequestHandler();            DiscusCredential credential = new DiscusCredential();            credential.setServiceSpaceId(1);            Message response = handler.invoke(msg, credential);            response.writeContentToStream(System.out);            return response;        } catch (Exception e) {            e.printStackTrace();            throw new MessageDispatcherException(e);        }    }