On Fri, Mar 21, 2008 at 8:30 AM, ninckblokje
<[EMAIL PROTECTED]> wrote:
>
>  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?

This is a known issue and I've filed a bug for it:

https://issues.apache.org/activemq/browse/SM-1293

Bruce
-- 
perl -e 'print unpack("u30","D0G)[EMAIL 
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/

Blog: http://bruceblog.org/

Reply via email to