Greetings, I currently use a handler to do some stuff to the request and
response and I wanted to know if it was possible to have it so that one
object would be doing both. I have the configuration pasted below and
you will see that I have to create 2 instance of ContentCryptoHandler in
my HTTP protocol config and I would rahter have just one. Any way to do
that ?

TIA

<?xml version="1.0" encoding="UTF-8"?>

<deployment xmlns="http://xml.apache.org/axis/wsdd/";
    xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
    <globalConfiguration>
        <parameter name="adminPassword" value="nimda"/>
        <parameter name="attachments.Directory"
value="C:\temp\MobileLDAP\attachments"/>
        <parameter name="disablePrettyXML" value="true"/>
        <parameter name="attachments.implementation"
            value="org.apache.axis.attachments.AttachmentsImpl"/>
        <parameter name="sendXsiTypes" value="true"/>
        <parameter name="sendMultiRefs" value="true"/>
        <parameter name="sendXMLDeclaration" value="true"/>
    </globalConfiguration>
    <handler name="LocalResponder"
        type="java:org.apache.axis.transport.local.LocalResponder"/>
    <handler name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/>
    <handler name="Authenticate"
        type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
    <service name="Version" provider="java:RPC">
        <parameter name="allowedMethods" value="getVersion"/>
        <parameter name="className" value="org.apache.axis.Version"/>
    </service>
    <service name="MobileLDAP" provider="java:RPC" style="wrapped"
use="literal">
        <documentation>Provides Mobile Access to LDAP.</documentation>
        <parameter name="allowedMethods" value="getSimpleSearchFilter,
searchForContacts"/>
        <parameter name="className"
value="com.jambit.mobileLDAP.WSMobileLDAP"/>
        <parameter name="scope" value="session"/>
        <beanMapping
languageSpecificType="java:com.jambit.mobileLDAP.Contact"
            qname="ns1:Contact" xmlns:ns1="urn:com.jambit.MobileLDAP"/>
        <namespace>urn:com.jambit.MobileLDAP</namespace>
    </service>
    <transport name="http">
        <requestFlow>
            <handler type="URLMapper"/>
            <handler
type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
            <handler
type="java:com.jambit.axis.handlers.ContentCryptoHandler"/>
        </requestFlow>
        <responseFlow>
            <handler
type="java:com.jambit.axis.handlers.ContentCryptoHandler"/>
        </responseFlow>
        <parameter name="qs:list"
value="org.apache.axis.transport.http.QSListHandler"/>
        <parameter name="qs:wsdl"
value="org.apache.axis.transport.http.QSWSDLHandler"/>
        <parameter name="qs.list"
value="org.apache.axis.transport.http.QSListHandler"/>
        <parameter name="qs.method"
value="org.apache.axis.transport.http.QSMethodHandler"/>
        <parameter name="qs:method"
value="org.apache.axis.transport.http.QSMethodHandler"/>
        <parameter name="qs.wsdl"
value="org.apache.axis.transport.http.QSWSDLHandler"/>
    </transport>
    <transport name="local">
        <responseFlow>
            <handler type="LocalResponder"/>
        </responseFlow>
    </transport>
</deployment>


begin:vcard
fn:Robert Simmons Jr
n:Simmons Jr;Robert
org:jambit GmbH
adr;quoted-printable:;;R=C3=B6ntgenstrasse 7;Martinsried;;82152;Germany
email;internet:[EMAIL PROTECTED]
title:Senior Software Architect / Consultant
note:Author: "Hardcore Java", O'Reilly and Associates, (2004) http://www.oreilly.com/catalog/hardcorejv/index.html
x-mozilla-html:TRUE
url:http://www.jambit.com
version:2.1
end:vcard

Reply via email to