Howto change Axis server-config.wsdd sothat we don't expect a SOAPAction

Posted by GKForcare on Server Fault See other posts from Server Fault or by GKForcare
Published on 2010-06-18T11:50:14Z Indexed on 2010/06/18 11:54 UTC
Read the original article Hit count: 281

Filed under:
|
|

The problem I'm facing is that the client of my service will never send me a SOAPAction header.

How can I tell Axis to still map to the incomming call to my service implementation anyway. I did bump into tricks like adding a Handler like this:

<handler name="ReportMapper" type="java:com.mycompany.project.ReportMapper"/>

<transport name="http">
    <requestFlow>
        <handler type="ReportMapper"/>
        <handler type="URLMapper"/>
        <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
    </requestFlow>
    <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>

© Server Fault or respective owner

Related posts about header

Related posts about soap