Hi,

I am having a problem using a marshaler with the http soap consumer
component. In my case the marshaler is not working, though the XSD specifies
the possibility
(http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/servicemix/servicemix-http/3.2.1/servicemix-http-3.2.1.xsd).

My xbean.xml looks like this:

<http:soap-consumer service="stt:httplistener"
        endpoint="listenerEndpoint" locationURI="http://0.0.0.0:5027/stt/";
        defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
        targetService="stt:soapCallHandler"
        marshaler="#marshaler"
        wsdl="classpath:schemas/wsdl/soapxmlinterfaceproxy.wsdl" />
                
        <bean id="marshaler"
        class="com.test.HTTPMarshaler" />

And the HTTPMarshaler extends SerializedMarshaler and only implements the
createExchange method. I am trying to retrieving the remoteAddress from the
HttpServletRequest and the X-Forwarded-For header (if available) for each
SOAP request. I thought this could be done using a soap consumer with a
marshaler. Is there any other way of doing this? Why does is the marshaler
not called or am I using the wrong component?

Thanks,

Jeroen
-- 
View this message in context: 
http://www.nabble.com/HTTP-SOAP-Consumer-Marshaler-tp16198342s12049p16198342.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to