Hi Guillaume,

Guillaume Nodet schrieb:
> What do you mean exactly ?
on the client side I do a http POST to send a message. http-consumer is
configured to use a custom marshaler (see below). It passes the message
on to another component, which sends a reply as well. However, this
reply never gets back to the client. None of the sendXXX methods on the
marshaler are ever called. If I'm not mistaken, they should be and the
client should also receive a message in response.

Just to let you know about the background:
I tried this in order to avoid routing of messages based on
WS-Addressing header inside incoming SOAP messages. If there's another
way of getting around this and route different WS-Addressing Actions to
the same component, I'd be more than happy to follow that path. Let me
know if there's an easy way to ignore WS-Addressing headers in SOAP
messages. The WSRF spec. requires different wsa:Action for different
message exchanges. wsa:Action is mapped to interfaces by ServiceMix.
Could a single component support multiple interfaces? If so, how?


Kind regards,

Björn


######### Activation spec for http-consumer using custom marshaler #####

<sm:activationSpec>
        <sm:component>
          <http:component>
            <http:endpoints>
              <http:consumer service="aware-test:http" endpoint="http"
                id="http"
                locationURI="http://localhost:8192/services/ASB";
                defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                targetService="aware-test:wsrf">
                <marshaler>
                  <bean id="HttpWSRFSoapConsumerMarshaler"
class="org.aware.test.component.HttpWSRFSoapConsumerMarshaler" />
                </marshaler>
              </http:consumer>
            </http:endpoints>
          </http:component>
        </sm:component>
      </sm:activationSpec>
> This work is still in progress, but the consumer side should work.
> 
> On 3/19/07, Björn Hagemeier <[EMAIL PROTECTED]> wrote:
>>
>> Hi there,
>>
>> I implemented a HttpConsumerMarshaler and use it with the http-consumer
>> component. The createExchange method of the marshaler is used as
>> expected, however the sendOut and other sendXXX methods are not. Does
>> anyone have any idea about why this may be? Do I have to do more than
>> implementing the interface and set it as a marshaler for the consumer
>> component?
>>
>>
>> Kind regards,
>>
>> Björn
>> -- 
>> Björn Hagemeier
>>
>> Division "Distributed Systems and Grid Computing"
>>
>> Central Institute for Applied Mathematics
>> Forschungszentrum Jülich GmbH
>> D-52425 Jülich
>> Germany
>>
>> +49 2461 61 1584
>> +49 2461 61 6656
>> [EMAIL PROTECTED]
>> Skype: bhagemeier
>>
>>
> 
> 


-- 
Björn Hagemeier

Division "Distributed Systems and Grid Computing"

Central Institute for Applied Mathematics
Forschungszentrum Jülich GmbH
D-52425 Jülich
Germany

+49 2461 61 1584
+49 2461 61 6656
[EMAIL PROTECTED]
Skype: bhagemeier

Reply via email to