You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Ewgeny <a3...@drdrb.com> on 2013/09/30 14:59:29 UTC
ReplyTo outbound message is not sent
Hello CXF-Users,
I have got some problems with the cxf-ReplyTo-function using addressing und
security functionality.
An automatically generated CXF-Server (Eclipse: wsdl2java) is working well
for inbound messages.
Since the SOAP-message contains a ReplyTo-part, the outbound-Message should
be send by server synchronously to the ReplyTo-address.
(The reponse message should not necesserily contain a security part).
I am using Eclipse (Juno Service Release 2) with TCP/IP-Monitor to check
localhost (f.e. on port 9201) if the message is going out or not.
(replyto="http://localhost:9201/test").
I already tried to add some interceptors as described here
<http://proyecto-grado-masi.googlecode.com/svn/fuentes/trunk/loanbroker/facturation-service-consumer-cxf-bc-su/src/main/java/org/proyecto/caso/loanbroker/wsa/interceptor/ReplyToWSAInterceptor.java>
and here
<http://stackoverflow.com/questions/6915428/how-to-modify-the-raw-xml-message-of-an-outbound-cxf-request.
>
The result was that the "payload" was modified, but not the address for the
outgoing message.Is there anything that should be configured in advance? Is
there a thinking error?
Thanks for your reply.
Here is the SOAP-message:
cxf-beans.xml:
web.xml:
Maybe it is also a problem that the outbound message does not contain the
"Address:"-Attribute..?
Thanks a lot.
Ewgeny
--
View this message in context: http://cxf.547215.n5.nabble.com/ReplyTo-outbound-message-is-not-sent-tp5734623.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: ReplyTo outbound message is not sent
Posted by Daniel Kulp <dk...@apache.org>.
Why do you have the
<wsa:addressing xmlns:wsa="http://www.w3.org/2005/08/addressing" allowDuplicates="false" usingAddressingAdvisory="true"/>
thing commented out? If you are using WS-Addressing (which is what the Reply-To involves), you need to have the whole thing.
Dan
On Sep 30, 2013, at 8:59 AM, Ewgeny <a3...@drdrb.com> wrote:
> Hello CXF-Users,
>
> I have got some problems with the cxf-ReplyTo-function using addressing und
> security functionality.
>
> An automatically generated CXF-Server (Eclipse: wsdl2java) is working well
> for inbound messages.
> Since the SOAP-message contains a ReplyTo-part, the outbound-Message should
> be send by server synchronously to the ReplyTo-address.
> (The reponse message should not necesserily contain a security part).
>
> I am using Eclipse (Juno Service Release 2) with TCP/IP-Monitor to check
> localhost (f.e. on port 9201) if the message is going out or not.
> (replyto="http://localhost:9201/test").
>
> I already tried to add some interceptors as described here
> <http://proyecto-grado-masi.googlecode.com/svn/fuentes/trunk/loanbroker/facturation-service-consumer-cxf-bc-su/src/main/java/org/proyecto/caso/loanbroker/wsa/interceptor/ReplyToWSAInterceptor.java>
> and here
> <http://stackoverflow.com/questions/6915428/how-to-modify-the-raw-xml-message-of-an-outbound-cxf-request.
>>
>
> The result was that the "payload" was modified, but not the address for the
> outgoing message.Is there anything that should be configured in advance? Is
> there a thinking error?
>
> Thanks for your reply.
>
> Here is the SOAP-message:
> cxf-beans.xml:
> web.xml:
> Maybe it is also a problem that the outbound message does not contain the
> "Address:"-Attribute..?
>
>
>
> Thanks a lot.
>
> Ewgeny
>
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/ReplyTo-outbound-message-is-not-sent-tp5734623.html
> Sent from the cxf-user mailing list archive at Nabble.com.
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com